Is there no wisdom out there on this topic?
I'm really stumped and would appreciate some insight.
-Nick
I have tomcat 4.1.27 front ended by apache 2.0.47 and mod_jk connector.
Occasionally I run out of apache slots because all the slots are
apparently hung while Sending Reply. (W status
I have tomcat 4.1.27 front ended by apache 2.0.47 and mod_jk connector.
Occasionally I run out of apache slots because all the slots are
apparently hung while Sending Reply. (W status from serverstatus screen).
These connections appear to all be stuck in a dialog with tomcat.
If I restart
Oli,
My problem (encodeURL bug) is related. If *all* you care about is
getting the hostname corrected and if you're not worried about
changing ports, then I believe switching from mod_webapp to mod_jk
will solve your problem.
It is fairly easy to get mod_jk working under tomcat 3.x --
and
Oli,
Snippets of my mod_jk configuration are:
From server.xml:
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=13084 minProcessors=5 maxProcessors=75
acceptCount=10 debug=0/
Be sure the port=TBD value above matches the vlaue in your
Tomcat 4.0.1
Apache 1.3.2 (tried with mod_webapp and mod_jk)
encodeURL(http://foo:80/junk;) does not encode the
sessionId even with cookies disabled, unless foo is
the ServerName and 80 is the Listen port.
In our environment, foo is a virtual hostname and 1234
is a virtual port. We use a
Apache 1.3.20
Tomcat 4.0.1
Cookies DISABLED in the browser and in server.xml
httpd.conf:
ServerName foo
NameVirtualHost *
VirtualHost *
ServerName foo
ServerAlias bar
DocumentRoot /export/home/foo
/VirtualHost
encodeURL(http://foo;) correctly adds the ;jsessionid=0876...
Apache 1.3.20
Tomcat 4.0.1
Cookies DISABLED in the browser and in server.xml
httpd.conf:
ServerName foo
NameVirtualHost *
VirtualHost *
ServerName foo
ServerAlias bar
DocumentRoot /export/home/foo
/VirtualHost
encodeURL(http://foo;) correctly adds the ;jsessionid=0876...