I have been trying to get our servlet working with Tomcat5.0, without much
success. The servlet works flawlessly in Tomcat4.0 and Tomcat4.1, although
dropping the same WAR file in Tomcat5.0 on Windows with JDK1.4.2 (on two
seperate machines, even) produces the following stacktrace:
I have a system which renders a session stored in the HttpSession unusable
once the user logs out. All initialisation on the session is performed
inside a HttpSessionListener.sessionCreated() method. Further accesses
under the same JSESSIONID result in an error detailing that the user must
close
Debian is a Linux distribution. Debian Woody is the stable version, and
Debian/testing is, well, in a testing state.
As you can see from my email, I haven't been able to successfully forward
all requests. I was hoping it would be as simple as outlined in the HOWTO,
but, as with everything, that
As the above directive indicates, I would like to have all
requests to Apache forwarded to Tomcat. However, that is not
happening and any URL I try results in a 404 with an error
indicating such in Apache's error.log.
No errors indicating failure appear in the obvious spots, and
no
I am running Tomcat4.1.24 with Apache1.3.26 and libapache-mod-jk1.2.5 on a
Debian Woody system. I have tried to set up mod-jk using the instructions
found at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
and using the auto-generated config file.
I added this to the end of
Is it possible to programmatically change the Server header?
[...]
Surely there is a way to alter the Server header of an HTTP
response, if only for security reasons. I can't be the only
person who wishes to do this. I would appreciate any
suggestions as to how this can be
The Server header is hardcoded into the Connectors. You can't
remove/change it without a PATCH/recompile to
org.apache.coyote.http11.Constants
That's certainly what I saw when looking at the source. There's no way
alter it using a javax.servlet.Filter and a
Unless there is a PATCH in bugzilla, then no.
OK. Thanks for your help, Tim.
Ian.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible to programmatically change the Server header?
Barring that, is it possible to set a Server header for a servlet
within its web.xml file? My least preferred method is to change the
Server
header within Tomcat's server.xml file.
I was thinking that a javax.servlet.Filter
Is it possible to programmatically change the Server header?
Barring that, is it possible to set a Server header for a
servlet within its web.xml file?
My least preferred method is to change the Server header
within Tomcat's server.xml file.
I looked at Tomcat's source code, and that
I would like to change the value of the Server HTTP header returned by
Tomcat. Calling HttpServletResponse.setHeader( Server, value ) will
either add a second Server header or will do nothing, depending on whether
it is called before or after the HTTP body is written.
Is it possible to
Every so often a response to a POST request to Tomcat either
fails to include the Content-Length header or mangles it so
it doesn't read Content-Length.
FYI, this is still happening. Here is what the request headers look
like:
POST /Phantom/servlet HTTP/1.1
User-Agent:
Every so often a response to a POST request to Tomcat either fails to
include the Content-Length header or mangles it so it doesn't read
Content-Length. Such replies occur both when content exists and when
there is no content. I call HttpServletResponse.setContentLength()
every time I build a
Calls to HttpServletRequest.getSession() may return quickly for a while,
but then they will start to block for minutes at a time. At that point,
all subsequent calls to that method will block until Tomcat is
restarted.
This only seems to happen when running Tomcat under Windows XP, although
I
The Tomcat version I am using under Windows is 4.0.5.
FYI, I have since upgraded to the latest version of Tomcat (eg. 4.1.18)
and the problem persists.
ian.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I have a WAR file which is built by JBuilder6. This WAR file deploys
fine under Tomcat4 on Windows2000 when I copy it to the webapps
directory and restart Tomcat. However, when I do the same on a Debian
Linux system running Tomcat4, I get the following in the log files:
2002-09-19
I have a WAR file which is built by JBuilder6. This WAR file
deploys fine under Tomcat4 on Windows2000 when I copy it to
the webapps directory and restart Tomcat. However, when I do
the same on a Debian Linux system running Tomcat4, I get the
following in the log files:
Just as a
17 matches
Mail list logo