tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JB MORLA <jbmo...@gmail.com>
Subject Re: Eclipse: Server Tomcat v7.0 Server at localhost failed to start.
Date Fri, 14 Feb 2014 14:13:11 GMT
Maybe you added a .jar file to the build path and there is a conflict with
the jars already present in Eclipse and Tomcat.
My solution was to remove the jars.


On Thu, Feb 13, 2014 at 10:27 PM, Dave Kennedy <davek1802@gmail.com> wrote:

> Env:
> Windows 7
> Java: jdk1.7.0_51
> STS 3.4.0.RELEASE  (Based on Eclipse 4.3.1)
> Tomcat: apache-tomcat-7.0.50
>
> Tomcat runs from the cmd line startup.bat
> ( JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_51),
> but not from within Eclipse
> Any help or suggestions on how to resolve this would be greatly
> appreciated.
>
> Feb 13, 2014 1:17:22 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path: C:\Program Files
>
> (x86)\Java\jdk1.7.0_51\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Users\USER\bin\Sencha\Cmd\4.0.2.67;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
> Files (x86)\IBM\RationalSDLC\ClearCase\bin;C:\Program Files
> (x86)\IBM\RationalSDLC\common;C:\Program Files (x86)\ATI
> Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\MySQL\MySQL
> Utilities 1.3.6\;.
> Feb 13, 2014 1:17:22 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> Feb 13, 2014 1:17:22 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
> Feb 13, 2014 1:17:22 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 309 ms
> Feb 13, 2014 1:17:22 PM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Feb 13, 2014 1:17:22 PM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.50
> Feb 13, 2014 1:17:22 PM org.apache.catalina.core.ContainerBase
> startInternal
> SEVERE: A child container failed during start
> java.util.concurrent.ExecutionException:
> java.lang.ExceptionInInitializerError
>     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>     at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>     at
>
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
>     at
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:801)
>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>     at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>     at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.ExceptionInInitializerError
>     at
>
> org.apache.catalina.startup.ContextConfig.createWebXmlDigester(ContextConfig.java:522)
>     at
> org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:843)
>     at
>
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:389)
>     at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>     at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>     at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
>     ... 6 more
> Caused by: java.lang.NullPointerException
>     at
>
> org.apache.tomcat.util.descriptor.DigesterFactory.idFor(DigesterFactory.java:107)
>     at
>
> org.apache.tomcat.util.descriptor.DigesterFactory.<clinit>(DigesterFactory.java:59)
>     ... 14 more
>
> Feb 13, 2014 1:17:22 PM org.apache.catalina.core.ContainerBase
> startInternal
> SEVERE: A child container failed during start
> java.util.concurrent.ExecutionException:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost]]
>     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>     at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>     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.Catalina.start(Catalina.java:690)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)
> Caused by: org.apache.catalina.LifecycleException: Failed to start
> component [StandardEngine[Catalina].StandardHost[localhost]]
>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>     at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>     at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:744)
> 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.StandardHost.startInternal(StandardHost.java:801)
>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>     ... 6 more
>
> Feb 13, 2014 1:17:22 PM org.apache.catalina.startup.Catalina start
> SEVERE: The required Server component failed to start so Tomcat is unable
> to start.
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardServer[8005]]
>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:690)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)
> Caused by: org.apache.catalina.LifecycleException: Failed to start
> component [StandardService[Catalina]]
>     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)
>     ... 7 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start
> component [StandardEngine[Catalina]]
>     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)
>     ... 9 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)
>     ... 11 more
>
> Feb 13, 2014 1:17:22 PM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["http-bio-8080"]
> Feb 13, 2014 1:17:22 PM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
> Feb 13, 2014 1:17:22 PM org.apache.catalina.core.StandardService
> stopInternal
> INFO: Stopping service Catalina
> Feb 13, 2014 1:17:22 PM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["http-bio-8080"]
> Feb 13, 2014 1:17:22 PM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message