Results 1 to 7 of 7
  1. #1
    vector_ever is offline Senior Member
    Join Date
    Jul 2013
    Posts
    187
    Rep Power
    2

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

    Hi,

    i tried to lunch a small project using Eclipse as IDE and Tomcat 7.0 as server (also JDK 7.0)

    i always get the following error:

    Java Code:
    Jul 17, 2013 8:01:53 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\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Almoued\Downloads\Arbeit\apache-maven-3.1.0-alpha-1\bin;.
    Jul 17, 2013 8:01:53 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:KraftwerkslisteTest' did not find a matching property.
    Jul 17, 2013 8:01:54 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Jul 17, 2013 8:01:54 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
    Jul 17, 2013 8:01:54 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1647 ms
    Jul 17, 2013 8:01:54 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Jul 17, 2013 8:01:54 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.41
    Jul 17, 2013 8:01:56 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].StandardContext[/KraftwerkslisteTest]]
    	at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
    	at java.util.concurrent.FutureTask.get(Unknown Source)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
    	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
    	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$Sync.innerRun(Unknown Source)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/KraftwerkslisteTest]]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
    	... 7 more
    Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name Jersey REST Service
    	at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3219)
    	at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3198)
    	at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1366)
    	at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1346)
    	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
    	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 7 more
    
    Jul 17, 2013 8:01:56 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$Sync.innerGet(Unknown Source)
    	at java.util.concurrent.FutureTask.get(Unknown Source)
    	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:684)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	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$Sync.innerRun(Unknown Source)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    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:800)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 7 more
    
    Jul 17, 2013 8:01:56 PM org.apache.catalina.startup.Catalina start
    SEVERE: Catalina.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:684)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	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
    
    Jul 17, 2013 8:01:56 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2677 ms
    i don't know how to solve it
    any ideas?

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,988
    Rep Power
    9

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

    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,098
    Rep Power
    6

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

    "Servlet mapping specifies an unknown servlet name Jersey REST Service"

    Seems quite clear, your web.xml contains a typo.

  4. #4
    vector_ever is offline Senior Member
    Join Date
    Jul 2013
    Posts
    187
    Rep Power
    2

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

    yes sorry that was my failure, i correct the class name in the xml file, but now by run the project have the following message:

    Java Code:
    HTTP Status 500 - Servlet.init() for servlet jersey-serlvet threw exception
     
     
    ype Exception report
     
    message Servlet.init() for servlet jersey-serlvet threw exception
     
    description The server encountered an internal error that prevented it from fulfilling this request.
     
    exception
     
    javax.servlet.ServletException: Servlet.init() for servlet jersey-serlvet threw exception
        org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        java.lang.Thread.run(Unknown Source)
    root cause
     
    com.sun.jersey.spi.inject.Errors$ErrorMessagesException
        com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170)
        com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136)
        com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199)
        com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:695)
        com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:690)
        com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:438)
        com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:287)
        com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:587)
        com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:213)
        com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:342)
        com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:516)
        javax.servlet.GenericServlet.init(GenericServlet.java:160)
        org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        java.lang.Thread.run(Unknown Source)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.41 logs.
    so how can avoid it?

  5. #5
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,098
    Rep Power
    6

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

    by fixing whatever problem you have. Apparently jersey is blowing up during initialization, perhaps a Google for 'com.sun.jersey.spi.inject.Errors$ErrorMessagesExc eption' can give you some hints to either fix or further research into the problem.

  6. #6
    Deepa123 is offline Member
    Join Date
    Mar 2014
    Posts
    2
    Rep Power
    0

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

    I cannot run the simple project

    Please help me

    It throws following error
    Mar 28, 2014 12:43:17 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\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Win dows\system32;C:\Windows;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\ System32\Wbem;C:\Windows\System32\WindowsPowerShel l\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Java\jdk1.7.0_51\bin;.
    Mar 28, 2014 12:43:17 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Example' did not find a matching property.
    Mar 28, 2014 12:43:17 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Mar 28, 2014 12:43:17 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
    Mar 28, 2014 12:43:17 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1092 ms
    Mar 28, 2014 12:43:18 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Mar 28, 2014 12:43:18 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.50
    Mar 28, 2014 12:43:19 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].StandardContext[/Example]]
    at java.util.concurrent.FutureTask.report(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at org.apache.catalina.core.ContainerBase.startIntern al(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardHost.startInterna l(StandardHost.java:801)
    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.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Example]]
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:154)
    ... 6 more
    Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> Hello in servlet mapping
    at org.apache.catalina.core.StandardContext.addServle tMapping(StandardContext.java:3267)
    at org.apache.catalina.core.StandardContext.addServle tMapping(StandardContext.java:3242)
    at org.apache.catalina.deploy.WebXml.configureContext (WebXml.java:1324)
    at org.apache.catalina.startup.ContextConfig.webConfi g(ContextConfig.java:1348)
    at org.apache.catalina.startup.ContextConfig.configur eStart(ContextConfig.java:880)
    at org.apache.catalina.startup.ContextConfig.lifecycl eEvent(ContextConfig.java:378)
    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:5343)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 6 more

    Mar 28, 2014 12:43:19 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(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    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:690)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:322)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:456)
    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.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    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:801)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 6 more

    Mar 28, 2014 12:43:19 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(Lifec ycleBase.java:154)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:690)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:322)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:456)
    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

    Mar 28, 2014 12:43:19 PM org.apache.coyote.AbstractProtocol pause
    INFO: Pausing ProtocolHandler ["http-bio-8080"]
    Mar 28, 2014 12:43:19 PM org.apache.coyote.AbstractProtocol pause
    INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
    Mar 28, 2014 12:43:19 PM org.apache.catalina.core.StandardService stopInternal
    INFO: Stopping service Catalina
    Mar 28, 2014 12:43:19 PM org.apache.coyote.AbstractProtocol destroy
    INFO: Destroying ProtocolHandler ["http-bio-8080"]
    Mar 28, 2014 12:43:19 PM org.apache.coyote.AbstractProtocol destroy
    INFO: Destroying ProtocolHandler ["ajp-bio-8009"]



    Thanks in advance...

  7. #7
    Deepa123 is offline Member
    Join Date
    Mar 2014
    Posts
    2
    Rep Power
    0

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

    Quote Originally Posted by Deepa123 View Post
    I cannot run the simple project

    Please help me

    It throws following error
    Mar 28, 2014 12:43:17 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\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Win dows\system32;C:\Windows;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\ System32\Wbem;C:\Windows\System32\WindowsPowerShel l\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Java\jdk1.7.0_51\bin;.
    Mar 28, 2014 12:43:17 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Example' did not find a matching property.
    Mar 28, 2014 12:43:17 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Mar 28, 2014 12:43:17 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
    Mar 28, 2014 12:43:17 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1092 ms
    Mar 28, 2014 12:43:18 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Mar 28, 2014 12:43:18 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.50
    Mar 28, 2014 12:43:19 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].StandardContext[/Example]]
    at java.util.concurrent.FutureTask.report(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at org.apache.catalina.core.ContainerBase.startIntern al(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardHost.startInterna l(StandardHost.java:801)
    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.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Example]]
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:154)
    ... 6 more
    Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> Hello in servlet mapping
    at org.apache.catalina.core.StandardContext.addServle tMapping(StandardContext.java:3267)
    at org.apache.catalina.core.StandardContext.addServle tMapping(StandardContext.java:3242)
    at org.apache.catalina.deploy.WebXml.configureContext (WebXml.java:1324)
    at org.apache.catalina.startup.ContextConfig.webConfi g(ContextConfig.java:1348)
    at org.apache.catalina.startup.ContextConfig.configur eStart(ContextConfig.java:880)
    at org.apache.catalina.startup.ContextConfig.lifecycl eEvent(ContextConfig.java:378)
    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:5343)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 6 more

    Mar 28, 2014 12:43:19 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(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    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:690)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:322)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:456)
    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.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    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:801)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 6 more

    Mar 28, 2014 12:43:19 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(Lifec ycleBase.java:154)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:690)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:322)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:456)
    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

    Mar 28, 2014 12:43:19 PM org.apache.coyote.AbstractProtocol pause
    INFO: Pausing ProtocolHandler ["http-bio-8080"]
    Mar 28, 2014 12:43:19 PM org.apache.coyote.AbstractProtocol pause
    INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
    Mar 28, 2014 12:43:19 PM org.apache.catalina.core.StandardService stopInternal
    INFO: Stopping service Catalina
    Mar 28, 2014 12:43:19 PM org.apache.coyote.AbstractProtocol destroy
    INFO: Destroying ProtocolHandler ["http-bio-8080"]
    Mar 28, 2014 12:43:19 PM org.apache.coyote.AbstractProtocol destroy
    INFO: Destroying ProtocolHandler ["ajp-bio-8009"]



    Thanks in advance...

    wow.... i found

    <servlet>
    <servlet-name>Hello</servlet-name>
    <servlet-class>com.src.Hello</servlet-class>
    </servlet>

    <servlet-mapping>
    <servlet-name>Hello</servlet-name>
    <url-pattern>/hello</url-pattern>
    </servlet-mapping>


    when i use url pattern name same like servlet name means the error is comming
    <url-pattern>/Hello</url-pattern>

    if i change other url pattern its working...
    <url-pattern>/hello</url-pattern>

Similar Threads

  1. Replies: 2
    Last Post: 09-24-2011, 08:53 AM
  2. Replies: 4
    Last Post: 12-07-2010, 10:34 PM
  3. glassfish server3 start failed
    By jyothi.priyanka in forum NetBeans
    Replies: 1
    Last Post: 07-26-2010, 05:09 AM
  4. 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
  5. Usage of "swallowOutput" property for catalina.out
    By deeptijain1983 in forum Advanced Java
    Replies: 0
    Last Post: 07-20-2007, 01:51 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
  •