Hi Ivan: I did a search through the 3 webapps and none of them are doing a System.exit() call. Do you have any other hints I could try? Do you know if I enable TRACE for the log level if that may show something more?
Thanks. Bill Ivan Xu wrote: > > Is it possible that there is some codes like ' System.exit();' in your > applications. In the past, I encountered this scenario, one of the > developers put a line like this in the codes while catching an exception. > Ivan > > 2009/6/3 Bill Brown <[email protected]> > >> >> Greetings: >> >> I am running geronimo-tomcat v2.1.4 on an amd64 linux with tomcat 5 >> server. >> The server has shut down automatically without prompting after a period >> of >> idle time several times since install several days ago. I have tuned the >> logs to DEBUG mode and there are no errors in the log. >> >> 2009-06-02 08:47:40,483 INFO [Log4jService] >> --------------------------------------------$ >> 2009-06-02 08:47:40,483 INFO [Log4jService] Started Logging Service >> 2009-06-02 08:47:40,483 INFO [Log4jService] Runtime Information: >> 2009-06-02 08:47:40,485 INFO [Log4jService] Install Directory = >> /opt/geronimo-tomcat6-$ >> 2009-06-02 08:47:40,486 INFO [JvmVendor] Sun JVM 1.5.0_14 >> 2009-06-02 08:47:40,486 INFO [Log4jService] JVM in use = Sun JVM >> 1.5.0_14 >> 2009-06-02 08:47:40,486 INFO [Log4jService] Java Information: >> 2009-06-02 08:47:40,486 INFO [Log4jService] System property >> [java.runtime.name] = Jav$ >> 2009-06-02 08:47:40,486 INFO [Log4jService] System property >> [java.runtime.version] = $ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property [os.name] >> = Li$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [os.version] >> = 2.$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [sun.os.patch.level] = un$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property [os.arch] >> = am$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.class.version] = 49$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property [locale] >> = en$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [unicode.encoding] = Un$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [file.encoding] = UT$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.vm.name] = Ja$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.vm.vendor] = Su$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.vm.version] = 1.$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.vm.info] = mi$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.home] >> = /u$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.classpath] = nu$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.library.path] = /u$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.endorsed.dirs] = /o$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [java.ext.dirs] = /o$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] System property >> [sun.boot.class.path] = /o$ >> 2009-06-02 08:47:40,487 INFO [Log4jService] >> --------------------------------------------$ >> 2009-06-02 08:47:40,884 DEBUG [ExpressionFactory] Parsing expression: >> props['org.apache.g$ >> 2009-06-02 08:47:40,898 DEBUG [ExpressionFactory] Parsing expression: >> props['org.apache.g$ >> 2009-06-02 08:47:40,899 DEBUG [ExpressionFactory] Parsing expression: >> props['org.apache.g$ >> 2009-06-02 08:47:40,900 DEBUG [ExpressionFactory] Parsing expression: >> props['org.apache.g$ >> 2009-06-02 08:47:44,624 DEBUG [SimpleConfigurationManager] Loaded >> Configuration org.apach$ >> 2009-06-02 08:47:44,725 DEBUG [SimpleConfigurationManager] Loaded >> Configuration org.apach$ >> 2009-06-02 08:47:44,732 DEBUG [SimpleConfigurationManager] Loaded >> Configuration org.apach$ >> 2009-06-02 08:47:44,812 DEBUG [SimpleConfigurationManager] Loaded >> Configuration org.apach$ >> 2009-06-02 08:47:44,847 DEBUG [ExpressionFactory] Parsing expression: >> NamingPort + PortOf$ >> 2009-06-02 08:47:44,861 DEBUG [ExpressionFactory] Parsing expression: >> ServerHostname; >> 2009-06-02 08:47:44,878 DEBUG [ExpressionFactory] Parsing expression: >> ServerHostname; >> 2009-06-02 08:47:44,879 DEBUG [ExpressionFactory] Parsing expression: >> NamingPort + PortOf$ >> 2009-06-02 08:47:44,880 DEBUG [ExpressionFactory] Parsing expression: >> MinThreadPoolSize; >> 2009-06-02 08:47:44,881 DEBUG [ExpressionFactory] Parsing expression: >> MaxThreadPoolSize; >> 2009-06-02 08:47:44,882 DEBUG [SimpleConfigurationManager] Loaded >> Configuration org.apach$ >> 2009-06-02 08:47:45,048 DEBUG [RMIRegistryService] Started RMI Registry >> on >> port 1099 >> 2009-06-02 08:47:45,093 INFO [KernelContextGBean] bound gbean >> org.apache.geronimo.framew$ >> 2009-06-02 08:47:45,095 INFO [KernelContextGBean] bound gbean >> org.apache.geronimo.framew$ >> 2009-06-02 08:47:45,096 INFO [KernelContextGBean] bound gbean >> org.apache.geronimo.framew$ >> 2009-06-02 08:47:45,245 DEBUG [SimpleConfigurationManager] Loaded >> Configuration org.apach$ >> 2009-06-02 08:47:45,300 DEBUG [SimpleConfigurationManager] Loaded >> Configuration org.apach$ >> 2009-06-02 08:47:45,550 DEBUG [ExpressionFactory] Parsing expression: >> ServerHostname; >> 2009-06-02 08:47:45,553 DEBUG [ExpressionFactory] Parsing expression: >> JMXPort + PortOffse$ >> 2009-06-02 08:47:45,554 DEBUG [ExpressionFactory] Parsing expression: >> ServerHostname; >> 2009-06-02 08:47:45,555 DEBUG [ExpressionFactory] Parsing expression: >> NamingPort + PortOf$ >> 2009-06-02 08:47:45,558 DEBUG [SimpleConfigurationManager] Loaded >> Configuration org.apach$ >> 2009-06-02 08:47:45,713 DEBUG [SecurityServiceImpl] >> javax.net.ssl.keyStore: >> null >> 2009-06-02 08:47:45,713 DEBUG [SecurityServiceImpl] >> javax.net.ssl.trustStore: null >> ...... >> >> 2009-06-02 19:59:39,994 DEBUG [MapperListener] Handle >> Geronimo:j2eeType=Servlet,name=regi$ >> 2009-06-02 19:59:39,994 DEBUG [MapperListener] Handle >> Geronimo:j2eeType=Servlet,name=regi$ >> 2009-06-02 19:59:39,994 DEBUG [MapperListener] Handle >> Geronimo:j2eeType=Servlet,name=regi$ >> 2009-06-02 19:59:39,994 DEBUG [MapperListener] Handle >> Geronimo:type=JspMonitor,name=regis$ >> 2009-06-02 19:59:39,994 DEBUG [MapperListener] Handle >> Geronimo:type=JspMonitor,name=regis$ >> 2009-06-02 19:59:39,994 DEBUG [MapperListener] Handle >> Geronimo:type=JspMonitor,name=regis$ >> 2009-06-02 19:59:39,994 DEBUG [ManagerBase] Stopping >> 2009-06-02 19:59:39,994 DEBUG [ManagerBase] Unloading persisted sessions >> 2009-06-02 19:59:39,995 DEBUG [ManagerBase] Saving persisted sessions to >> SESSIONS.ser >> 2009-06-02 19:59:39,995 DEBUG [ManagerBase] Unloading 0 sessions >> 2009-06-02 19:59:39,997 DEBUG [ManagerBase] Expiring 0 persisted sessions >> 2009-06-02 19:59:39,997 DEBUG [ManagerBase] Unloading complete >> 2009-06-02 19:59:39,997 DEBUG [MapperListener] Handle >> Geronimo:type=Manager,path=/earthbe$ >> 2009-06-02 19:59:39,997 DEBUG [MapperListener] Handle >> Geronimo:type=Manager,path=/earthbe$ >> 2009-06-02 19:59:39,998 DEBUG [MapperListener] Handle >> Geronimo:type=Manager,path=/earthbe$ >> 2009-06-02 19:59:39,999 INFO [XmlWebApplicationContext] Closing >> org.springframework.web.$ >> 2009-06-02 19:59:40,000 INFO [QuartzScheduler] Scheduler >> scheduler_$_NON_CLUSTERED pause$ >> 2009-06-02 19:59:40,000 INFO [DefaultListableBeanFactory] Destroying >> singletons in org.s$ >> 2009-06-02 19:59:40,000 DEBUG [DisposableBeanAdapter] Invoking destroy() >> on >> bean with nam$ >> 2009-06-02 19:59:40,000 INFO [SchedulerFactoryBean] Shutting down Quartz >> Scheduler >> 2009-06-02 19:59:40,000 INFO [QuartzScheduler] Scheduler >> scheduler_$_NON_CLUSTERED shutt$ >> 2009-06-02 19:59:40,000 INFO [QuartzScheduler] Scheduler >> scheduler_$_NON_CLUSTERED pause$ >> 2009-06-02 19:59:40,000 INFO [QuartzScheduler] Scheduler >> scheduler_$_NON_CLUSTERED shutd$ >> 2009-06-02 19:59:40,000 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,000 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,001 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,001 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,001 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,001 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,001 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,001 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,001 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,001 DEBUG [SimpleThreadPool] WorkerThread is shutting >> down >> 2009-06-02 19:59:40,001 DEBUG [DefaultListableBeanFactory] Retrieved >> dependent beans for $ >> 2009-06-02 19:59:40,001 DEBUG [DefaultListableBeanFactory] Retrieved >> dependent beans for $ >> 2009-06-02 19:59:40,001 DEBUG [DefaultListableBeanFactory] Retrieved >> dependent beans for $ >> 2009-06-02 19:59:40,001 DEBUG [DefaultListableBeanFactory] Retrieved >> dependent beans for $ >> 2009-06-02 19:59:40,002 DEBUG [DisposableBeanAdapter] Invoking destroy() >> on >> bean with nam$ >> 2009-06-02 19:59:40,002 INFO [LocalSessionFactoryBean] Closing Hibernate >> SessionFactory >> 2009-06-02 19:59:40,002 INFO [SessionFactoryImpl] closing >> 2009-06-02 19:59:40,003 DEBUG [DefaultListableBeanFactory] Retrieved >> dependent beans for $ >> 2009-06-02 19:59:40,003 DEBUG [DisposableBeanAdapter] Invoking destroy >> method 'shutdown' $ >> 2009-06-02 19:59:40,003 DEBUG [ContextConfig] ContextConfig: Processing >> STOP >> 2009-06-02 19:59:40,005 DEBUG [MapperListener] Handle >> Geronimo:type=Valve,name=GeronimoBe$ >> 2009-06-02 19:59:40,005 DEBUG [MapperListener] Handle >> Geronimo:type=Valve,name=GeronimoBe$ >> ... >> >> >> My setenv.sh file has these options: >> JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun >> JAVA_OPTS="-XX:MaxPermSize=256m -XX:+AggressiveHeap >> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false" >> >> I have 3 webapps running, 2 with db mysql backend datasources setup and 1 >> with a security realm setup. >> >> I suspect I may have some mis-configuration set somewhere that causes >> this >> but I'm not sure what or where. I have been using geronimo for serveral >> years with earlier versions and jvm versions and this has not happened >> before. >> >> Has anyone here seen this symptom before and know how to address it? >> Thanks >> for looking at this. >> >> Bill. >> >> -- >> View this message in context: >> http://www.nabble.com/geronimo-2.1.4-on-amd64-tomcat-5-shuts-down-automatically-tp23851838s134p23851838.html >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. >> >> > > > -- > Ivan > > -- View this message in context: http://www.nabble.com/geronimo-2.1.4-on-amd64-tomcat-5-shuts-down-automatically-tp23851838s134p23852546.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
