Re: Weird Tomcat issue.
tony <[email protected]> Mon, 16 Nov 2009 12:26:52 -0600
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
What version of Tomcat? What version of the connector? Just a thought, but you might start by changing the passwords on the server, just in case you have an angry co-worker or two. Personally, I have run into bizarre issues similar to this but in my case I have been able to track it down to one of the following. (1) New enterprise firewall that would drop the modjk connections. (2) New version of apache that required a newer version of modjk, that in turn required new worker settings, that in turn required new tomcat server.xml settings. (3) Accidental deployment of multiple jar files containing references to the same classes. In my case accidentally backing them up into a directory under WEB-INF/lib (4) Modifying the logging settings of the server, and misconfiguring it. (5) Running Tomcat 6 with some of the more critical jars under WEB-INF/lib rather than /<tomcat root>/lib (6) NOT using the tomcat connection pool (this one caused very random issues with Tomcat 6) (I was using an older connection pool approach) (7) Exhausting memory on the server, or not configuring the tomcat java process with enough memory. (8) Running multiple conflicting instances of tomcat on the same server (port overlap, etc) (9) NIC card problems/dropped network connections (10) uploading files of enormous size and not configuring for it Do you have the option to run a test instance of Tomcat on another server? If nothing has changed on the server, then you might just be running into hardware problems. I had a mother board start to fail in one of our tomcat servers and it caused all kinds of unstable performance until we figured it out. Sheldon Ross wrote: > Tomcat is shutting down. There are no java processes on the server after this happens. The machine itself is still up and running fine. > > The servers are secured on a Linux machine behind a firewall. > > The auth.logs show noone logging/sshing in when the shutdown occurs. > > I'm using an Apache front end and using modjk to connect to Tomcat. > > Like I said it's really weird. > > I've sort of remedied it by putting "ps -e | grep java || /etc/init.d/tomcat start" in crontab > But as you can imagine that is far less than Ideal. > > >> Date: Mon, 16 Nov 2009 11:27:07 -0600 >> From: [email protected] >> To: [email protected] >> Subject: Re: Weird Tomcat issue. >> >> When you say "it" is shutting down, are you referring to tomcat, or to >> Turbine. >> >> What version of Tomcat and Turbine? >> >> When this happens can you still directly reference "any" ports on the >> tomcat server. (say port 80, etc) >> >> What environment are you running it on (Linux, Windows) >> >> Are you using the connector? >> >> Things don't typically just start happening without a reason... so is >> access to this server controlled? Is it only you accessing it, your >> team, etc? Can you pinpoint an approximate time that it started happening? >> >> >> Sheldon Ross wrote: >> >>> I just recently started having this weird issue with Tomcat and Turbine. >>> It appears like its just shutting down cleanly, only we are NOT shutting it down. >>> >>> It's really weird. Everything seems to be running fine, there's no errors in the logs before this happens. It's like it's just randomly deciding to shutdown. >>> >>> Any thoughts? >>> >>> Servlet log: >>> 2009-11-13 18:33:32,651 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG org.apache.catalina.session.ManagerBase - Start expire sessions StandardManager at 1258162412651 sessioncount 0 >>> 2009-11-13 18:33:32,651 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG org.apache.catalina.session.ManagerBase - End expire sessions StandardManager processingTime 0 expired sessions: 0 >>> 2009-11-13 18:33:54,494 [Thread-32] DEBUG org.apache.catalina.core.ContainerBase.[Catalina].[afriezedev].[/simmapp] - Stopping filters >>> 2009-11-13 18:33:54,494 [Thread-32] DEBUG org.apache.catalina.session.ManagerBase - Stopping >>> 2009-11-13 18:33:54,494 [Thread-32] DEBUG org.apache.catalina.session.ManagerBase - Unloading persisted sessions >>> 2009-11-13 18:33:54,495 [Thread-32] DEBUG org.apache.catalina.session.ManagerBase - Saving persisted sessions to SESSIONS.ser >>> 2009-11-13 18:33:54,495 [Thread-32] DEBUG org.apache.catalina.session.ManagerBase - Unloading 0 sessions >>> 2009-11-13 18:33:54,495 [Thread-32] DEBUG org.apache.catalina.session.ManagerBase - Expiring 0 persisted sessions >>> 2009-11-13 18:33:54,495 [Thread-32] DEBUG org.apache.catalina.session.ManagerBase - Unloading complete >>> 2009-11-13 18:33:54,495 [Thread-32] DEBUG org.apache.jasper.servlet.JspServlet - JspServlet.destroy() >>> >>> Turbine log: >>> 2009-11-13 18:33:55,532 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down all services! >>> 2009-11-13 18:33:55,532 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: VelocityService >>> 2009-11-13 18:33:55,532 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: XSLTService >>> 2009-11-13 18:33:55,535 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: TemplateService >>> 2009-11-13 18:33:55,535 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: PullService >>> 2009-11-13 18:33:55,535 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: CryptoService >>> 2009-11-13 18:33:55,535 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: SecurityService >>> 2009-11-13 18:33:55,535 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: UploadService >>> 2009-11-13 18:33:55,535 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: UniqueIdService >>> 2009-11-13 18:33:55,538 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: XmlRpcService >>> 2009-11-13 18:33:55,545 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: GlobalCacheService >>> 2009-11-13 18:33:55,549 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: MimeTypeService >>> 2009-11-13 18:33:55,552 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: LocalizationService >>> 2009-11-13 18:33:55,552 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: AssemblerBrokerService >>> 2009-11-13 18:33:55,552 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: ServletService >>> 2009-11-13 18:33:55,555 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: RunDataService >>> 2009-11-13 18:33:55,555 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: PoolService >>> 2009-11-13 18:33:55,555 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: FactoryService >>> 2009-11-13 18:33:55,555 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: AvalonComponentService >>> 2009-11-13 18:33:55,555 [Thread-32] INFO org.apache.turbine.services.BaseServiceBroker - Shutting down service: SessionService >>> 2009-11-13 18:33:55,852 [Thread-32] INFO org.apache.turbine.Turbine - Turbine: Done shutting down! >>> >>> >>> >>> >>> >>> _________________________________________________________________ >>> Hotmail: Trusted email with Microsoft's powerful SPAM protection. >>> http://clk.atdmt.com/GBL/go/177141664/direct/01/ >>> http://clk.atdmt.com/GBL/go/177141664/direct/01/ >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > _________________________________________________________________ > Bing brings you maps, menus, and reviews organized in one place. > http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1 >