httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ikonne, Ike" <Ike_Iko...@stercomm.com>
Subject [users@httpd] tomcat 4.1.24 to Apache 2.0.45 using coyote mod_jk2
Date Fri, 25 Apr 2003 02:20:30 GMT

Hi all,

I am having problem getting Apache 2.0.45 to talk to tomcat 4.1.24
using the coyote mod_jk2 connector.  I have provided the config
files and error message in Apache's error log file.  I would
appreciate it if someone could tell me what I am doing wrong.

Thanks,

Ike


****** Here is the content of jk2.properties on tomcat 4.1 conf dir:

# Set the desired handler list
#handler.list=request,channelSocket
#
# Override the default port for the socketChannel
channelSocket.port=8019

******* Here is the content of workers2.properties on Apache conf dir:

# Define the communication channel 
[channel.socket:localhost:8019]
info=Ajp13 forwarding over socket
tomcatId=localhost:8019

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp


******* Here is config info in tomcat 4.1 server.xml

    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8019" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="20000"
               useURIValidationHack="false"
 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>


When I try to connect to the example servlet that comes with 
tomcat through Apache http://localhost/examples/, I get the 
following information in Apache error log file:

********* Apache's log file

[Wed Apr 23 23:22:13 2003] [error] shm.init(): No file
[Wed Apr 23 23:22:13 2003] [notice] Parent: Created child process 2764
[Wed Apr 23 23:22:13 2003] [error] shm.init(): No file
[Wed Apr 23 23:22:13 2003] [notice] Child 2764: Child process is running
[Wed Apr 23 23:22:13 2003] [error] shm.init(): No file
[Wed Apr 23 23:22:13 2003] [error] mod_jk child init 1 0
[Wed Apr 23 23:22:13 2003] [notice] Child 2764: Acquired the start mutex.
[Wed Apr 23 23:22:13 2003] [notice] Child 2764: Starting 250 worker threads.
[Wed Apr 23 23:23:22 2003] [error] workerEnv.init() create slot epStat.0
failed
[Wed Apr 23 23:23:22 2003] [error] lb.service() worker failed 120000 for
ajp13:localhost:8019
[Wed Apr 23 23:23:22 2003] [error] lb.service() unrecoverable error...
[Wed Apr 23 23:23:22 2003] [error] mod_jk.handler() Error connecting to
tomcat 120000
[Wed Apr 23 23:23:45 2003] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Wed Apr 23 23:23:45 2003] [notice] Child 2764: Exit event signaled. Child
process is ending.
[Wed Apr 23 23:23:46 2003] [notice] Child 2764: Released the start mutex
[Wed Apr 23 23:23:47 2003] [notice] Child 2764: Waiting for 250 worker
threads to exit.
[Wed Apr 23 23:23:47 2003] [notice] Child 2764: All worker threads have
exited.
[Wed Apr 23 23:23:47 2003] [notice] Child 2764: Child process is exiting
[Wed Apr 23 23:23:47 2003] [notice] Parent: Child process exited
successfully.







---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message