tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <oh...@cox.net>
Subject Re: NullPointerException/java.util.logging.ErrorManager: 5 when have <load-on-startup>
Date Sat, 07 Jul 2012 16:33:39 GMT

---- Mark Thomas <markt@apache.org> wrote: 
> On 07/07/2012 13:40, ohaya@cox.net wrote:
> > Can anyone tell me what might be causing the error, and how I can eliminate the
problem? 
> 
> Since you have removed the part of the stack trace that might tell use
> what the cause is, no.
> 
> Mark


Hi Mark,

Sorry about that.  Here's part of the catalina.out again, with the rest of the stack trace,
plus showing it happens twice....


In LoginServlet.init: FINISHED initializing!!
Jul 7, 2012 8:21:31 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory showhdrs
Jul 7, 2012 8:21:31 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jul 7, 2012 8:21:31 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jul 7, 2012 8:21:31 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
java.util.logging.ErrorManager: 5
java.lang.NullPointerException
        at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:109)
        at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
        at java.util.ResourceBundle.getString(ResourceBundle.java:334)
        at java.util.logging.Formatter.formatMessage(Formatter.java:108)
        at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:63)
        at org.apache.juli.FileHandler.publish(FileHandler.java:198)
        at java.util.logging.Logger.log(Logger.java:478)
        at java.util.logging.Logger.doLog(Logger.java:501)
        at java.util.logging.Logger.log(Logger.java:524)
        at oracle.security.am.common.nap.util.NAPLogger.log(NAPLogger.java:60)
        at oracle.security.am.common.nap.util.pool.ObjectPoolManager.shutdown(ObjectPoolManager.java:267)
        at oracle.security.am.common.aaaclient.ObAAAServiceClient.close(ObAAAServiceClient.java:1239)
        at oracle.security.am.common.aaaclient.ObAAAServiceClient.finalize(ObAAAServiceClient.java:2548)
        at jrockit.memory.Finalizer.doFinalize(Finalizer.java:29)
        at jrockit.memory.Finalizer.access$300(Finalizer.java:12)
        at jrockit.memory.Finalizer$4.run(Finalizer.java:186)
        at java.lang.Thread.run(Thread.java:662)
java.util.logging.ErrorManager: 5
java.lang.NullPointerException
        at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:109)
        at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
        at java.util.ResourceBundle.getString(ResourceBundle.java:334)
        at java.util.logging.Formatter.formatMessage(Formatter.java:108)
        at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:63)
        at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)
        at java.util.logging.Logger.log(Logger.java:478)
        at java.util.logging.Logger.doLog(Logger.java:501)
        at java.util.logging.Logger.log(Logger.java:524)
        at oracle.security.am.common.nap.util.NAPLogger.log(NAPLogger.java:60)
        at oracle.security.am.common.nap.util.pool.ObjectPoolManager.shutdown(ObjectPoolManager.java:267)
        at oracle.security.am.common.aaaclient.ObAAAServiceClient.close(ObAAAServiceClient.java:1239)
        at oracle.security.am.common.aaaclient.ObAAAServiceClient.finalize(ObAAAServiceClient.java:2548)
        at jrockit.memory.Finalizer.doFinalize(Finalizer.java:29)
        at jrockit.memory.Finalizer.access$300(Finalizer.java:12)
        at jrockit.memory.Finalizer$4.run(Finalizer.java:186)
        at java.lang.Thread.run(Thread.java:662)
Jul 7, 2012 8:21:31 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080

The "oracle" ones are because I'm using stuff from the Oracle OAM SDK, and I am initializing
the SDK in the servlet init() method (which appears to be working).

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message