tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeraj Sinha <neerajsinha....@gmail.com>
Subject Re: Catalina start problem
Date Fri, 04 Apr 2014 07:46:04 GMT
Chris,


On 3 April 2014 23:06, Christopher Schultz <chris@christopherschultz.net>wrote:

> -----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
>

  Thanks. I am using version 7.0.34. I have not modified anything in tomcat
installation but I have added JBoss client jars in /tomcat/lib   which is
required for web apps to access EJB services. Actually, I have this tomcat
installed and running in few other environments also without any problem. I
am trying to setup this on a new system where I copied the complete tomcat
and apache files from one of the environment and modified their
configuration files for domain and host configuration. Apart from this no
other changes. Yesterday, I tried to install from a fresh tomcat build and
I started getting the earlier mentioned exceptions when I added the
required Jboss client jars. So, this means that Jboss jars might have same
class which catalina.jar have but I am wondering howcome same setup is
working fine for other environments.

-- Neeraj

> -----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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message