Hi, Even after making the timeout parameter to 0, still the problem exist.
Even I ran a continous polling application in the tomcat and still the problem exist. The tomcat server gets shutdown unexpectedly after some irregular period of time 3 or 4 or 6 hrs. However this problem doesn't exists in other sun machines. Only in a particular system it is occuring. Please help me out to find whats the problem with the system and the tomcat server. Machine Detail: SUN OS 5.8 Tomcat versio: 4.1 Please help. Thanks again. On 7/11/06, Arunan Kannan <[EMAIL PROTECTED]> wrote:
Hi David, Martin, and Alireza, Thank you very much for your comments and suggestions. Thanks a lot. Hi David, There is no logs corresponding to this shutdown anywhere on the system. I couldn't find any thing relevent to this crash on syslog or at any other place. Thanks for your help. Hi Martin, Here is the log from catalina.out file. Please have a look at it. Jul 10, 2006 11:57:18 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.31 Jul 10, 2006 11:57:21 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Jul 10, 2006 11:57:21 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Jul 10, 2006 11:57:21 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=2/53 config=/temp/jakarta-tomcat-4.1.31 /conf/jk2.pro perties Stopping service Tomcat-Standalone and here are the logs from localhost_admin_log.2006-07-10.txt 2006-07-11 05:01:40 StandardContext[/admin]: Servlet /admin threw load() excepti on javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.web app.admin.ApplicationServlet or a class it depends on at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper. java:844) 6) at org.apache.catalina.core.StandardWrapper.load( StandardWrapper.java:77 t.ja 3363)rg.apache.catalina.core.StandardContext.loadOnStartup(StandardContex 586) at org.apache.catalina.core.StandardContext.start( StandardContext.java:3 .java:774) org.apache.catalina.core.ContainerBase.addChildInternal (ContainerBase 0) at org.apache.catalina.core.ContainerBase.addChild ( ContainerBase.java:76 ---- --at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156) 2006-07-11 05:01:40 StandardWrapper[/admin:invoker]: Loading container servlet i nvoker I couldn't understand much. Can you please let me know some more info about this. As you said, I tried to find some timeout parameters in the conf files. <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 9080 --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="9080" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="9443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" /> <!-- Note : To disable connection timeouts, set connectionTimeout value to -1 --> In the server.xml the ConnectionTimeout is set to 20000. I will change that to 0 and let you know the results. Thanks for your help. Hi Alireza, The tomcat I am using is not configured with apache. Initially I run some sample application and left it ideal for some 3 to 4 hr. There is no action done in this time. Then the tomcat gets shutdown unexpectedly. I will try your suggestion and let you know the result. Thanks for your help. Thanks again for all, Thanks and Regards, Arunan On 7/11/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > > I would also look at workers.properties files and make sure > socket_KeepAlive is set on > Also socket_timeout is set to 0 so it never times out > > M- > ********************************************************************* > This email message and any files transmitted with it contain > confidential > information intended only for the person(s) to whom this email message > is > addressed. If you have received this email message in error, please > notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > > > ----- Original Message ----- > From: "Mr Alireza Fattahi" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <users@tomcat.apache.org>; "Martin Gainty" < > [EMAIL PROTECTED]> > Sent: Tuesday, July 11, 2006 9:45 AM > Subject: Re: Tomcat shutdowns unexpectedly - Please help > > > > Hi, > > > > I hope I get it correctly, the Tomcat shutdowns when it is ideal. That > means no one is working with it and there is no connection to it. > > If I assume correct and this is the case, please let me know if this > shutdown happens when there are some connections to it. > > We had this problem once with Apache and OracleAS, the OracleAS > shouted down itself when it does not received any requests (made a suicide!) > We end up writing a small program which was connected to Tomcat every 10 min > and requested a dummy page. It solved it. > > > > P.S: Did you configure your Tomcat with Apache? > > > > Hope it helps you! > > > > > > > > Martin Gainty <[EMAIL PROTECTED]> wrote: If the app is crashing then > you would see exceptions thrown in wither catalina.out / > stdout_YYYYMMDD.log / stderr_YYYYMMDD.log > > If the service is crashing on startup(misconfigured JVM, startup jars > missing) then check the jakarta_service_YYYYMMDD.log > > > > HTH, > > Martin-- > > ********************************************************************* > > This email message and any files transmitted with it contain > confidential > > information intended only for the person(s) to whom this email message > is > > addressed. If you have received this email message in error, please > notify > > the sender immediately by telephone or email and destroy the original > > message without making a copy. Thank you. > > > > > > > > ----- Original Message ----- > > From: "David Smith" > > To: "Tomcat Users List" > > Sent: Tuesday, July 11, 2006 7:51 AM > > Subject: Re: Tomcat shutdowns unexpectedly - Please help > > > > > >> I'm no expert, but off the top of my head it appears your JVM is > >> crashing. Especially true if there is absolutely no logging data > just > >> before the process stops. You may have indications of what's > happening > >> in other log files like syslog or a core dump file. You may also > want > >> to look at bug reports for your OS and JDK. > >> > >> > >> --David > >> > >> Arunan Kannan wrote: > >> > >>> Hi, > >>> > >>> Please help me in guiding to find out the root cause of this > problem. > >>> > >>> Tomcat Version: jakarta-tomcat-4.1.31 > >>> Server OS: SUN OS 5.8 > >>> JDK version: j2sdk1.4.2_11 > >>> > >>> Initially the tomcat server is running perfectly and there is no > problem. > >>> There is no operation done on the server. Simply it is kept idle. > >>> After some 3 or 4 hours the tomcat gets shutdown unexpectedly. > >>> > >>> This happens repeatedly. Whenever I start the server, after some 3 > or 4 > >>> hours it gets stopped. > >>> There is not enough log to find the cause. > >>> > >>> I have posted this query in lot of forum and still it is a hard > luck. > >>> I configured debug=5 in server.xml under conf directory to get > maximum > >>> log, > >>> then also no use. > >>> There is no application running in the tomcat server. > >>> > >>> Simply the when tomcat is started in this SUN server after a few > ours it > >>> stops always. > >>> Please help me. > >>> Please let me know if I need to give more information. > >>> > >>> Thanks in advance, > >>> Thanks and Regards, > >>> Arunan > >>> > >> > >> > >> --------------------------------------------------------------------- > >> To start a new topic, e-mail: users@tomcat.apache.org > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > ~Regards, > > ~~Alireza Fattahi > > > > --------------------------------- > > Now you can scan emails quickly with a reading pane. Get the new > Yahoo! Mail.