Error allocating a servlet instance caused by ClassCircularityError on java.util.Date with Tomcat 5.0.28

2005-01-24 Thread Ian Stevens
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:

How do I force the expiration of the JSESSIONID cookie for proxies?

2005-01-10 Thread Ian Stevens
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

RE: mod_jk2, apache and index.jsp

2004-07-13 Thread Ian Stevens
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

RE: mod_jk not forwarding requests to Tomcat

2004-07-13 Thread Ian Stevens
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

mod_jk not forwarding requests to Tomcat

2004-07-12 Thread Ian Stevens
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

RE: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-07 Thread Ian Stevens
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

RE: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-07 Thread Ian Stevens
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

RE: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-07 Thread Ian Stevens
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]

RE: Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-07-05 Thread Ian Stevens
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

Using javax.servlet.Filter to alter HTTP headers (was RE: How can the Server header in an HTTP response be customised?)

2004-06-29 Thread Ian Stevens
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

How can the Server header in an HTTP response be customised?

2004-06-24 Thread Ian Stevens
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

RE: Mangled Content-Length header

2003-02-25 Thread Ian Stevens
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:

Mangled or missing Content-Length header

2003-02-18 Thread Ian Stevens
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

HttpServletRequest.getSession() blocks for several minutes

2003-02-14 Thread Ian Stevens
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

RE: HttpServletRequest.getSession() blocks for several minutes

2003-02-14 Thread Ian Stevens
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,

/WEB-INF/web.xml not found when deploying WAR within Tomcat4 on Debian ...

2002-09-19 Thread Ian Stevens
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

RE: /WEB-INF/web.xml not found when deploying WAR within Tomcat4 on Debian ...

2002-09-19 Thread Ian Stevens
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