Server Tomcat v7.0 Server at localhost failed to start.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sadhana nayak
    New Member
    • Oct 2015
    • 2

    Server Tomcat v7.0 Server at localhost failed to start.

    when i start the tomcat server it is showing error server tomcat failed to start..And also when i give the localhost:8080 in browser apache tomcat page is not opening.In console it is showing error like

    Oct 04, 2015 7:36:51 PM org.apache.tomc at.util.digeste r.SetProperties Rule begin
    WARNING: [SetPropertiesRu le]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.js t.jee.server:Ca lculator1' did not find a matching property.
    Oct 04, 2015 7:36:51 PM org.apache.tomc at.util.digeste r.SetProperties Rule begin
    WARNING: [SetPropertiesRu le]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.js t.jee.server:Gr eetingMessage' did not find a matching property.
    Oct 04, 2015 7:36:51 PM org.apache.tomc at.util.digeste r.SetProperties Rule begin
    WARNING: [SetPropertiesRu le]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.js t.jee.server:Se rvletHelloWorld ' did not find a matching property.
    Oct 04, 2015 7:36:51 PM org.apache.tomc at.util.digeste r.SetProperties Rule begin
    WARNING: [SetPropertiesRu le]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.js t.jee.server:pg m2' did not find a matching property.
    Oct 04, 2015 7:36:51 PM org.apache.tomc at.util.digeste r.SetProperties Rule begin
    WARNING: [SetPropertiesRu le]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.js t.jee.server:ne wpro' did not find a matching property.
    Oct 04, 2015 7:36:51 PM org.apache.tomc at.util.digeste r.SetProperties Rule begin
    WARNING: [SetPropertiesRu le]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.js t.jee.server:pg m3' did not find a matching property.
    Oct 04, 2015 7:36:51 PM org.apache.tomc at.util.digeste r.SetProperties Rule begin
    WARNING: [SetPropertiesRu le]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.js t.jee.server:de mo1' did not find a matching property.
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Server version: Apache Tomcat/7.0.64
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Server built: Aug 19 2015 17:18:06 UTC
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Server number: 7.0.64.0
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: OS Name: Windows 8
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: OS Version: 6.2
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Architecture: x86
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Java Home: C:\Program Files (x86)\Java\jre7
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: JVM Version: 1.7.0_51-b13
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: JVM Vendor: Oracle Corporation
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: CATALINA_BASE: C:\Users\user\D ownloads\apache-tomcat-7.0.64
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: CATALINA_HOME: C:\Users\user\D ownloads\apache-tomcat-7.0.64
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Command line argument: -Dcatalina.base= C:\Users\user\D ownloads\apache-tomcat-7.0.64
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Command line argument: -Dcatalina.home= C:\Users\user\D ownloads\apache-tomcat-7.0.64
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Command line argument: -Dwtp.deploy=C:\ Users\user\Down loads\apache-tomcat-7.0.64\wtpwebap ps
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Command line argument: -Djava.endorsed. dirs=C:\Users\u ser\Downloads\a pache-tomcat-7.0.64\endorsed
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ve rsionLoggerList ener log
    INFO: Command line argument: -Dfile.encoding= Cp1252
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.core.AprLi fecycleListener lifecycleEvent
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.pa th: C:\Program Files (x86)\Java\jre7 \bin;C:\Windows \Sun\Java\bin;C :\Windows\syste m32;C:\Windows; C:/Program Files (x86)/Java/jre7/bin/client;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/Java/jre7/lib/i386;C:\Program Files (x86)\PC Connectivity Solution\;C:\Wi ndows\system32; C:\Windows;C:\W indows\System32 \Wbem;C:\Window s\System32\Wind owsPowerShell\v 1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tool s\Binn\;C:\Prog ram Files\Microsoft SQL Server\100\Tool s\Binn\;C:\Prog ram Files\Microsoft SQL Server\100\DTS\ Binn\;C:\PROGRA ~2\IBM\SQLLIB\B IN;C:\PROGRA~2\ IBM\SQLLIB\FUNC TION;C:\PROGRA~ 2\IBM\SQLLIB\SA MPLES\REPL;C:\P rogram Files (x86)\Java\jdk1 .7.0_51\bin;C:\ Program Files (x86)\Common Files\lenovo\ea syplussdk\bin;E :\eclipse;;.
    Oct 04, 2015 7:36:51 PM org.apache.coyo te.AbstractProt ocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Oct 04, 2015 7:36:51 PM org.apache.coyo te.AbstractProt ocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Ca talina load
    INFO: Initialization processed in 861 ms
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.core.Stand ardService startInternal
    INFO: Starting service Catalina
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.core.Stand ardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.64
    Oct 04, 2015 7:36:51 PM org.apache.cata lina.startup.Tl dConfig execute
    INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    Oct 04, 2015 7:36:52 PM org.apache.cata lina.util.Sessi onIdGeneratorBa se createSecureRan dom
    INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [451] milliseconds.
    Oct 04, 2015 7:36:52 PM org.apache.cata lina.startup.Tl dConfig execute
    INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    Oct 04, 2015 7:36:52 PM org.apache.cata lina.startup.Tl dConfig execute
    INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    Oct 04, 2015 7:36:52 PM org.apache.cata lina.startup.Tl dConfig execute
    INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    Oct 04, 2015 7:36:53 PM org.apache.cata lina.startup.Tl dConfig execute
    INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    Oct 04, 2015 7:36:53 PM org.apache.cata lina.core.Conta inerBase startInternal
    SEVERE: A child container failed during start
    java.util.concu rrent.Execution Exception: org.apache.cata lina.LifecycleE xception: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContex t[/pgm3]]
    at java.util.concu rrent.FutureTas k.report(Unknow n Source)
    at java.util.concu rrent.FutureTas k.get(Unknown Source)
    at org.apache.cata lina.core.Conta inerBase.startI nternal(Contain erBase.java:112 2)
    at org.apache.cata lina.core.Stand ardHost.startIn ternal(Standard Host.java:819)
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:150)
    at org.apache.cata lina.core.Conta inerBase$StartC hild.call(Conta inerBase.java:1 574)
    at org.apache.cata lina.core.Conta inerBase$StartC hild.call(Conta inerBase.java:1 564)
    at java.util.concu rrent.FutureTas k.run(Unknown Source)
    at java.util.concu rrent.ThreadPoo lExecutor.runWo rker(Unknown Source)
    at java.util.concu rrent.ThreadPoo lExecutor$Worke r.run(Unknown Source)
    at java.lang.Threa d.run(Unknown Source)
    Caused by: org.apache.cata lina.LifecycleE xception: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContex t[/pgm3]]
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:154)
    ... 6 more
    Caused by: java.lang.Illeg alArgumentExcep tion: JSP file program3.jsp must start with a '/
    at org.apache.cata lina.startup.Co ntextConfig.con vertJsp(Context Config.java:155 2)
    at org.apache.cata lina.startup.Co ntextConfig.con vertJsps(Contex tConfig.java:15 36)
    at org.apache.cata lina.startup.Co ntextConfig.web Config(ContextC onfig.java:1352 )
    at org.apache.cata lina.startup.Co ntextConfig.con figureStart(Con textConfig.java :889)
    at org.apache.cata lina.startup.Co ntextConfig.lif ecycleEvent(Con textConfig.java :386)
    at org.apache.cata lina.util.Lifec ycleSupport.fir eLifecycleEvent (LifecycleSuppo rt.java:117)
    at org.apache.cata lina.util.Lifec ycleBase.fireLi fecycleEvent(Li fecycleBase.jav a:90)
    at org.apache.cata lina.core.Stand ardContext.star tInternal(Stand ardContext.java :5405)
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:150)
    ... 6 more

    Oct 04, 2015 7:36:53 PM org.apache.cata lina.startup.Tl dConfig execute
    INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    Oct 04, 2015 7:36:53 PM org.apache.cata lina.core.Conta inerBase startInternal
    SEVERE: A child container failed during start
    java.util.concu rrent.Execution Exception: org.apache.cata lina.LifecycleE xception: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at java.util.concu rrent.FutureTas k.report(Unknow n Source)
    at java.util.concu rrent.FutureTas k.get(Unknown Source)
    at org.apache.cata lina.core.Conta inerBase.startI nternal(Contain erBase.java:112 2)
    at org.apache.cata lina.core.Stand ardEngine.start Internal(Standa rdEngine.java:3 00)
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:150)
    at org.apache.cata lina.core.Stand ardService.star tInternal(Stand ardService.java :443)
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:150)
    at org.apache.cata lina.core.Stand ardServer.start Internal(Standa rdServer.java:7 39)
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:150)
    at org.apache.cata lina.startup.Ca talina.start(Ca talina.java:689 )
    at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
    at sun.reflect.Nat iveMethodAccess orImpl.invoke(U nknown Source)
    at sun.reflect.Del egatingMethodAc cessorImpl.invo ke(Unknown Source)
    at java.lang.refle ct.Method.invok e(Unknown Source)
    at org.apache.cata lina.startup.Bo otstrap.start(B ootstrap.java:3 21)
    at org.apache.cata lina.startup.Bo otstrap.main(Bo otstrap.java:45 5)
    Caused by: org.apache.cata lina.LifecycleE xception: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:154)
    at org.apache.cata lina.core.Conta inerBase$StartC hild.call(Conta inerBase.java:1 574)
    at org.apache.cata lina.core.Conta inerBase$StartC hild.call(Conta inerBase.java:1 564)
    at java.util.concu rrent.FutureTas k.run(Unknown Source)
    at java.util.concu rrent.ThreadPoo lExecutor.runWo rker(Unknown Source)
    at java.util.concu rrent.ThreadPoo lExecutor$Worke r.run(Unknown Source)
    at java.lang.Threa d.run(Unknown Source)
    Caused by: org.apache.cata lina.LifecycleE xception: A child container failed during start
    at org.apache.cata lina.core.Conta inerBase.startI nternal(Contain erBase.java:113 0)
    at org.apache.cata lina.core.Stand ardHost.startIn ternal(Standard Host.java:819)
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:150)
    ... 6 more

    Oct 04, 2015 7:36:53 PM org.apache.cata lina.startup.Ca talina start
    SEVERE: The required Server component failed to start so Tomcat is unable to start.
    org.apache.cata lina.LifecycleE xception: Failed to start component [StandardServer[8005]]
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:154)
    at org.apache.cata lina.startup.Ca talina.start(Ca talina.java:689 )
    at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
    at sun.reflect.Nat iveMethodAccess orImpl.invoke(U nknown Source)
    at sun.reflect.Del egatingMethodAc cessorImpl.invo ke(Unknown Source)
    at java.lang.refle ct.Method.invok e(Unknown Source)
    at org.apache.cata lina.startup.Bo otstrap.start(B ootstrap.java:3 21)
    at org.apache.cata lina.startup.Bo otstrap.main(Bo otstrap.java:45 5)
    Caused by: org.apache.cata lina.LifecycleE xception: Failed to start component [StandardService[Catalina]]
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:154)
    at org.apache.cata lina.core.Stand ardServer.start Internal(Standa rdServer.java:7 39)
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:150)
    ... 7 more
    Caused by: org.apache.cata lina.LifecycleE xception: Failed to start component [StandardEngine[Catalina]]
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:154)
    at org.apache.cata lina.core.Stand ardService.star tInternal(Stand ardService.java :443)
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:150)
    ... 9 more
    Caused by: org.apache.cata lina.LifecycleE xception: A child container failed during start
    at org.apache.cata lina.core.Conta inerBase.startI nternal(Contain erBase.java:113 0)
    at org.apache.cata lina.core.Stand ardEngine.start Internal(Standa rdEngine.java:3 00)
    at org.apache.cata lina.util.Lifec ycleBase.start( LifecycleBase.j ava:150)
    ... 11 more

    Oct 04, 2015 7:36:53 PM org.apache.coyo te.AbstractProt ocol pause
    INFO: Pausing ProtocolHandler ["http-bio-8080"]
    Oct 04, 2015 7:36:53 PM org.apache.coyo te.AbstractProt ocol pause
    INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
    Oct 04, 2015 7:36:53 PM org.apache.cata lina.core.Stand ardService stopInternal
    INFO: Stopping service Catalina
    Oct 04, 2015 7:36:53 PM org.apache.coyo te.AbstractProt ocol destroy
    INFO: Destroying ProtocolHandler ["http-bio-8080"]
    Oct 04, 2015 7:36:53 PM org.apache.coyo te.AbstractProt ocol destroy
    INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    I do see a lot of WARNING's and INFO's....

    The first interesting line is:
    Code:
    SEVERE: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/pgm3]]	at java.util.concurrent.FutureTask.report(Unknown Source)
    After Googling for this, next website might give a clue:
    SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[

    Comment

    • sadhana nayak
      New Member
      • Oct 2015
      • 2

      #3
      Thank you for replying.I have seen the solution which is mentioned in that link.But I didnt get what to do.Please suggest some solution.

      Comment

      Working...