Jahia Install Forum > INSTALLING JAHIA...

0 (0 Good)
0 (0 Bad)

INSTALLING JAHIA ON MAC OS X 10.6.6

by  mortada »  2011/06/07 20:59

Hello,
I tried to install jahia on my mac, I followed the steps given on the website (http://www.jahia.org/cms/lang/en/home/Jahiapedia/Install_Jahia/Configuration#p602)
and i executed ./startup.sh from bin but i couldn't enter to /localhost/:8080 it said that it cannot connect to the server, can anybody help me please?
this is the msg from the command line while executing ./startup.sh
[*]Using CATALINA_BASE: /Users/hamidmortada/Documents/EPFL/Master/Semester Project/jahia_v6_CommunityEdition_r25203
Using CATALINA_HOME: /Users/hamidmortada/Documents/EPFL/Master/Semester Project/jahia_v6_CommunityEdition_r25203
Using CATALINA_TMPDIR: /Users/hamidmortada/Documents/EPFL/Master/Semester Project/jahia_v6_CommunityEdition_r25203/temp
Using JRE_HOME: /Library/Java/Home[*]

Thanks,
H.

  (mortada)

Number of messages  6
Registration date
0 (0 Good)
0 (0 Bad)

Re: INSTALLING JAHIA ON MAC OS X 10.6.6

by  rvt »  2011/06/07 20:59

Hello,

just to be sure, you say you tried: /localhost/:8080, but this needs to be http://localhost:8080/ (no / before the : )

Second, did you start tomcat?

Ries
  • Re: INSTALLING JAHIA ON MAC OS X 10.6.6
    2011/06/07 20:59

    rvt Hello,<br/><br/>just to be sure, you say you tried: /localhost/:8080, but this needs to be <!-- m --><a class="postlink" href="http://localhost:8080/">http://localhost:8080/</a><!-- m --> (no / before the : )<br/><br/>Second, did you start tomcat?<br/><br/>Ries

  • Number of messages  185
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: INSTALLING JAHIA ON MAC OS X 10.6.6

    by  mortada »  2011/06/07 20:59

    Hello,
    Thanks for your answer, i tried the http://.... but it didn't work either, i thought that when i execute ./startup.sh the tomcat server is launched also?isn't it the case?
    thanks for your help!
    H.

      (mortada)

    Number of messages  6
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: INSTALLING JAHIA ON MAC OS X 10.6.6

    by  shuber »  2011/06/07 20:59

    Yes that is the case.

    You can check the logs in the tomcat/logs directory to see if anything went wrong. Of interest are the following files :
    - catalina.out
    - localhost*.log

    Regards,
    Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: INSTALLING JAHIA ON MAC OS X 10.6.6

    by  mortada »  2011/06/07 20:59

    Hello, i think it's a problem of the JDK on mac, the log has errors like this:

    
    Exception in thread "main" java.lang.NoClassDefFoundError: Project/jahia_v6_CommunityEdition_r25203/conf/logging/properties
    Caused by: java.lang.ClassNotFoundException: Project.jahia_v6_CommunityEdition_r25203.conf.logging.properties
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)


    but the problem is that i'm not finding any jdk for mac to use, do you have any clue?
    thanx very much
    H

      (mortada)

    Number of messages  6
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: INSTALLING JAHIA ON MAC OS X 10.6.6

    by  shuber »  2011/06/07 20:59

    I don't think it's an SDK problem since you seem to be able to launch it, but it might be a path problem. It is not recommended to install Jahia in a path that has "spaces" in it, because unfortunately the Tomcat startup scripts don't always handle this well. Do you have spaces in the path where you've installed Jahia ?

    If you're not sure you have a full SDK for your Mac, you can also download the complete package here : 
    http://adcdownload.apple.com/Java/java_ ... 0m3261.dmg (you'll probably need a Mac developer login to download this).

    Best regards,
    Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: INSTALLING JAHIA ON MAC OS X 10.6.6

    by  mortada »  2011/06/07 20:59

    THANKS very much! i changed the path so that it has no spaces and that worked...i successfully installed it...thanx..
    cheers,
    H.

      (mortada)

    Number of messages  6
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: INSTALLING JAHIA ON MAC OS X 10.6.6

    by  shuber »  2011/06/07 20:59

    Glad to know that fixed the problem.

    Regards,
    Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page