tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Çağıl Şeker <cag...@biznet.com.tr>
Subject Tomcat+Apache Problems
Date Sun, 13 Apr 2003 13:25:25 GMT
I have finally configured Tomcat and Apache with jk2. Now when I access to 
http://localhost/examples (which infact a connection to Tomcat over jk), the 
pages comes like that:
-------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to 
complete your request.
-------------------

The logs/error.log file has this info:
-------------------
[Sun Apr 13 16:13:44 2003] [notice] Digest: generating secret for digest 
authentication ...
[Sun Apr 13 16:13:44 2003] [notice] Digest: done
[Sun Apr 13 16:13:45 2003] [error] shm.init(): No file
[Sun Apr 13 16:13:45 2003] [notice] Apache/2.0.45 (Gentoo/Linux) mod_jk2/2.0.0 
mod_ssl/2.0.45 OpenSSL/0.9.6i DAV/2 configured -- resuming normal operations
[Sun Apr 13 16:13:45 2003] [error] shm.init(): No file
[Sun Apr 13 16:13:45 2003] [error] shm.init(): No file
[Sun Apr 13 16:13:45 2003] [error] shm.init(): No file
[Sun Apr 13 16:13:45 2003] [error] shm.init(): No file
[Sun Apr 13 16:13:45 2003] [error] shm.init(): No file
[Sun Apr 13 16:13:50 2003] [error] shm.init(): No file
[Sun Apr 13 16:13:51 2003] [error] shm.init(): No file
[Sun Apr 13 16:13:51 2003] [error] shm.init(): No file
[Sun Apr 13 16:13:54 2003] [error] workerEnv.init() create slot epStat.0 
failed
[Sun Apr 13 16:13:54 2003] [error] lb.service() worker failed 
ajp13:localhost:8009
[Sun Apr 13 16:13:54 2003] [error] lb.service() unrecoverable error...
[Sun Apr 13 16:13:54 2003] [error] mod_jk.handler() Error connecting to tomcat 
120000
-------------------

My configuration files are:

apache2.conf (only relevant entries)
-------------------
LoadModule jk2_module                     modules/mod_jk2.so
[only this line changed in fact]
-------------------

workers2.properties
-------------------
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

[uri:/examples/*]
info=Map the whole webapp
-------------------

server.xml (only relevant ones / PS: I think the problem is with here)
-------------------
    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <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"/>
-------------------

Mime
View raw message