[opencms-dev] Tomcat Crash

Jonathan Woods jonathan.woods at scintillance.com
Thu Jul 27 09:36:59 CEST 2006


Nirmal -
 
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.
 
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.
 
Jon

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Nirmal Sharma
Sent: 27 July 2006 07:39
To: opencms-dev-owner at opencms.org; opencms-dev at opencms.org
Subject: [opencms-dev] Tomcat Crash


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._j
spService (index_jsp.java:61)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:332)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
 at javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173) 
 at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)
 at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)
 at org.apache.catalina.core.ApplicationDispatcher.include
(ApplicationDispatcher.java:499)
 at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDisp
atcher.java:193)
 at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:171) 
 at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:416)
 at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRe
questDispatcher.java:419)
 at org.opencms.flex.CmsFlexRequestDispatcher.include
(CmsFlexRequestDispatcher.java:175)
 at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)
 at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:395)
 at org.opencms.loader.CmsResourceManager.loadResource
(CmsResourceManager.java:711)
 at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)
 at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java :689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
 at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
 at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:282)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
 at org.apache.jk.common.ChannelSocket$SocketConnection.runIt
(ChannelSocket.java:876)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
 at java.lang.Thread.run(Thread.java:595)
26 Jul 2006 05:28:36,095 ERROR [ina.core.ApplicationDispatcher : 704]
Servlet.service() for servlet jsp threw exception
com.opencms.legacy.CmsLegacyException: File not found:
/alkacon-documentation/examples_flex_1/thisfiledoesnotexist.jsp
 at com.opencms.legacy.CmsXmlTemplateLoader.includeExtension
(CmsXmlTemplateLoader.java:882)
 at
org.opencms.loader.CmsResourceManager.resolveIncludeExtensions(CmsResourceMa
nager.java:744)
 at
org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:178)
 at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:349)
 at
org.apache.jsp.WEB_002dINF.jsp.online.sites.default_.alkacon_002ddocumentati
on.examples_005fflex_005f1.tagtest_005finclude_005fnoexist_jsp._jspx_meth_cm
s_include_0 (tagtest_005finclude_005fnoexist_jsp.java:127)
 at
org.apache.jsp.WEB_002dINF.jsp.online.sites.default_.alkacon_002ddocumentati
on.examples_005fflex_005f1.tagtest_005finclude_005fnoexist_jsp._jspService(t
agtest_005finclude_005fnoexist_jsp.java:77) 
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
:332)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java :802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
 at org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:672)
 at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)
 at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499) 
 at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDisp
atcher.java:193)
 at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:171)
 at org.opencms.loader.CmsJspLoader.service (CmsJspLoader.java:416)
 at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRe
questDispatcher.java:419)
 at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:175) 
 at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)
 at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:395)
 at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java
:711)
 at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)
 at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
 at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
 at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:282)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
 at org.apache.jk.common.ChannelSocket$SocketConnection.runIt
(ChannelSocket.java:876)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
 at java.lang.Thread.run(Thread.java:595)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException : Error reading
resource from path
"/alkacon-documentation/examples_flex_1/thisfiledoesnotexist.jsp".
 at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResou
rceNotFoundException.java:78) 
 at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)
 at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
 at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3838)

 at org.opencms.file.CmsObject.readResource(CmsObject.java:2658)
 at org.opencms.file.CmsObject.readResource(CmsObject.java:2624)
 at
com.opencms.legacy.CmsXmlTemplateLoader.includeExtension(CmsXmlTemplateLoade
r.java :878)
 ... 43 more
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read
resource "/alkacon-documentation/examples_flex_1/thisfiledoesnotexist.jsp".
 at org.opencms.db.generic.CmsVfsDriver.readResource
(CmsVfsDriver.java:1431)
 at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5535)
 at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5589)
 at org.opencms.db.CmsSecurityManager.readResource
(CmsSecurityManager.java:3836)
 ... 46 more
26 Jul 2006 05:38:41,908 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._j
spService (index_jsp.java:61)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:332)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
 at javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173) 
 at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)
 at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)
 at org.apache.catalina.core.ApplicationDispatcher.include
(ApplicationDispatcher.java:499)
 at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDisp
atcher.java:193)
 at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:171) 
 at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:416)
 at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRe
questDispatcher.java:419)
 at org.opencms.flex.CmsFlexRequestDispatcher.include
(CmsFlexRequestDispatcher.java:175)
 at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)
 at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:395)
 at org.opencms.loader.CmsResourceManager.loadResource
(CmsResourceManager.java:711)
 at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)
 at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java :689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
 at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
 at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:282)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
 at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
 at org.apache.jk.common.ChannelSocket$SocketConnection.runIt
(ChannelSocket.java:876)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
 at java.lang.Thread.run(Thread.java:595)
26 Jul 2006 06:09:46,022 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._j
spService(index_jsp.java:61)
 at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
32)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:314)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
 at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672) 
 at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)
 at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)
 at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal
(CmsFlexRequestDispatcher.java:193)
 at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:171)
 at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:416)
 at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache
(CmsFlexRequestDispatcher.java:419)
 at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:175)
 at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)
 at org.opencms.loader.CmsJspLoader.load (CmsJspLoader.java:395)
 at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:7
11)
 at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)
 at org.opencms.main.OpenCmsServlet.doGet (OpenCmsServlet.java:139)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213) 
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
 at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at org.apache.jk.server.JkCoyoteHandler.invoke (JkCoyoteHandler.java:199)
 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
 at org.apache.jk.common.ChannelSocket.processConnection
(ChannelSocket.java:684)
 at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java
:876)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
 at java.lang.Thread.run (Thread.java:595)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060727/127741b9/attachment.htm>


More information about the opencms-dev mailing list