Re: Tomcat-ModJK2 -- [error] mod_jk child init 1 0

2003-07-17 Thread Simon Pabst
workaround for that:
# 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]


Re: Tomcat-ModJK2 -- [error] mod_jk child init 1 0

2003-07-17 Thread Simon Pabst
Another thing:
Apache User/Group need write access to the mod_jk2 shm.file i think
And check your jk2.properties config:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configtcex.html#jk2.properties
At 18:59 17.07.2003 +0200, you wrote:
workaround for that:
# 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]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat-ModJK2 -- [error] mod_jk child init 1 0

2003-07-16 Thread Simon Pabst
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]


Re: Tomcat-ModJK2 -- [error] mod_jk child init 1 0

2003-07-16 Thread Rick
Here you go...hope there is something amiss in here that's causing it!

TIA, Rick


JK2 configuration and virtualhost of httpd.conf --

LoadModule jk2_module modules/mod_jk2.so

IfModule mod_jk2.c
JkSet config.file /usr/local/apache2/conf/workers2.properties
/IfModule

VirtualHost *
 ServerName www.somesite.com
 DocumentRoot /usr/local/www/somesite.com
 Options Indexes FollowSymLinks
 DirectoryIndex index.html index.jsp
 JkSet uri:www.somesite.com/*.jsp.group ajp13:localhost:8009 
 JkSet uri:www.somesite.com/servlet/*.group ajp13:localhost:8009 
/VirtualHost

workers2.properties 

# Use only for debugging
[logger.apache2]
level=DEBUG

# Shared memory handling. Needs to be set.
[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
tomcatId=localhost:8009

# Define the ajp13 worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Define the status worker
[status:status]
info=Status worker for displaying runtime information

# Map the status page url
[uri:/jk2-status/*]
group=status:status


AJP Connector configuration of server.xml -

!-- 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/

 
jk2.properties --

handler.list=request,container,channelSocket
channelSocket.port=8009
channelSocket.address=127.0.0.1




- 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]



Re: Tomcat-ModJK2 -- [error] mod_jk child init 1 0

2003-07-16 Thread Rick
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]