tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Bainbridge <ja...@jblinux.org>
Subject Re: Tomcat / Apache / JK2 impossible??
Date Thu, 29 May 2003 07:53:38 GMT
It is very possible, many of us are doing it as we speak...

Check out:

http://www.johnturner.com/howto/apache-tomcat-howto.html
and
http://tomcatfaq.sourceforge.net

Then go from there, if you still have problems then let us know.

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
webmaster@kde.org 

On Thu, 29 May 2003 15:29, David Reche Martinez wrote:
> Hi All,
>
> I'm trying to integrate Apache and Tomcat using jk2 but I can't reach it
>
> This is my configuration:
>     Apache 2.0.45
>     Tomcat 4.1.24
>     JK2 (2.0.1)
>
> This are each configuration file:
>
> ***httpd.conf***
> ...
> LoadModule jk2_module modules/mod_jk2.so
> ...
>
> ***jk2.properties***
> All the file is commented
>
> ***workers2.properties***
>
> # Define the communication channel
> [channel.socket:localhost:8009]
> info=Ajp13 forwarding over socket
> tomcatId=localhost:8009
>
> # Map the Tomcat examples webapp to the Web server uri space
> [uri:/examples/*]
> info=Map the whole webapp
>
> ***server.xml***
> ...
>
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>
> port="8009" minProcessors="5" maxProcessors="75"
>
> enableLookups="true" redirectPort="8443"
>
> acceptCount="10" debug="0" connectionTimeout="0"
>
> useURIValidationHack="false"
>
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
>
> ...
>
>
> When I try to access http:/server/examples Apache throw an error.
> This is all the error message in the error_log:
>
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [notice] Apache/2.0.45 (Unix) mod_jk2/2.0.0
> configured -- resuming normal operations
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:26 2003] [error] shm.init(): No file
> [Wed May 28 16:05:34 2003] [error] workerEnv.init() create slot epStat.0
> failed
> [Wed May 28 16:05:34 2003] [error] lb.service() worker failed
> ajp13:localhost:8009
> [Wed May 28 16:05:34 2003] [error] lb.service() unrecoverable error...
> [Wed May 28 16:05:34 2003] [error] mod_jk.handler() Error connecting to
> tomcat 120000
> [Wed May 28 16:06:24 2003] [error] workerEnv.init() create slot epStat.2
> failed
> [Wed May 28 16:06:24 2003] [error] lb.service() worker failed
> ajp13:localhost:8009
> [Wed May 28 16:06:24 2003] [error] lb.service() unrecoverable error...
> [Wed May 28 16:06:24 2003] [error] mod_jk.handler() Error connecting to
> tomcat 120000
>
> I hope you can help me in this trouble.
>
> Thank you.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message