tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NaveenShan <naveens...@yahoo.com>
Subject Re: Error starting Tomcat
Date Wed, 14 Sep 2011 06:31:56 GMT

Can anyone please help in this.. I am also facing the same error..

Regards
Naveen


Pratibha S wrote:
> 
> Hi,
> 
> I'm a newbie. I'm unable to start Tomcat from Eclipse Indigo and getting
> the
> error below. I checked forums and found that I need to remove servlet.api
> from CLASSPATH. I removed the entry in the "Libraries" and also tried
> removing the file from tomcat/lib. Now, Eclipse is not recognizing
> "javax.servlet.annotation" and some other servlet classes. Please help.
> 
> 
> --------------------------------
> Aug 25, 2011 6:00:34 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:
> /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386::/usr/java/packages/lib/i386:/usr/lib/i386-linux-gnu/jni:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/jni:/lib:/usr/lib
> Aug 25, 2011 6:00:34 PM org.apache.tomcat.util.digester.SetPropertiesRule
> begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'source' to 'org.eclipse.jst.jee.server:RecommendationApp' did
> not
> find a matching property.
> Aug 25, 2011 6:00:35 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> Aug 25, 2011 6:00:35 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
> Aug 25, 2011 6:00:35 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1634 ms
> Aug 25, 2011 6:00:35 PM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Aug 25, 2011 6:00:35 PM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.20
> Aug 25, 2011 6:00:35 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:152)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
> 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:616)
> 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:152)
> at
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> ... 7 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start
> component
> [StandardEngine[Catalina]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
> at
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> ... 9 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start
> component
> [StandardEngine[Catalina].StandardHost[localhost]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
> at
> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> ... 11 more
> Caused by: org.apache.catalina.LifecycleException: Failed to start
> component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
> at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
> at
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> ... 14 more
> Caused by: java.lang.NoSuchMethodError:
> javax.servlet.ServletContext.getSessionCookieConfig()Ljavax/servlet/SessionCookieConfig;
> at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1308)
> at
> org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1390)
> at
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)
> at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)
> 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:5103)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
> ... 17 more
> Aug 25, 2011 6:00:35 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 215 ms
> ----------------------------------------
> 
> 

-- 
View this message in context: http://old.nabble.com/Error-starting-Tomcat-tp32338111p32461187.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message