tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Catalina start problem
Date Thu, 03 Apr 2014 17:36:05 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Neeraj,

On 4/2/14, 4:23 AM, Neeraj Sinha wrote:
> I am trying to start tomcat on linux and I am getting
> LifecycleException exception whose snippet is below:
> 
> Apr 2, 2014 8:33:53 AM
> 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/java/jdk1.6.0_38/jre/lib/amd64/server:/usr/java/jdk1.6.0_38/jre/lib/amd64:/usr/java/jdk1.6.0_38/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
>
> 
Apr 2, 2014 8:33:53 AM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"] Apr 2, 2014
> 8:33:53 AM org.apache.coyote.AbstractProtocol init INFO:
> Initializing ProtocolHandler ["ajp-bio-8009"] Apr 2, 2014 8:33:53
> AM org.apache.catalina.startup.Catalina load INFO: Initialization
> processed in 890 ms Apr 2, 2014 8:33:53 AM
> 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(NativeMethodAccessorImpl.java:39)
>
> 
at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> 
at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) 
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:451) 
> Caused by: java.lang.NoSuchMethodError: 
> org.apache.naming.NamingContext.setExceptionOnFailedWrite(Z)V at 
> org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:264)
>
> 
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.StandardServer.startInternal(StandardServer.java:724)
>
> 
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> ... 7 more Apr 2, 2014 8:33:53 AM
> org.apache.catalina.startup.Catalina start INFO: Server startup in
> 6 ms
> 
> One reason I could guess for this is that Tomcat jar may not be
> proper but I have checked that and that looks fine to me.
> 
> Appreciated if somebody could help me.

What version of Tomcat are you trying to run? Have you modified your
Tomcat installation other than changes to server.xml and adding web
applications to it? Do any of your web applications have any Tomcat
JAR files in them?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTPZwDAAoJEBzwKT+lPKRYICEQALVfnTT7vGzt1ICafuznVYn1
Wz778Ij8WtbY8FDDfvtJREyf+4Xcw1YAsQa4acSkjmFRZW9AHE+BMFs82dYiVO3q
9XktiZOGJ1cfc2WqGD4NlRIC4u0lnPJau0js/vf2je3fd61sixh5+r7Lwftp7fQ1
9QsAEIZG3XHmrEVVrw1iMwm5fEAPSokBJX6Dxe2SA3hmKddgME2lYuenZLuiVjmm
OQyntOdMlrSLQGQdBNbdR3cLSoDbLXTXkGCWy5/Xsjn9inKXC2fZdbzqShwT3+C6
o9nbpzLjM2l1EHnig+qYw9oEUhEAfdohtk3h2csJsIpX/Qndh2PnoeuGdmBRC+B0
UDGFDOMhx3HLjbK9Lvt86q7LL5ZCeNQPCe/3OpcgsV8OST1wO3mFcwoBPQhFSkks
pIlSu9t9NkbWBQf9TiFxVPl2YG3byvdgTT/puN094HN+Swbt7OZ7aRUIuisDEl6Q
I7qetrOTh4O29mLBs2YHYx9UmMbbtXNR+ODppzD7CmHqIFWVparDPTFHgdqAT8ES
Bj9QMUKZ5uCCL0/KpR0M6swBNeeu1k0OCvLjrE536KUSTv9LQnltDRv+xSrHnnp3
FUSnWYFRGP8w1t07LQ2e6JGd5/YoEUEVcldfh9wx4hks/+XEx2/bR/gRHmHPLz7j
mejeP0348u/4sRBOfeqq
=UiH3
-----END PGP SIGNATURE-----

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


Mime
View raw message