# Set mod_jk2 log level to emergency errors so logfiles don't get flooded (in workers2.properties):
[logger]
level=EMERG
If you want
try using a more recent mod_jk2 version (build from source - latest release:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/release/v1.1M1/src/tomcat-connectors-1.1M1-src.tar.gz )
and the updated coyote connector jar:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/coyote/release/v1.0-rc2/
(although they say on that site that you don't need to install coyote on Tomcat 4.1,
that version is more recent than Tomcat 4.1.24)
And set a shorter timeout in your JK2 CoyoteConnector (600 seconds or summat), so broken Sockets don't stay open too long
At 21:08 16.07.2003 -0700, you wrote:
Forgot to add this in the last email...
I'm using Apache 2.0.46, Tomcat 4.1.24 and mod_jk2 version 2.0.2 configured with jni and pcre. Here is a snippet of catalina.out shortly after startup (it's in debug mode):
StandardEngine[Tomcat-Apache-JK2]: setJvmRoute=localhost:8009
Starting service Tomcat-Apache
Apache Tomcat/4.1.24
[INFO] ChannelSocket - -JK2: ajp13 listening on localhost.localdomain/127.0.0.1:8009
[INFO] JkMain - -Jk running ID=0 time=2/116 config=/usr/local/tomcat/conf/jk2.properties
[INFO] ChannelSocket - -server has been restarted or reset this connection
[INFO] ChannelSocket - -server has been restarted or reset this connection
[INFO] ChannelSocket - -server has been restarted or reset this connection
[INFO] ChannelSocket - -server has been restarted or reset this connection
[INFO] ChannelSocket - -server has been restarted or reset this connection
and on and on......
----- Original Message ----- From: "Simon Pabst" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 3:25 PM Subject: Re: Tomcat-ModJK2 --> [error] mod_jk child init 1 0
> Post the JK2 configuration of your httpd.conf and workers2.properties
> and your AJP Connector configuration of tomcat/conf/server.xml and
> tomcat/conf/jk2.properties
>
> What Apache/mod_jk2/Tomcat version are you using?
>
> Is Tomcat running, are any errors in tomcat/logs/catalina.out?
>
> Did you build mod_jk2 with jni or any extra flags?
>
>
> At 16:26 16.07.2003 -0700, you wrote:
> >Hi, I can't figure this one out, I have Tomcat and Apache talking to each
> >other thru jk2 all fine and dandy except for this error on startup of Apache:
> >
> >[error] mod_jk child init 1 0
> >
> >which in turn, I suspect, spawns these errors:
> >
> >[error] Error ajp_process_callback - write failed
> >[error] ajp13.service() ajpGetReply recoverable error 3
> >[error] Error ajp_process_callback - write failed
> >[error] ajp13.service() ajpGetReply recoverable error 3
> >[error] ajp13.service() Error forwarding ajp13:localhost:8009 1 0
> >[error] mod_jk.handler() Error connecting to tomcat 3
> >
> >
> >I have lost the battle...looking for any insight at all!
> >
> >TIA, Rick
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]