Results 1 to 4 of 4
  1. #1
    vitorcbl is offline Member
    Join Date
    Aug 2014
    Posts
    3
    Rep Power
    0

    Default Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]

    Hi, can anyone help me too? My problem seems the same but the solutions are not =/

    Im using jdk6 with tomcat7, the output It throws following error:

    07/08/2014 10:41:31 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\Java\jdk1.6.0_45\bin;C:\Windows\Sun\Java\bin ;C:\Windows\system32;C:\Windows;C:\Windows\system3 2;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\S ystem32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\SAP\SAP Business One DI API\JCO\LIB\;C:\Program Files (x86)\SAP\SAP Business One\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\apache-ant-1.8.4\bin;C:\Program Files\Java\jdk1.6.0_45\bin;.
    07/08/2014 10:41:33 org.apache.tomcat.util.digester.SetPropertiesRule begin
    AVISO: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:temcontrole-web' did not find a matching property.
    07/08/2014 10:41:36 org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    07/08/2014 10:41:36 org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
    07/08/2014 10:41:36 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 6714 ms
    07/08/2014 10:41:37 org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    07/08/2014 10:41:37 org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.32
    07/08/2014 10:41:38 org.apache.catalina.core.ContainerBase startInternal
    GRAVE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/web-client]]
    at java.util.concurrent.FutureTask$Sync.innerGet(Futu reTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.jav a:83)
    at org.apache.catalina.core.ContainerBase.startIntern al(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardHost.startInterna l(StandardHost.java:800)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.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$Sync.innerRun(Futu reTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/web-client]]
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:154)
    ... 7 more
    Caused by: java.lang.NoClassDefFoundError: br/com/telemikro/arquitetura/mvc/GenericDAO
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.jav a:2300)
    at java.lang.Class.getDeclaredFields(Class.java:1745)
    at org.apache.catalina.util.Introspection.getDeclared Fields(Introspection.java:87)
    at org.apache.catalina.startup.WebAnnotationSet.loadF ieldsAnnotation(WebAnnotationSet.java:261)
    at org.apache.catalina.startup.WebAnnotationSet.loadA pplicationListenerAnnotations(WebAnnotationSet.jav a:90)
    at org.apache.catalina.startup.WebAnnotationSet.loadA pplicationAnnotations(WebAnnotationSet.java:65)
    at org.apache.catalina.startup.ContextConfig.applicat ionAnnotationsConfig(ContextConfig.java:405)
    at org.apache.catalina.startup.ContextConfig.configur eStart(ContextConfig.java:881)
    at org.apache.catalina.startup.ContextConfig.lifecycl eEvent(ContextConfig.java:369)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.util.LifecycleBase.fireLifecyc leEvent(LifecycleBase.java:90)
    at org.apache.catalina.core.StandardContext.startInte rnal(StandardContext.java:5173)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 7 more
    Caused by: java.lang.ClassNotFoundException: br.com.telemikro.arquitetura.mvc.GenericDAO
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1714)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1559)
    ... 21 more
    07/08/2014 10:41:39 org.apache.catalina.util.SessionIdGenerator createSecureRandom
    INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [157] milliseconds.
    07/08/2014 10:41:39 org.apache.catalina.core.ContainerBase startInternal
    GRAVE: 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$Sync.innerGet(Futu reTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.jav a:83)
    at org.apache.catalina.core.ContainerBase.startIntern al(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardEngine.startInter nal(StandardEngine.java:302)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    at org.apache.catalina.core.StandardService.startInte rnal(StandardService.java:443)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    at org.apache.catalina.core.StandardServer.startInter nal(StandardServer.java:732)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:684)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:322)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:451)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.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$Sync.innerRun(Futu reTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    at org.apache.catalina.core.ContainerBase.startIntern al(ContainerBase.java:1131)
    at org.apache.catalina.core.StandardHost.startInterna l(StandardHost.java:800)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 7 more
    07/08/2014 10:41:39 org.apache.catalina.startup.Catalina start
    GRAVE: Catalina.start:
    org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:154)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:684)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:322)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:451)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:154)
    at org.apache.catalina.core.StandardServer.startInter nal(StandardServer.java:732)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 7 more
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:154)
    at org.apache.catalina.core.StandardService.startInte rnal(StandardService.java:443)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 9 more
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    at org.apache.catalina.core.ContainerBase.startIntern al(ContainerBase.java:1131)
    at org.apache.catalina.core.StandardEngine.startInter nal(StandardEngine.java:302)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 11 more
    07/08/2014 10:41:39 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2421 ms

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,086
    Rep Power
    20

    Default Re: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]

    That's because it is a different error.
    I've shifted this to its own thread.

    "Failed to start component" is a generic erro and you need to dig into the stack trace to find the root cause, which can be one of a number of things.

    In your case:
    Caused by: java.lang.NoClassDefFoundError: br/com/telemikro/arquitetura/mvc/GenericDAO
    ...
    Caused by: java.lang.ClassNotFoundException: br.com.telemikro.arquitetura.mvc.GenericDAO

    So that class is not on your classpath.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    vitorcbl is offline Member
    Join Date
    Aug 2014
    Posts
    3
    Rep Power
    0

    Default Re: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]

    Quote Originally Posted by Tolls View Post
    That's because it is a different error.
    I've shifted this to its own thread.

    "Failed to start component" is a generic erro and you need to dig into the stack trace to find the root cause, which can be one of a number of things.

    In your case:
    Caused by: java.lang.NoClassDefFoundError: br/com/telemikro/arquitetura/mvc/GenericDAO
    ...
    Caused by: java.lang.ClassNotFoundException: br.com.telemikro.arquitetura.mvc.GenericDAO

    So that class is not on your classpath.

    Yeah, that seems about right, the problem is, how to solve it? Where do i configure the project or the eclipse to throw that class on the classpath?

    This specific class is located in the same system, only a different folder from the dozen of it, and the same goes for a few others, do you have any idea of how can I solve it?

    Thanks.

  4. #4
    vitorcbl is offline Member
    Join Date
    Aug 2014
    Posts
    3
    Rep Power
    0

    Default Re: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]

    I finally got it to work. It was coplaining about a bunch of packages.jar located in its lib folder but it wasn't aknowledging them. After a few changes and hours of tests I finally made it run nice and well :D

    Thanks for the help guys :D

Similar Threads

  1. Replies: 6
    Last Post: 03-29-2014, 12:10 AM
  2. Replies: 2
    Last Post: 09-24-2011, 08:53 AM
  3. Replies: 4
    Last Post: 12-07-2010, 10:34 PM
  4. glassfish server3 start failed
    By jyothi.priyanka in forum NetBeans
    Replies: 1
    Last Post: 07-26-2010, 05:09 AM
  5. How to rotate catalina.out without restarting tomcat
    By kzvi.kzvi.1 in forum Advanced Java
    Replies: 1
    Last Post: 03-25-2010, 06:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •