RE: Why Tomcat shutdown unprovokedly?
Howdy, Strange. You definitely should NOT have a webapp without a web.xml file. Even an empty web.xml (with just the DOCTYPE and ) is fine. Enable more verbose logging of tomcat and your apps. The GC log looks fine. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mark.he [mailto:[EMAIL PROTECTED] >Sent: Sunday, December 28, 2003 9:01 PM >To: Tomcat Users List >Subject: Why Tomcat shutdown unprovokedly? > >Hi All, > >I have encountered a problem when using Tomcat4.1.29. >I changed the appbase to my appliaction's directory (not in >$TOMCAT_HOME/webapps) and add a context like this: > docBase="/usr/local/myapplication" > crossContext="true" > debug="0" > reloadable="true" > trusted="false" > > >The application isn't a standard webapp. There is no web.xml in the >application's directory. > >Everything works well after staring the Tomcat. >But after 2-3 hours, the Tomcat will shutdown itself. > >The catalina.out will record like this (I have modified the debug level to >8): > >ServerLifecycleListener: Destroying MBean for ContextResource >ContextResource[name=UserDatabase, description=User database that can be >updated > and saved, type=org.apache.catalina.UserDatabase, auth=Container, >scope=Shareable] >ServerLifecycleListener: Destroying MBean for ContextEnvironment >ContextEnvironment[name=simpleValue, type=java.lang.Integer, value=30, >overri >de=true] >ServerLifecycleListener: Destroying MBean for NamingResources >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Valve >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Manager >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Logger >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Loader WebappLoader[] >ServerLifecycleListener: Destroying MBean for NamingResources >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Context >StandardEngine[Standalone].StandardHost[localhost].StandardContext[] >ServerLifecycleListener: Destroying MBean for Valve >ErrorReportValve[localhost] >ServerLifecycleListener: Destroying MBean for Valve >ErrorDispatcherValve[localhost] >ServerLifecycleListener: Destroying MBean for Valve >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Logger >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Host >StandardEngine[Standalone].StandardHost[localhost] >ServerLifecycleListener: Destroying MBean for Valve >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Realm >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Logger >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Engine >StandardEngine[Standalone] >ServerLifecycleListener: Destroying MBean for Connector >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Connector >[EMAIL PROTECTED] >ServerLifecycleListener: Destroying MBean for Service >StandardService[Tomcat-Standalone] >ServerLifecycleListener: Destroying MBean for Server StandardServer[8005] >GlobalResourcesLifecycleListener: Destroying MBeans for Global JNDI >Resources >Stopping service Tomcat-Standalone > >I recorded gc log, the records almost are FULL GC record like: >8341.069: [Full GC 491455K->314771K(519168K), 8.4939708 secs] >8400.893: [Full GC 479251K->313981K(519168K), 8.2763773 secs] >8450.546: [Full GC 478461K->295591K(519168K), 8.4257336 secs] >8504.026: [Full GC 460071K->300918K(519168K), 5.7439801 secs] >8552.918: [Full GC 465398K->305423K(519168K), 5.7107256 secs] >8596.866: [Full GC 469903K->309825K(519168K), 5.8541711 secs] > >FYI some softwares related: >j2sdk-1_4_2_03-solaris-sparc.tar.Z >jakarta-tomcat-4.1.29.tar >64bit OS Solaris9 with Sparc CPU >MySQL4.0 (The problem arises even though I am not using the DataBase). > >Any suggestion will be appreciated! > >Thanks in advanced. >Mark > > This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Why Tomcat shutdown unprovokedly?
Hi All, I have encountered a problem when using Tomcat4.1.29. I changed the appbase to my appliaction's directory (not in $TOMCAT_HOME/webapps) and add a context like this: The application isn't a standard webapp. There is no web.xml in the application's directory. Everything works well after staring the Tomcat. But after 2-3 hours, the Tomcat will shutdown itself. The catalina.out will record like this (I have modified the debug level to 8): ServerLifecycleListener: Destroying MBean for ContextResource ContextResource[name=UserDatabase, description=User database that can be updated and saved, type=org.apache.catalina.UserDatabase, auth=Container, scope=Shareable] ServerLifecycleListener: Destroying MBean for ContextEnvironment ContextEnvironment[name=simpleValue, type=java.lang.Integer, value=30, overri de=true] ServerLifecycleListener: Destroying MBean for NamingResources [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Valve [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Manager [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Logger [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Loader WebappLoader[] ServerLifecycleListener: Destroying MBean for NamingResources [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Context StandardEngine[Standalone].StandardHost[localhost].StandardContext[] ServerLifecycleListener: Destroying MBean for Valve ErrorReportValve[localhost] ServerLifecycleListener: Destroying MBean for Valve ErrorDispatcherValve[localhost] ServerLifecycleListener: Destroying MBean for Valve [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Logger [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Host StandardEngine[Standalone].StandardHost[localhost] ServerLifecycleListener: Destroying MBean for Valve [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Realm [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Logger [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Engine StandardEngine[Standalone] ServerLifecycleListener: Destroying MBean for Connector [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Connector [EMAIL PROTECTED] ServerLifecycleListener: Destroying MBean for Service StandardService[Tomcat-Standalone] ServerLifecycleListener: Destroying MBean for Server StandardServer[8005] GlobalResourcesLifecycleListener: Destroying MBeans for Global JNDI Resources Stopping service Tomcat-Standalone I recorded gc log, the records almost are FULL GC record like: 8341.069: [Full GC 491455K->314771K(519168K), 8.4939708 secs] 8400.893: [Full GC 479251K->313981K(519168K), 8.2763773 secs] 8450.546: [Full GC 478461K->295591K(519168K), 8.4257336 secs] 8504.026: [Full GC 460071K->300918K(519168K), 5.7439801 secs] 8552.918: [Full GC 465398K->305423K(519168K), 5.7107256 secs] 8596.866: [Full GC 469903K->309825K(519168K), 5.8541711 secs] FYI some softwares related: j2sdk-1_4_2_03-solaris-sparc.tar.Z jakarta-tomcat-4.1.29.tar 64bit OS Solaris9 with Sparc CPU MySQL4.0 (The problem arises even though I am not using the DataBase). Any suggestion will be appreciated! Thanks in advanced. Mark
Why tomcat shutdown?
I'm programmer. I use JasperReports on jsp. when JasperReports occur any Exception. tomcat will shutdown. i'd to know why tomcat shutdown and how to fix it. dori.jasper.engine.JRException: Could not load font from location : CORDIAU.TIF at dori.jasper.engine.export.JRPdfExporter.exportText(JRPdfExporter.java:850) at dori.jasper.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:316) at dori.jasper.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:270) at dori.jasper.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:214) at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:135) at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:101) at com.freewillsolutions.bean.JasperTest.pdfReport(JasperTest.java:72) at org.apache.jsp.ProjectReport$jsp. _jspService(ProjectReport$jsp.java:203) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$jspServletWrapper.service(JspServlet.java:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValue.invoke(StandardWrapperValue.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValue.invoke(StandardContextValue.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.values.CertificatesValue.invoke(CertificatesValue.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValue.invoke(StandardContextValue.java:2343) at org.apache.catalina.core.StandardHostValue.invoke(StandardHostValue.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.values.ErrorDispatcherValue.invoke(ErrorDispatcherValue.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.values.ErrorReportValue.invoke(ErrorReportValue.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.values.AccessLogValue.invoke(AccessLogValue.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValue.invoke(StandardEngineValue.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:536) Please reply me. Thanx. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]