• Register
0 votes
417 views

Problem :

I am having following Tomcat Error :

org.apache.catalina.core.ContainerBase startInternal

Schwerwiegend: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/NAR_JDBC_DBO]]

    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

    at java.util.concurrent.FutureTask.get(FutureTask.java:111)

    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1128)

    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:782)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)

    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

    at java.util.concurrent.FutureTask.run(FutureTask.java:166)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

    at java.lang.Thread.run(Thread.java:722)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/NAR_JDBC_DBO]]

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

    ... 7 more

Caused by: java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet

    at java.lang.Class.getDeclaredFields0(Native Method)

    at java.lang.Class.privateGetDeclaredFields(Class.java:2308)

    at java.lang.Class.getDeclaredFields(Class.java:1760)

    at org.apache.catalina.startup.WebAnnotationSet.getDeclaredFields(WebAnnotationSet.java:452)

    at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:257)

    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:136)

    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:66)

    at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:381)

    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:858)

    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:345)

    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:5161)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    ... 7 more

Caused by: java.lang.ClassNotFoundException: org.apache.commons.digester.RuleSet

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)

    ... 21 more

org.apache.catalina.core.ContainerBase startInternal

Schwerwiegend: 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(FutureTask.java:252)

    at java.util.concurrent.FutureTask.get(FutureTask.java:111)

    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1128)

    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:675)

    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:601)

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)

    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)

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:1566)

    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

    at java.util.concurrent.FutureTask.run(FutureTask.java:166)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

    at java.lang.Thread.run(Thread.java:722)

Caused by: org.apache.catalina.LifecycleException: A child container failed during start

    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1136)

    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:782)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    ... 7 more

org.apache.catalina.startup.Catalina start

Schwerwiegend: 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:675)

    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:601)

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)

    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)

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:1136)

    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    ... 11 more

org.apache.catalina.startup.Catalina start

Information: Server startup in 540 ms

Why am I getting above error?

Please Note : Using an Apache Tomcat 7 and the following 4 Catalina jars are also used

·         catalina.jar

·         catalina-ant.jar

·         catalina-ha.jar

·         catalina-tribes.jar

Am I missing any other JAR files?

6.9k points

1 Answer

0 votes

Solution :

I have the Simple Solution for you.

You are just missing commons-digester3-3.2.jar  If you are using Maven you can add following code to your project dependencies :

<dependency>
    <groupId>commons-digester</groupId>
    <artifactId>commons-digester</artifactId>
    <version>2.1</version>
</dependency>

 

Further Readings :

http://commons.apache.org/proper/commons-digester/download_digester.cgi

36.1k points

Related questions

0 votes
1 answer 148 views
148 views
Problem : Currently I am trying to develop the REST API using the Spring Framework I am unable to run my application because of below error. Description: The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may ... this application to listen on another port. My 8080 port on my PC is seems to be busy. How can I fix this issue?
asked Feb 28 mphil 2.3k points
1 vote
1 answer 153 views
153 views
Problem : I am very new to Eclipse, Tomcat and Java. Currently I am using Eclipse Neon and Tomcat server 9.0 and also the JDK 1.8. Everything was working perfectly well but unfortunately the current setup is now showing me below error: Starting tomcat v9.0 server at localhost ... app which I am currently working on. I have spent two days on above issue. So now I am looking for expert help on it.
asked May 18 Martin K 6.6k points
1 vote
1 answer 28 views
28 views
Problem: I am very new to Web.xml coding. Currently I am facing serious problem because of my web.xml file. If I try to run my Apache tomcat 8 server then every time it shows me below error: Server tomcat v8.0 server at localhost failed to start. in eclipse. If I ... . This error made my life like the hell. So I am looking for the help from web.xml expert who can help me in fixing my problem.
asked May 18 Martin K 6.6k points
0 votes
1 answer 80 views
80 views
Problem : When I installed the final certificate I got the following error: keytool error: java.lang.Exception: Failed to establish chain from reply
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
1 answer 547 views
547 views
Problem : Getting strange error related to constant pool as follows org.apache.tomcat.util.bcel.classfile.classformatexception: invalid byte tag in constant pool: 19
asked Nov 11, 2019 peterlaw 6.9k points