Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Error in browser

Help
robbyhog
2009-02-24
2013-04-09
  • robbyhog
    robbyhog
    2009-02-24

    Hi,
    I have installed JDk 1.6 and Mysql and all appears to have gone smoothly. Tomcat starts without any errors but when I try to access http://localhost:8080 I get an error: click here for details. See below for info. Any help would be appreciated as I'm not very experienced with Tomcat/mysql. i tried to open with IE7 and mozilla.

    Java Plug-in 1.6.0_11
    Using JRE version 1.6.0_11 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    ----------------------------------------------------
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------

    Servlet URL : http://localhost:8080/ServletConnector
    Report URL :  http://localhost:8080/ReportWriter
    Socket Port : 5556
    RMI Port :    5555
    Loading Environment...  please wait
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/ServletConnector
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at webBoltOns.server.servletUtil.HttpMessage.sendPostMessage(HttpMessage.java:231)
        at webBoltOns.AppletConnector.getHttpObject(AppletConnector.java:456)
        at webBoltOns.AppletConnector.start(AppletConnector.java:732)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
        at webBoltOns.AppletConnector.setIcons(AppletConnector.java:774)
        at webBoltOns.AppletConnector.start(AppletConnector.java:733)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NullPointerException

    Thanks in Advance,
    Robbie

     
    • Paul Jones
      Paul Jones
      2009-02-24

      Hey Robbie!

      The log you posted is from the broswer.   Looks like your problem is with Tomcat.   Look at the log files with in the Tomcat /log/ folder.  They should tell the tale.  

      Post them here if you are unsure what they mean....

       
    • robbyhog
      robbyhog
      2009-02-25

      Thanks for reply Paul.
      See below. I just copied the last chunk of the log as it appears to repeat.

      2009-02-24 09:52:02 StandardContext[]StandardWrapper.Throwable
      java.lang.NullPointerException
          at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:204)
          at javax.servlet.GenericServlet.log(GenericServlet.java:298)
          at webBoltOns.dataContol.DataAccess.logMessage(DataAccess.java:443)
          at webBoltOns.ServletConnector.init(ServletConnector.java:428)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)

      2009-02-24 09:52:02 StandardWrapperValve[ServletConnector]: Allocate exception for servlet ServletConnector
      javax.servlet.ServletException: Servlet.init() for servlet ServletConnector threw exception
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1086)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)
      ----- Root Cause -----
      java.lang.NullPointerException
          at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:204)
          at javax.servlet.GenericServlet.log(GenericServlet.java:298)
          at webBoltOns.dataContol.DataAccess.logMessage(DataAccess.java:443)
          at webBoltOns.ServletConnector.init(ServletConnector.java:428)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)

      2009-02-24 09:52:07 StandardContext[]StandardWrapper.Throwable
      java.lang.NullPointerException
          at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:204)
          at javax.servlet.GenericServlet.log(GenericServlet.java:298)
          at webBoltOns.dataContol.DataAccess.logMessage(DataAccess.java:443)
          at webBoltOns.ServletConnector.init(ServletConnector.java:428)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)

      2009-02-24 09:52:07 StandardWrapperValve[ServletConnector]: Allocate exception for servlet ServletConnector
      javax.servlet.ServletException: Servlet.init() for servlet ServletConnector threw exception
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1086)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)
      ----- Root Cause -----
      java.lang.NullPointerException
          at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:204)
          at javax.servlet.GenericServlet.log(GenericServlet.java:298)
          at webBoltOns.dataContol.DataAccess.logMessage(DataAccess.java:443)
          at webBoltOns.ServletConnector.init(ServletConnector.java:428)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)

       
    • Paul Jones
      Paul Jones
      2009-02-25

      Need a little more of the log files but...

      It looks like maybe JDBC is not connecting to MySQL correctly.  Are you sure the installer did not give you any errors?  It might be best to drop the database in MySQL and re-run the installer…

       
    • robbyhog
      robbyhog
      2009-02-26

      l,
      i dopped the db and then ran installer without error. Used root account and password for db creation - install complete. I started tomcat but could not connect. Is there anything special I need to do re jdbc connections or is it all automatic? See log below form this mornings refresh and beneath that is the previous log in full

      2009-02-26 08:14:37 StandardContext[]StandardWrapper.Throwable
      java.lang.NullPointerException
          at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:204)
          at javax.servlet.GenericServlet.log(GenericServlet.java:298)
          at webBoltOns.dataContol.DataAccess.logMessage(DataAccess.java:443)
          at webBoltOns.ServletConnector.init(ServletConnector.java:428)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)

      2009-02-26 08:14:37 StandardWrapperValve[ServletConnector]: Allocate exception for servlet ServletConnector
      javax.servlet.ServletException: Servlet.init() for servlet ServletConnector threw exception
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1086)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)
      ----- Root Cause -----
      java.lang.NullPointerException
          at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:204)
          at javax.servlet.GenericServlet.log(GenericServlet.java:298)
          at webBoltOns.dataContol.DataAccess.logMessage(DataAccess.java:443)
          at webBoltOns.ServletConnector.init(ServletConnector.java:428)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)

      ===========================================
      previous log

      2009-02-25 14:39:26 StandardContext[]StandardWrapper.Throwable
      java.lang.NullPointerException
          at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:204)
          at javax.servlet.GenericServlet.log(GenericServlet.java:298)
          at webBoltOns.dataContol.DataAccess.logMessage(DataAccess.java:443)
          at webBoltOns.ServletConnector.init(ServletConnector.java:428)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)

      2009-02-25 14:39:26 StandardWrapperValve[ServletConnector]: Allocate exception for servlet ServletConnector
      javax.servlet.ServletException: Servlet.init() for servlet ServletConnector threw exception
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1086)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)
      ----- Root Cause -----
      java.lang.NullPointerException
          at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:204)
          at javax.servlet.GenericServlet.log(GenericServlet.java:298)
          at webBoltOns.dataContol.DataAccess.logMessage(DataAccess.java:443)
          at webBoltOns.ServletConnector.init(ServletConnector.java:428)
          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
          at java.lang.Thread.run(Thread.java:619)