You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Benedikt Eric Heinen <be...@icemark.ch> on 2000/11/29 11:06:46 UTC
duplicating http-headers?
Hi there,
I have a problem with tomcat, which most likely is a setup
problem. But I can't find anything about it in the FAQ so far.
I set up Tomcat to run under apache-1.3.12 (Debian unstable
doesn't have a newer apache yet). I can access Tomcat directly,
which works fine. But accessing it through apache results in pages
with an increasing number of http-header blocks in them,
e.g. accessing the numberguessing jsp page, after a few accesses I
get:
Status: 200 OK
Content-Type: text/html;charset=8859_1
Set-Cookie2: JSESSIONID=dkcj56cxo1;Version=1;Path="/";Discard
Set-Cookie: JSESSIONID=dkcj56cxo1;Path=/
Servlet-Engine: Tomcat Web Server/3.3 dev ( JSP 1.1; Servlet 2.2 )
Status: 200 OK
Content-Type: text/html;charset=8859_1
Set-Cookie2: JSESSIONID=dkcj56cxo1;Version=1;Path="/";Discard
Set-Cookie: JSESSIONID=dkcj56cxo1;Path=/
Servlet-Engine: Tomcat Web Server/3.3 dev ( JSP 1.1; Servlet 2.2 )
Status: 200 OK
Content-Type: text/html;charset=8859_1
Set-Cookie2: JSESSIONID=dkcj56cxo1;Version=1;Path="/";Discard
Set-Cookie: JSESSIONID=dkcj56cxo1;Path=/
Servlet-Engine: Tomcat Web Server/3.3 dev ( JSP 1.1; Servlet 2.2 )
Status: 200 OK
Content-Type: text/html;charset=8859_1
Set-Cookie2: JSESSIONID=ennly4zbx1;Version=1;Path="/";Discard
Set-Cookie: JSESSIONID=ennly4zbx1;Path=/
Servlet-Engine: Tomcat Web Server/3.3 dev ( JSP 1.1; Servlet 2.2 )
<!--
Copyright (c) 1999 The Apache Software Foundation. All rights
reserved.
Apache is using tomcat via mod_jk:
LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
<IfModule mod_jk.c>
Alias /cocoon /icemark/webapps/cocoon
JkWorkersFile /icemark/opt/tomcat/conf/workers.properties
JkLogFile /var/log/apache/tomcat/jk.log
JkLogLevel warn
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
JkMount /examples/* ajp12
</IfModule>
Also interesting - Changing
JkMount /*.jsp ajp12
to
JkMount /*.jsp ajp13
results in
404 - Not Found (Original request/tomcat.notFoundHandler)
when trying to access the numberguess.jsp...
Any clue what's going wrong here? Do I need to upgrade apache or
did I just make "Stupid Beginners Trick #42"?
I would rather stick to using the debian apache package -- I'm not
really into recompiling everything I use... ;)
Benedikt
"Study as if you were going to live forever;
live as if you were going to die tomorrow."
-- Maria Mitchell