boff i try to install tomcat 5 and i did what you tell me the result of
chkconfig --level 2345 tomcat5 on
is
tomcat5 0:arręt1:arręt2:arręt3:arręt4:arręt5:arręt6:arręt
---------- Post added at 03:56 PM ---------- Previous post was at 03:54 PM ----------
Originally Posted by
giulix
Well, those are examples and tools for Tomcat6, you have to install Tomcat6 first:
Code:
su -c "yum install tomcat6"
I try it but when i start tomcat6 i took this msg ! tomcat6 : service not found...
This is why i try with tomcat5
---------- Post added at 03:58 PM ---------- Previous post was at 03:56 PM ----------
and this is the result of my catalina.out
Code:
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:
Apr 11, 2011 10:50:58 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Apr 11, 2011 10:50:58 PM org.apache.coyote.http11.Http11BaseProtocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8080
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:298)
at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
... .... ...
Apr 12, 2011 4:38:43 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Apr 12, 2011 4:38:44 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Apr 12, 2011 4:38:44 PM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:162)
at org.apache.catalina.connector.Connector.stop(Connector.java:1138)
at org.apache.catalina.core.StandardService.stop(StandardService.java:519)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:645)
Apr 12, 2011 4:38:44 PM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Apr 12, 2011 4:38:44 PM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
Apr 12, 2011 4:38:44 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime