tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darren Hall" <dh...@utrs.com>
Subject RE: mod_jk weirdness
Date Mon, 06 Feb 2006 21:06:29 GMT
Chris,

Not sure if this is helpful but it appears the next step that is failing is
the actual connection to tomcat from apache (unless you've left this part of
your mod_jk.log out of your post).

Here's the mod_jk.log output of a test I did on my local machine. The first
worker 'testworker' connects successfully; while the second 'newworker'
fails at about the same point you appear to be failing. In the below case,
'newworker' fails because it can't resolve the tomcat address after it sets
the contact for 'newworker'. Don't know if this helps or not...

Darren


[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (141): about to
create instance testworker of ajp13
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (154): about to
validate and init testworker
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1806):
worker testworker contact is 'localhost:8009'
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1895):
setting socket keepalive to 0
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1934):
setting socket timeout to -1
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1938):
setting socket buffer size to 0
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1942):
setting connection recycle timeout to 0
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1946):
setting cache timeout to 0
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1950):
setting connect timeout to 0
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1954):
setting reply timeout to 0
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1958):
setting prepost timeout to 0
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1962):
setting recovery opts to 0
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1966):
setting number of retries to 3
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1843):
setting connection cache size to 250
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (248): removing
old testworker worker
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (236): creating
worker newworker
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (141): about to
create instance newworker of ajp13
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (154): about to
validate and init newworker
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1806):
worker newworker contact is 'www.local.org:8009'
[Mon Feb 06 09:49:03 2006] [2756:3108] [error] jk_ajp_common.c (1815): can't
resolve tomcat address localhost
[Mon Feb 06 09:49:03 2006] [2756:3108] [error] jk_ajp_common.c (1818):
invalid host and port www.local.org 8009
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (2012): up to
0 endpoints to close
[Mon Feb 06 09:49:03 2006] [2756:3108] [error] jk_worker.c (158): validate
failed for newworker
[Mon Feb 06 09:49:03 2006] [2756:3108] [error] jk_worker.c (256): failed to
create worker newworker
[Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (212):
close_workers will destroy worker testworker


-----Original Message-----
From: Chris Pat [mailto:cpanon@yahoo.com] 
Sent: Saturday, February 04, 2006 9:23 AM
To: Tomcat
Subject: mod_jk weirdness

Hello 
Attached is the full trace, but can anyone please
explain  second below.  The workers.properties file is
immediately below.  It eventually does some type of
core dump.  The site is up, working on the specified
ip, just not working with the mod_jk.  Any help much
appreciated.

workers.properties
workers.tomcat_home e:\Program\Tomcat 5.5
workers.java_home=$JAVA_HOME
ps\
worker.list=connect_op, connect_sb

worker.connect_op.port=12345
worker.connect_op.host=localhost
worker.connect_op.type=ajp13

worker.connect_sb.port=12346
worker.connect_sb.host=localhost
worker.connect_sb.type=ajp13


from mod_jk.log
[Sat Feb 04 07:54:00 2006] [8196:8192] [debug]
jk_worker.c (236): creating worker connect_op
[Sat Feb 04 07:54:00 2006] [8196:8192] [debug]
jk_worker.c (141): about to create instance connect_op
of ajp13
[Sat Feb 04 07:54:00 2006] [8196:8192] [debug]
jk_worker.c (154): about to validate and init
connect_op
[Sat Feb 04 07:54:00 2006] [8196:8192] [debug]
jk_ajp_common.c (1806): worker connect_op contact is
'localhost:12345'
...
[Sat Feb 04 07:54:01 2006] [8196:8192] [debug]
jk_worker.c (248): removing old connect_op worker

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message