-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Sabari,
On 8/28/13 4:22 PM, Sabari Gandhi wrote: > We are trying to upgrade tomcat 5.5.X to tomcat 7 in our > application. I upgraded tomcat 7.0.39 in my environment (mac) > things were working fine. But when I test this in testing > environment (linux , which is also our production environment) > tomcat startup is failing because of the following error. > > 2013-08-28 15:25:48,921 [11] ERROR > apache.catalina.core.ContainerBase - A child container failed > during start java.lang.InterruptedException at > java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:979) > > at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281) > at > java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:218) > at java.util.concurrent.FutureTask.get(FutureTask.java:83) at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) > > at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > at org.apache.catalina.startup.Tomcat.start(Tomcat.java:335) > at > com.distrobot.mhs.agent.web.HttpServerAgent.wakeup(HttpServerAgent.java:209) > > at com.distrobot.mhs.agent.Agent.waitForWakeup(Agent.java:657) > at com.distrobot.mhs.agent.Agent.run(Agent.java:519) at > java.lang.Thread.run(Thread.java:662) 2013-08-28 15:25:48,924 > [httpd1] ERROR mhs.agent.Agent.HttpServerAgent - Stopping httpd1 > due to uncaught exception in thread httpd1: Tomcat Startup Failed > [A child container failed during start] > (org.apache.catalina.LifecycleException) > com.kiva.common.utils.FrameworkException: Tomcat Startup Failed at > com.distrobot.mhs.agent.web.HttpServerAgent.wakeup(HttpServerAgent.java:215) > > at com.distrobot.mhs.agent.Agent.waitForWakeup(Agent.java:657) > at com.distrobot.mhs.agent.Agent.run(Agent.java:519) at > java.lang.Thread.run(Thread.java:662) Caused by: > org.apache.catalina.LifecycleException: Failed to start component > [StandardServer[-1]] at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > > at org.apache.catalina.startup.Tomcat.start(Tomcat.java:335) > at > com.distrobot.mhs.agent.web.HttpServerAgent.wakeup(HttpServerAgent.java:209) > > ... 3 more > Caused by: org.apache.catalina.LifecycleException: Failed to start > component [StandardService[Tomcat]] at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > > at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > ... 5 more > Caused by: org.apache.catalina.LifecycleException: Failed to start > component [StandardEngine[mhsEngine]] at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > > at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > ... 7 more > Caused by: org.apache.catalina.LifecycleException: A child > container failed during start at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) > > at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > ... 9 more There should be some other errors identifying why one of the "child containers" (probably your webapp) didn't start. Check farther /up/ in catalina.out or possibly some other log files under logs/ to see what the root of the problem is. I'm just curious: why do you bother launching Tomcat from your own fairly trivial Java wrapper? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSH5goAAoJEBzwKT+lPKRYK6AQAIybPa6qB0ZAv/JzK+8YAllf l++Iek9THhUZit3e7PF6/GU1g5kpbrLfhzK+3O/3qoTUQRbJhP2kRTZoC0snRZ6A Y3LDBnhq+pgECQ0/TmKv6w0YhKxST4igPu258fN+eRpn2LP9IMA+1jVsFGP4eqHf NF2vlP+bSf/Lan5daDKPbCFa45JhovHta/JrqSlvOVnM92M1SYw1Tc+bjpqiZFzd 9OcOQ3RM25l7kg8aDaGZiZAkKlrNlOcWdZ6tUiMRWy8ZfT8+gQMUYzgFq0PI4OxW J3koZ2l9qnfp99XTwuzMjaX2LDA4713G9KDSgmapyDB+QMbzDU7DIkQrDFmWoXFr d5mS2NmVA8z3JQX4A/0K3HT4sHDlknhUSFPlsZbKnHRNwj91mPvSi7MaCCRoA6gs bdhhCf6/CzWIrC6zPQWLbfUt/HjDMmgBWSXb/ZHmSQgacWfLWgUHrjsW6+8WmfqQ LpRRo7n/T3Bl2ICD92zpCRxcg4GU9sEyK3+rx0zc9a8wLgEqFdpWVFlIndULL//P GBZnpH1FoUMffyExisAP4n+gQIjjDxvf+voIBdFy7uqZhDn56GTlmbeoBcKJNWR3 aUcIwnuAqPaK+36MbYagwsSaqMEWUA7S7WWfiyUfRervjKdoOb71OgyQyWLISQK3 YSzz3neGKIQ+bw7weLWX =4wE0 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org