logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Randall <javabr...@gmail.com>
Subject Re: bizarre NPE exception
Date Tue, 17 Nov 2009 01:51:45 GMT
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.


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

On Tue, Nov 17, 2009 at 11:59 AM, Pat Farrell <pfarrell@pfarrell.com> wrote:

> Jacob Kjome wrote:
> > Given that it happens after a redeploy cycles, it is likely the infamous
> > Tomcat bug
> How can it be a Tomcat bug when it happens with Glassfish V2.1?
> If I was using Tomcat, sure.
> > You say you are not using Tomcat, but your server might be using Tomcat
> > under the covers.
> This makes zero sense.
> Its glassfish. Or are you claiming that bad code from Tomcat was
> imported into Glassfish?
> --
> Pat Farrell
> http://www.pfarrell.com/
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message