[opencms-dev] Tomcat Crash
Joe Desbonnet
jdesbonnet at gmail.com
Thu Jul 27 15:48:35 CEST 2006
It would seem there are a few unrelated errors in your log (I can see
from the time stamp that they are separated by hours of elapsed time).
I am guessing your referring to the first error. As the previous reply
said this is normal behaviour if there is an error in your JSP script.
Take a look at your JSP script and see if there is scope for a
NullPointerException. If it's not obvious, then look for the java file
that the JSP script gets compiled to. You will find it buried deep in
the Tomcat "work" folder. Use a text editor to view line 61 (the stack
trace indicated this is the line causing the exception). You'll
probably find that you are calling a method on some object that's
null. So you will need to add a check for null or surround the code
with a try / catch for NullPointerException.
Joe.
On 7/27/06, Nirmal Sharma <nk71days at gmail.com> wrote:
>
> My application is in production and facing a critical problem tomcat crash,
> Please suggest
>
> Envoirnment Details:
> OpenCMS 6.0.3
> Apache Tomcat/5.5.16
> JVM 1.5.0_06-b05
> Linux 2.6.8-022stab067.1-enterprise i386
>
> Tomcat is crashing, below are the logs
>
> 26 Jul 2006 01:24:08,542 ERROR [ina.core.ApplicationDispatcher: 704]
> Servlet.service() for servlet jsp threw exception
> java.lang.NullPointerException
> at
> org.apache.jsp.WEB_002dINF.jsp.online.sites.default_.AlmaLasers.index_jsp._jspService
> (index_jsp.java:61)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> at
> javax.serv
More information about the opencms-dev
mailing list