My HttpServlet implements the SingleThreadModel for my Login.  Although,
when I shut down the JSM, I get the following trace to stderr.

Stopped ServiceManager admin server.
DestroyAll:
java.lang.NullPointerException
        at javax.servlet.GenericServlet.log(Compiled Code)
        at javax.servlet.GenericServlet.destroy(Compiled Code)
        at com.pncbank.tmsc.db.client.HttpConfigServlet.destroy(Compiled
Code)
        at com.pncbank.tmsc.user.login.Login.destroy(Compiled Code)
        at com.livesoftware.jrun.JRunServletPoolObject.destroyAll(Compiled
Code)
        at com.livesoftware.jrun.JRunServletPool.destroyAll(Compiled Code)
        at com.livesoftware.jrun.JRun.destroyAllServlets(Compiled Code)
        at com.livesoftware.jrun.JRun.destroyAll(Compiled Code)
        at com.livesoftware.jrun.JRunGeneric.destroyAll(Compiled Code)
        at
com.livesoftware.jrun.service.jrunse.JRunSEService.doStopService(Compiled
Code)
        at com.livesoftware.jrun.service.ServiceManager.main(Compiled Code)

My class is actually HttpConfigServlet which extends HttpServlet.  All the
HttpConfigServlet class does is
1.)  Create a config file class object (uses
ClassLoader.getSystemResourceAsStream(name) to load the file and stores it
in a java.util.properties variable) in the Servlet's Init() method.
2.)  Stores this object reference in a protected variable which is
accessible to classes that extend this Servlet class
I.E.  These child classes can then issue a <variable nam>.getString("<prop")
without having to create the ConfigFile object every time.

This is a CRITICAL issue and needs resolved immediately.

Thanks

Jeff

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to