<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=909333407-27072006><FONT face=Arial
color=#0000ff size=2>Nirmal -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=909333407-27072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=909333407-27072006><FONT face=Arial
color=#0000ff size=2>Are you sure Tomcat is crashing? Maybe you just mean
that it's producing an error message - which is standard behaviour when there's
an error.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=909333407-27072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=909333407-27072006><FONT face=Arial
color=#0000ff size=2>If the problem is the first logged Exception below,
NullPointerException, then it's occuring due to an error in
your index.jsp. It can probably be solved by changing the JSP code in
that file. If you post the file to this list, someone might be able to
shed some light on the error.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=909333407-27072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=909333407-27072006><FONT face=Arial
color=#0000ff size=2>Jon</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Nirmal
Sharma<BR><B>Sent:</B> 27 July 2006 07:39<BR><B>To:</B>
opencms-dev-owner@opencms.org; opencms-dev@opencms.org<BR><B>Subject:</B>
[opencms-dev] Tomcat Crash<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>My application is in production and facing a critical problem tomcat crash,
Please suggest</DIV>
<DIV> </DIV>
<DIV>Envoirnment Details:</DIV>
<DIV>OpenCMS 6.0.3</DIV>
<DIV>Apache Tomcat/5.5.16</DIV>
<DIV>JVM 1.5.0_06-b05</DIV>
<DIV>Linux 2.6.8-022stab067.1-enterprise i386</DIV>
<DIV> </DIV>
<DIV>Tomcat is crashing, below are the logs</DIV>
<DIV> </DIV>
<DIV>26 Jul 2006 01:24:08,542 ERROR [ina.core.ApplicationDispatcher: 704]
Servlet.service() for servlet jsp threw
exception<BR>java.lang.NullPointerException<BR> at
org.apache.jsp.WEB_002dINF.jsp.online.sites.default_.AlmaLasers.index_jsp._jspService
(index_jsp.java:61)<BR> at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR> at
org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:332)<BR> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<BR> at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<BR> at
javax.servlet.http.HttpServlet.service (HttpServlet.java:802)<BR> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<BR> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
<BR> at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)<BR> at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)<BR> at
org.apache.catalina.core.ApplicationDispatcher.include
(ApplicationDispatcher.java:499)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:193)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)
<BR> at
org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:416)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:419)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.include
(CmsFlexRequestDispatcher.java:175)<BR> at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)<BR> at
org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:395)<BR> at
org.opencms.loader.CmsResourceManager.loadResource
(CmsResourceManager.java:711)<BR> at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)<BR> at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java :689)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<BR> at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)<BR> at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<BR> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<BR> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<BR> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<BR> at
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)<BR> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<BR> at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)<BR> at
org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:282)<BR> at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)<BR> at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)<BR> at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt
(ChannelSocket.java:876)<BR> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<BR> at
java.lang.Thread.run(Thread.java:595)<BR>26 Jul 2006 05:28:36,095 ERROR
[ina.core.ApplicationDispatcher : 704] Servlet.service() for servlet jsp threw
exception<BR>com.opencms.legacy.CmsLegacyException: File not found:
/alkacon-documentation/examples_flex_1/thisfiledoesnotexist.jsp<BR> at
com.opencms.legacy.CmsXmlTemplateLoader.includeExtension
(CmsXmlTemplateLoader.java:882)<BR> at
org.opencms.loader.CmsResourceManager.resolveIncludeExtensions(CmsResourceManager.java:744)<BR> at
org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:178)<BR> at
org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:349)<BR> at
org.apache.jsp.WEB_002dINF.jsp.online.sites.default_.alkacon_002ddocumentation.examples_005fflex_005f1.tagtest_005finclude_005fnoexist_jsp._jspx_meth_cms_include_0
(tagtest_005finclude_005fnoexist_jsp.java:127)<BR> at
org.apache.jsp.WEB_002dINF.jsp.online.sites.default_.alkacon_002ddocumentation.examples_005fflex_005f1.tagtest_005finclude_005fnoexist_jsp._jspService(tagtest_005finclude_005fnoexist_jsp.java:77)
<BR> at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR> at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
:332)<BR> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<BR> at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java :802)<BR> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<BR> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<BR> at
org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:672)<BR> at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)<BR> at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:193)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)<BR> at
org.opencms.loader.CmsJspLoader.service (CmsJspLoader.java:416)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:419)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:175)
<BR> at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)<BR> at
org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:395)<BR> at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java
:711)<BR> at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)<BR> at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<BR> at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)<BR> at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<BR> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<BR> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<BR> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<BR> at
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)<BR> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<BR> at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)<BR> at
org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:282)<BR> at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)<BR> at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)<BR> at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt
(ChannelSocket.java:876)<BR> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<BR> at
java.lang.Thread.run(Thread.java:595)<BR>Caused by:
org.opencms.file.CmsVfsResourceNotFoundException : Error reading resource from
path
"/alkacon-documentation/examples_flex_1/thisfiledoesnotexist.jsp".<BR> at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
<BR> at
org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)<BR> at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)<BR> at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3838)
<BR> at
org.opencms.file.CmsObject.readResource(CmsObject.java:2658)<BR> at
org.opencms.file.CmsObject.readResource(CmsObject.java:2624)<BR> at
com.opencms.legacy.CmsXmlTemplateLoader.includeExtension(CmsXmlTemplateLoader.java
:878)<BR> ... 43 more<BR>Caused by:
org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource
"/alkacon-documentation/examples_flex_1/thisfiledoesnotexist.jsp".<BR> at
org.opencms.db.generic.CmsVfsDriver.readResource
(CmsVfsDriver.java:1431)<BR> at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5535)<BR> at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5589)<BR> at
org.opencms.db.CmsSecurityManager.readResource
(CmsSecurityManager.java:3836)<BR> ... 46 more<BR>26 Jul 2006 05:38:41,908
ERROR [ina.core.ApplicationDispatcher: 704] Servlet.service() for servlet jsp
threw exception<BR>java.lang.NullPointerException<BR> at
org.apache.jsp.WEB_002dINF.jsp.online.sites.default_.AlmaLasers.index_jsp._jspService
(index_jsp.java:61)<BR> at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR> at
org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:332)<BR> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<BR> at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<BR> at
javax.servlet.http.HttpServlet.service (HttpServlet.java:802)<BR> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<BR> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
<BR> at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)<BR> at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)<BR> at
org.apache.catalina.core.ApplicationDispatcher.include
(ApplicationDispatcher.java:499)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:193)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)
<BR> at
org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:416)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:419)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.include
(CmsFlexRequestDispatcher.java:175)<BR> at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)<BR> at
org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:395)<BR> at
org.opencms.loader.CmsResourceManager.loadResource
(CmsResourceManager.java:711)<BR> at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)<BR> at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java :689)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<BR> at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)<BR> at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<BR> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<BR> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<BR> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<BR> at
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)<BR> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<BR> at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)<BR> at
org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:282)<BR> at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)<BR> at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)<BR> at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt
(ChannelSocket.java:876)<BR> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<BR> at
java.lang.Thread.run(Thread.java:595)<BR>26 Jul 2006 06:09:46,022 ERROR
[ina.core.ApplicationDispatcher : 704] Servlet.service() for servlet jsp threw
exception<BR>java.lang.NullPointerException<BR> at
org.apache.jsp.WEB_002dINF.jsp.online.sites.default_.AlmaLasers.index_jsp._jspService(index_jsp.java:61)<BR> at
org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:97)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR> at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)<BR> at
org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:314)<BR> at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)<BR> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<BR> at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
<BR> at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)<BR> at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal
(CmsFlexRequestDispatcher.java:193)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)<BR> at
org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:416)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache
(CmsFlexRequestDispatcher.java:419)<BR> at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:175)<BR> at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)<BR> at
org.opencms.loader.CmsJspLoader.load (CmsJspLoader.java:395)<BR> at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:711)<BR> at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)<BR> at
org.opencms.main.OpenCmsServlet.doGet (OpenCmsServlet.java:139)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)<BR> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)<BR> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<BR> at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
<BR> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<BR> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<BR> at
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)<BR> at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<BR> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<BR> at
org.apache.jk.server.JkCoyoteHandler.invoke
(JkCoyoteHandler.java:199)<BR> at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)<BR> at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)<BR> at
org.apache.jk.common.ChannelSocket.processConnection
(ChannelSocket.java:684)<BR> at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)<BR> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<BR> at
java.lang.Thread.run (Thread.java:595)</DIV></BODY></HTML>