On Nov 16, 2009, at 7:51 PM, Brett Randall wrote:

Hi Pat,

I don't know Glassfish as well as other containers, but according to
Wikipedia[1], "It uses a derivative of Apache Tomcat </wiki/ Apache_Tomcat> as
the servlet </wiki/Servlet> container for serving Web content"

You mentioned that this problem occurs when deploying a new WAR file - that would agree with aforementioned likely classloader disposal problems. And it currently agrees with your stack traces and the NPE you are seeing, which looks to relate to a static char[] in that class, which is caching the time
in HH:mm:ss format for performance reasons.

Best
Brett

[1] http://en.wikipedia.org/wiki/GlassFish


Glassfish does contain Tomcat derived code. Glassfish actually incorporated my fix for the class loader issue long before Tomcat did, but I don't know the specific Tomcat.

Here are the bug reports for both Tomcat and Bugzilla, all you need to know are there:

https://issues.apache.org/bugzilla/show_bug.cgi?id=41059
https://glassfish.dev.java.net/issues/show_bug.cgi?id=6637

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to