Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 55674 invoked from network); 13 Jul 2006 13:56:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2006 13:56:42 -0000 Received: (qmail 23738 invoked by uid 500); 13 Jul 2006 13:56:29 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23721 invoked by uid 500); 13 Jul 2006 13:56:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 23710 invoked by uid 99); 13 Jul 2006 13:56:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 06:56:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Mead.Jennifer@vectorscm.com designates 63.230.177.41 as permitted sender) Received: from [63.230.177.41] (HELO ljcqs154.cnf.com) (63.230.177.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 06:56:26 -0700 Received: from ljcqs154.cnf.com (localhost [127.0.0.1]) by ljcqs154.cnf.com (Postfix) with ESMTP id 324C01C882F for ; Thu, 13 Jul 2006 06:56:06 -0700 (PDT) Received: from cnfqe058.cnf.prod.cnf.com (cnfdcx-131-slb-01-in.cnf.com [10.0.108.131]) by ljcqs154.cnf.com (Postfix) with ESMTP id 1F9401C872C for ; Thu, 13 Jul 2006 06:56:06 -0700 (PDT) Received: from cnfqe161.cnf.prod.cnf.com ([10.0.2.91]) by cnfqe058.cnf.prod.cnf.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 13 Jul 2006 06:56:05 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat shutdowns unexpectedly - Please help Date: Thu, 13 Jul 2006 06:56:05 -0700 Message-ID: <5DD1E2BCE7C37A43B736388E5D8EE180010B22D1@ri-cnfqe161.cnf.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat shutdowns unexpectedly - Please help thread-index: Acamc90mrH+/ekLAQMGUDof3750/dgAECeYg From: "Mead, Jennifer L - VSCM" To: "Tomcat Users List" X-OriginalArrivalTime: 13 Jul 2006 13:56:05.0502 (UTC) FILETIME=[159B21E0:01C6A684] X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It sounds like that SUN box is either configured different than the other SUN machines or you have some bad memory modules in it. Jen=20 -----Original Message----- From: Arunan Kannan [mailto:arunank@gmail.com]=20 Sent: Thursday, July 13, 2006 4:59 AM To: Tomcat Users List; Martin Gainty Subject: Re: Tomcat shutdowns unexpectedly - Please help 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 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=20 > system. I couldn't find any thing relevent to this crash on syslog or=20 > 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=20 > Tomcat-Standalone Apache Tomcat/4.1.31 Jul 10, 2006 11:57:21 PM=20 > org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 Jul 10, 2006 11:57:21 PM=20 > org.apache.jk.common.ChannelSocket init > INFO: JK2: ajp13 listening on /0.0.0.0:8009 Jul 10, 2006 11:57:21 PM=20 > org.apache.jk.server.JkMain start > INFO: Jk running ID=3D0 time=3D2/53 = config=3D/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=20 > load() excepti on > javax.servlet.ServletException: Wrapper cannot find servlet class=20 > 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(StandardConte x > 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=20 > 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=20 > about this. > > As you said, I tried to find some timeout parameters in the conf files. > > =20 > port=3D"9080" minProcessors=3D"5" maxProcessors=3D"75" > enableLookups=3D"true" redirectPort=3D"9443" > acceptCount=3D"100" debug=3D"0" connectionTimeout=3D"20000" > useURIValidationHack=3D"false" = disableUploadTimeout=3D"true" /> > > > > 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=20 > to 4 hr. There is no action done in this time. Then the tomcat gets=20 > shutdown unexpectedly. > > I will try your suggestion and let you know the result. Thanks for=20 > your help. > > Thanks again for all, > > Thanks and Regards, > > Arunan > > > On 7/11/06, Martin Gainty wrote: > > > > I would also look at workers.properties files and make sure=20 > > socket_KeepAlive is set on Also socket_timeout is set to 0 so it=20 > > never times out > > > > M- > > ******************************************************************** > > * This email message and any files transmitted with it contain=20 > > confidential information intended only for the person(s) to whom=20 > > this email message is addressed. If you have received this email=20 > > message in error, please notify the sender immediately by telephone=20 > > or email and destroy the original message without making a copy. =20 > > Thank you. > > > > > > > > ----- Original Message ----- > > From: "Mr Alireza Fattahi" > > To: "Tomcat Users List" ; "Martin Gainty" < > > mgainty@hotmail.com> > > 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.=20 > > > 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=20 > > > 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=20 > > suicide!) We end up writing a small program which was connected to=20 > > 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 wrote: If the app is crashing=20 > > > then > > you would see exceptions thrown in wither catalina.out /=20 > > stdout_YYYYMMDD.log / stderr_YYYYMMDD.log > > > If the service is crashing on startup(misconfigured JVM, startup=20 > > > 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=20 > > > message > > is > > > addressed. If you have received this email message in error,=20 > > > please > > notify > > > the sender immediately by telephone or email and destroy the=20 > > > 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=20 > > >> 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=20 > > >>> 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=3D5 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=20 > > >> unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > >> For additional commands, e-mail: users-help@tomcat.apache.org > > >> > > >> > > > > > > > > > ~Regards, > > > ~~Alireza Fattahi > > > > > > --------------------------------- > > > Now you can scan emails quickly with a reading pane. Get the new > > Yahoo! Mail. > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org