Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: mod_jk seems to be giving up with no errors

Rainer Jung

2007-08-07

Replies:

Hi Charlie,

I don't know what your platform is.

Version 1.2.14 is pretty outdated, we are close to 1.2.25.

If it is urgent I would suggest you update to 1.2.23 (1.2.24 had to be
withdrawn), it it can wait a few days, you could also use 1.2.25 which
should be available in a few days.

Independant of the version, you should read about timeouts in the new
docs page

http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html

The problem you describe is not an FAQ or well-known problem. If you can
reproduce the problem so easily, you could enable mod_jk log level debug
(or even trace) so we can see, what the last actions of mod_jk were.
Please also use netstat, to look at your Apache-Tomcat connections
(nnumber and state).

Regards,

Rainer

Charlie Williams wrote:
> I have a server setup with Apache 2.0.55 and Tomcat 5.0.28
>
> I am trying to use mod_jk 1.2.14 to communicate between the two
>
> in my httpd.conf file I have the virtual host file setup as follows
>
> <virtualhost *:80>
> servername www.blah.com
> jkmount /server1/* worker1
> </virtualhost>
> ...
> for each server
>
> then in my workers.properties file
>
> worker.list=worker1, worker2, worker3
> worker.worker1.type=ajp13
> worker.worker1.host=localhost
> worker.worker1.port=8001
> ...
>
> with different ports for each worker
>
> then in my server.xml file in the tomcat conf I have
> <connector port="8001"
> enableLookups="false" redirectPort="8443" debug="0"
> protocol="AJP/1.3" />
>
> this all works fine until i start/stop tomcat and apache a few times, then
> suddenly tomcat stops getting forwarded requests. the mod_jk log has no
> errors in it, and tomcats catalina.out file is completely empty ( assuming I
> clear all logs after each restart ).
>
> I noticed that it seems to happen more often when I am restarting apache but
> nothing else.
>
> I used httpd -k stop to stop apache
> shutdown.sh to stop tomcat instances
>
> Is there a known bug? Something I am doing that could be causing a
> persistent problem? The only way I have to fix the problem is to reboot the
> computer. Any help is much appreciated.
>
> -Charlie

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.