Here's my HttpConfigServlet class if it helps you any...

-----Original Message-----
From: Jeffrey D. Curry <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>;
[EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, February 24, 1999 10:21 AM
Subject: NullPointerException when shutting down JSM in JRUN


>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
>

HttpConfigServlet.java

Reply via email to