Re: Démarage de jahia 4.1 bloc sur l'attente de firefox...

Philippe Vollenweider <[email protected]>
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
Bonjour

Si j'ai bien compris vous voulez lancer Jahia dans un contexte ROOT.
Selon votre script, c'est le fichier 
http://localhost:8080/jahia/html/startup/startjahia.html 
est utilisé par la classe TomcatWait. Il faut 
donc plutôt changer en 
http://localhost:8080/html/startup/startjahia.html 
si vous voulez tourner Jahia en contexte root, et 
éditer les fichiers html concernés (dans 
webapps/ROOT/html/startup et modifier tous les "/jahia" par "/".

Philippe


At 15.02.2006 14:51, you wrote:

>Bonjour,
>
>Lorsque je démarre Jahia sur mon poste linux, il y a un moment d'attente
>pour le démarrage de tomcat. Le script de lancement jahia fait patienter
>avec des '......'. Puis cela se bloque .. et au lieu d'ouvrir la page du
>site sur firefox je vois que les '......' redémarrent, alors je fais CTRL+C
>et j'arrive sur la page de mon site!
>
>Console après le démarrage ut après CTRL+C:
>========================================================================
>bash-3.00$ jahia.sh
>-- JAHIA Edition 4 Startup Script --------------------
>Verifying environment...
>Current directory is /app/jahia/bin
>JDK found.
>Catalina environment seems clean...
>Tomcat environment seems clean...
>Starting JAHIA Edition Database and Web Server...
>Using CATALINA_BASE:   /app/jahia/tomcat
>Using CATALINA_HOME:   /app/jahia/tomcat
>Using CATALINA_TMPDIR: /app/jahia/tomcat/temp
>Using JAVA_HOME:       /opt/jdk1.5.0_02
>Started. Waiting for browser startup...
>Waiting for Web Server to become available at
>http://localhost:8080/jahia/html/startup/startjahia.html.........................Mozilla
>found at /usr/bin/mozilla-firefox, starting up...
>-- done. -------------------------------------
>bash-3.00$
>
>Sauf que là j'ai encore un bug sur la page de mon site
>(http://localhost:8080/jahia/html/startup/loadingjahia.html):
>========================================================================
>Etat HTTP 404 - /jahia/html/startup/loadingjahia.html
>type Rapport d''état
>message /jahia/html/startup/loadingjahia.html
>description La ressource demandée (/jahia/html/startup/loadingjahia.html)
>n'est pas disponible.
>Apache Tomcat/4.1.31
>
>Alors je change l'adresse pour (http://localhost:8080) et là j'arrive enfin
>sur mon site ovuc l'adresse réecrite: http://localhost:8080/jsp/index.jsp.
>
>
>
>Quelqu'un peut-il m'aider à arranger cela?
>
>Merci pour votre aide.
>
>Patrick Gelin
>
>
>
>
>
>
>
>
>Mon navigateur est:
>========================================================================
>/usr/bin/mozilla-firefox
>
>Mon script Jahia.sh pour la version 4.1:
>========================================================================
>#!/bin/sh
>echo -- JAHIA Edition 4 Startup Script --------------------
>echo Verifying environment...
>echo Current directory is $PWD
>unset JAHIA_JIKES_HOME
>if [ -f "../jre/jre/bin/java" ] ; then
>   export JAVA_HOME=$PWD/../jre/jre
>   echo Detected JRE, setting JAVA_HOME to $JAVA_HOME and PATH to $PATH
>fi
>if [ -z "$JAVA_HOME" ] ; then
>   echo Please set your JAVA_HOME variable to the location where your JDK is
>installed before running JAHIA Edition 4...
>   exit 0
>else
>   if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
>     echo JDK found.
>   else
>     if [ -f "../jikes/bin/jikes" ] ; then
>       export PATH=../jikes/bin:$PATH
>       export JAHIA_JIKES_HOME=../jikes
>       echo Jikes compiler detected. PATH=$PATH,
>JAHIA_JIKES_HOME=$JAHIA_JIKES_HOME
>     else
>       echo Error : JAVA_HOME does not seem to contain a valid JDK
>installation
>       exit 0
>     fi
>   fi
>fi
>PATH=$JAVA_HOME/bin:$PATH
>export PATH
>if [ -z "$CATALINA_HOME" ]; then
>   echo Catalina environment seems clean...
>else
>   echo CATALINA_HOME environment variable must NOT be set !
>   exit 0
>fi
>if [ -z "$TOMCAT_HOME" ]; then
>   echo Tomcat environment seems clean...
>else
>   echo TOMCAT_HOME environment variable must NOT be set !
>   exit 0
>fi
>echo Starting JAHIA Edition Database and Web Server...
>#cd ../hsqldb/demo
>#./runServer
>#cd ../..
>cd ../tomcat
>if [ -z "$JAHIA_JIKES_HOME" ]; then
>   ./bin/catalina.sh jpda start
>else
>   ./bin/catalina-jikes.sh start
>fi
>cd ../bin
>echo Started. Waiting for browser startup...
>cd ../tomcat/webapps/ROOT
>java -classpath
>$CLASSPATH:./:./WEB-INF/lib/jahia4.1.0_01.jar:./WEB-INF/lib/log4j-1.2.6.jar
>org.jahia.init.TomcatWait http://localhost:808
>0/jahia/html/startup/startjahia.html
>cd ../../../bin
>MOZILLAPATH=`which mozilla-firefox`
>if [ -x $MOZILLAPATH ] ; then
>   echo Mozilla found at $MOZILLAPATH, starting up...
>   $MOZILLAPATH http://localhost:8080/jahia/html/startup/loadingjahia.html &
>else
>   echo Mozilla not found. Trying Netscape... Note: Netscape 4.x will cause
>render problems.
>   NETSCAPEPATH=`which netscape`
>   if [ -x $NETSCAPEPATH ] ; then
>     echo Netscape found at $NETSCAPEPATH, starting up...
>     $NETSCAPEPATH http://localhost:8080/jahia/html/startup/loadingjahia.html
>&
>   else
>     echo Netscape not found. Please point your browser to the following
>URL : http://localhost:8080/jahia/Jahia
>   fi
>fi

-------=[ pvollenweider at jahia dot com ]=---------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.