Hi guys,
I've set up tomcat 4.1.18 with apache2, connected via mod_jk2.
everything seems to work fine- servlets, jsps and static content.
however, apache error log shows some suspicious activity... this keeps
showing every 5 minutes or so.
also, I never restart apache, yet every now and then I get a " [notice]
Graceful restart requested, doing restart" in the logs.
I'm kinda out of ideas what to do.. please.. any ideas will be
appreciated :-)
thanks,
Ori.
Here's apache error_log:
=================
[Thu Feb 27 03:24:57 2003] [notice] Graceful restart requested, doing
restart
[Thu Feb 27 03:25:36 2003] [notice] Apache/2.0.44 (Unix)
mod_jk2/2.0.3-dev configured -- resuming normal operations
[Thu Feb 27 03:25:36 2003] [error] mod_jk child workerEnv in error state
1
[Thu Feb 27 03:25:36 2003] [error] mod_jk child init 1 0
[Thu Feb 27 03:25:36 2003] [error] mod_jk child workerEnv in error state
1
[Thu Feb 27 03:25:37 2003] [error] [client 127.0.0.1] File does not
exist: /usr/local/apache2/htdocs/whm-server-status
[Thu Feb 27 03:32:14 2003] [error] channelSocket.open() connect failed
127.0.0.1:8009 111 Connection refused
[Thu Feb 27 03:32:14 2003] [error] ajp13.connect() failed
ajp13:localhost:8009
[Thu Feb 27 03:32:14 2003] [error] mod_jk.handler() Error connecting to
tomcat 120000
Here's my <connector> tag at tomcat's server.xml
====================================
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="20000"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
/>
(I dont have jk2.properties at cataline/conf, as Im using default
values)
Here's my worker2.properties (under {ServerRoot}/conf)
======================================
[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=1
[uriMap:]
info=Maps the requests. Options: debug
debug=0
[shm:]
info=Scoreboard. Required for reconfiguration and status with
multiprocess servers
file=${serverRoot}/logs/jk2.shm
size=1000000
debug=0
disabled=0
[status:]
info=Status worker, displays runtime informations
[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
# Uri mapping
[uri:/*.jsp]
worker=ajp13:localhost:8009
[uri:/*.do]