Hello,
You will see answers at the end of your mail.
At 07.07.2004 14:34, you wrote:
Hello,
I have fixed some problems with my Tomcat and it seems to work properly. I get this in my tomcat log (using the logger) :
2004-07-07 13:52:57 WebappLoader[]: Deploying class repositories to work directory /MIDDLE/mm/pst-intranet.serv.priv.fr/tomcat1/logs/tomcat_work
2004-07-07 13:52:57 ContextConfig[]: Missing application web.xml, using defaults only
2004-07-07 13:53:02 StandardManager[]: Seeding random number generator class java.security.SecureRandom
2004-07-07 13:52:58 StandardManager[]: Seeding of random number generator has been completed
2004-07-07 13:53:02 jsp: init
2004-07-07 13:52:58 StandardWrapper[:default]: Loading container servlet default
2004-07-07 13:52:58 default: init
2004-07-07 13:52:58 StandardWrapper[:invoker]: Loading container servlet invoker
2004-07-07 13:52:58 invoker: init
2004-07-07 13:52:59 infoSessions: init
In my catalin.out I get :
HttpConnector Opening server socket on all host IP addresses HttpConnector Opening server socket on all host IP addresses Starting service Tomcat-Standalone Apache Tomcat/4.1.27 Ajp13Connector[9118] Opening server socket on all host IP addresses Ajp13Connector[9118] Starting background thread Ajp13Processor[9118][0] Starting background thread Ajp13Processor[9118][1] Starting background thread Ajp13Processor[9118][2] Starting background thread Ajp13Processor[9118][3] Starting background thread Ajp13Processor[9118][4] Starting background thread HttpConnector[7959] Starting background thread
And my server.xml is the following :
<Server inet="0.0.0.0" port="10260" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="9118" minProcessors="5" maxProcessors="100" acceptCount="10" debug="0"/>
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="7959"
minProcessors="5" maxProcessors="100"
enableLookups="false" acceptCount="10" debug="0"
connectionTimeout="60000"/>
<Engine name="Standalone" defaultHost="pst-intranet.serv.priv.fr" debug="0">
<Host name="pst-intranet.serv.priv.fr" appBase="/MIDDLE/mm/pst-intranet.serv.priv.fr" u
npackWARs="true" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="tomcat." suffix=".log" timestamp="true"/>
<Context path="" docBase="/WEBS/mm/pst-intranet.serv.priv.fr/docs"
crossContext="false" reloadable="false" workDir="logs/tomcat_work" debug="0">
<DefaultContext crossContext="true"/>
<Resources allowLinking="true" />
</Context>
</Host>
</Engine>
</Service>
</Server>
I also carefully add the lines in web.xml as explain in the technical FAQ. I assume I should connect to my Jahia site using the URL http://pst-intranet.serv.priv.fr:7959/jahia/Jahia but I get an error :"The page cannot be found : the page you are looking for may not exist, or is temporarily unavailable....".
Did you try to add a context jahia for your defaultHost and use a complete path for the docBase?
Is my URL correct? I set HttpConnector port to 7959 so I think it is correct.
Does anyone has any idea of where my problem come from? I tried to modify jahia.sh to use the 80 port instead of the 8080 but it does not work better.
Port 7959 is used for HttpConnector, so your url should be good. If you want to use port 80 with Tomcat, be sure that there is no other server using this port, and that root is running thiis process.
If you want to use the jk2 mod to use Apache httpd on frontend, be sure that your apache config is OK (also check ports on workers.properties)
Philippe
Any help or idea is welcome!!
Thanks J�r�mie
_________________________________________________________________ Trouvez l'�me soeur sur MSN Rencontres http://g.msn.fr/FR1000/9551
-------=[ 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
