{"id":6447,"date":"2014-04-18T05:38:18","date_gmt":"2014-04-18T05:38:18","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/18\/error-while-starting-the-tomcat-7-in-eclipse-collection-of-common-programming-errors-2\/"},"modified":"2014-04-18T05:38:18","modified_gmt":"2014-04-18T05:38:18","slug":"error-while-starting-the-tomcat-7-in-eclipse-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/18\/error-while-starting-the-tomcat-7-in-eclipse-collection-of-common-programming-errors-2\/","title":{"rendered":"Error while starting the tomcat 7 in eclipse-Collection of common programming errors"},"content":{"rendered":"<p>I am getting this error, when i start the tomcat in eclipse, please tell me how to fix it, i tried removing and adding server again and again..<\/p>\n<p>And i am new to tomcat server, Please i need help to fix this.<\/p>\n<pre><code>Feb 20, 2013 1:54:11 AM org.apache.catalina.core.AprLifecycleListener init\nINFO: 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.7.0\\bin;C:\\Windows\\Sun\\Java\\bin;C:\\Windows\\system32;C:\\Windows;c:\/Program Files\/java\/jdk1.7.0\/bin\/..\/jre\/bin\/server;c:\/Program Files\/java\/jdk1.7.0\/bin\/..\/jre\/bin;c:\/Program Files\/java\/jdk1.7.0\/bin\/..\/jre\/lib\/amd64;c:\\Program Files\\java\\jdk1.7.0\\bin;c:\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn\\;c:\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn\\;c:\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn\\;c:\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn\\VSShell\\Common7\\IDE\\;c:\\Program Files (x86)\\Microsoft SQL Server\\100\\DTS\\Binn\\;D:\\android\\eclipse;;.\nFeb 20, 2013 1:54:11 AM org.apache.tomcat.util.digester.SetPropertiesRule begin\nWARNING: [SetPropertiesRule]{Server\/Service\/Engine\/Host\/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Tester' did not find a matching property.\nFeb 20, 2013 1:54:11 AM org.apache.tomcat.util.digester.SetPropertiesRule begin\nWARNING: [SetPropertiesRule]{Server\/Service\/Engine\/Host\/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:RestAutomationAdmin' did not find a matching property.\nFeb 20, 2013 1:54:11 AM org.apache.tomcat.util.digester.SetPropertiesRule begin\nWARNING: [SetPropertiesRule]{Server\/Service\/Engine\/Host\/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:RestAutomationMobile' did not find a matching property.\nFeb 20, 2013 1:54:11 AM org.apache.coyote.AbstractProtocol init\nINFO: Initializing ProtocolHandler [\"http-bio-8080\"]\nFeb 20, 2013 1:54:11 AM org.apache.coyote.AbstractProtocol init\nINFO: Initializing ProtocolHandler [\"ajp-bio-8009\"]\nFeb 20, 2013 1:54:11 AM org.apache.catalina.startup.Catalina load\nINFO: Initialization processed in 871 ms\nFeb 20, 2013 1:54:11 AM org.apache.catalina.core.StandardService startInternal\nINFO: Starting service Catalina\nFeb 20, 2013 1:54:11 AM org.apache.catalina.core.StandardEngine startInternal\nINFO: Starting Servlet Engine: Apache Tomcat\/7.0.35\nFeb 20, 2013 1:54:12 AM org.apache.catalina.core.ContainerBase startInternal\nSEVERE: A child container failed during start\njava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[\/RestAutomationAdmin]]\n    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)\n    at java.util.concurrent.FutureTask.get(FutureTask.java:111)\n    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)\n    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)\n    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)\n    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\n    at java.util.concurrent.FutureTask.run(FutureTask.java:166)\n    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n    at java.lang.Thread.run(Thread.java:722)\nCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[\/RestAutomationAdmin]]\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)\n    ... 7 more\nCaused by: java.lang.NoClassDefFoundError: FilterConfig\n    at java.lang.Class.getDeclaredMethods0(Native Method)\n    at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)\n    at java.lang.Class.getDeclaredMethods(Class.java:1808)\n    at org.apache.catalina.util.Introspection.getDeclaredMethods(Introspection.java:127)\n    at org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation(WebAnnotationSet.java:279)\n    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:111)\n    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:66)\n    at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:405)\n    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)\n    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)\n    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)\n    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)\n    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n    ... 7 more\nCaused by: java.lang.ClassNotFoundException: FilterConfig\n    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)\n    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)\n    ... 21 more\n\nFeb 20, 2013 1:54:12 AM org.apache.catalina.core.ContainerBase startInternal\nSEVERE: A child container failed during start\njava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]\n    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)\n    at java.util.concurrent.FutureTask.get(FutureTask.java:111)\n    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)\n    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n    at org.apache.catalina.startup.Catalina.start(Catalina.java:684)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n    at java.lang.reflect.Method.invoke(Method.java:601)\n    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)\n    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)\nCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)\n    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)\n    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)\n    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\n    at java.util.concurrent.FutureTask.run(FutureTask.java:166)\n    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n    at java.lang.Thread.run(Thread.java:722)\nCaused by: org.apache.catalina.LifecycleException: A child container failed during start\n    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)\n    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n    ... 7 more\n\nFeb 20, 2013 1:54:12 AM org.apache.catalina.startup.Catalina start\nSEVERE: Catalina.start: \norg.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)\n    at org.apache.catalina.startup.Catalina.start(Catalina.java:684)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n    at java.lang.reflect.Method.invoke(Method.java:601)\n    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)\n    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)\nCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)\n    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n    ... 7 more\nCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)\n    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n    ... 9 more\nCaused by: org.apache.catalina.LifecycleException: A child container failed during start\n    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)\n    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)\n    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n    ... 11 more\n\nFeb 20, 2013 1:54:12 AM org.apache.catalina.startup.Catalina start\nINFO: Server startup in 1011 ms\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I am getting this error, when i start the tomcat in eclipse, please tell me how to fix it, i tried removing and adding server again and again.. And i am new to tomcat server, Please i need help to fix this. Feb 20, 2013 1:54:11 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6447","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6447"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6447\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}