Re: Tomcat shutdown automaticly after randomaly period of time

2009-12-22 Thread André Warnier

Tomcat1 wrote:

hi,
i have Tomcat 6.0.20. i config server.xml to work with SSL. the problem is
that Tomcat shutdown after randomaly period of time and doesnt restart
again.


Hi.
It is not very clear what your problem is.  You have to be a bit more 
specific in your explanation.

Also tell us on which platform this is running, and the JVM version


The log which you included, shows a problem when Tomcat *starts*.
The problem, when Tomcat starts, is that when it tries to create the 
Connector on port 8443, it finds that this port is already in use by 
another process.  That is why it says :



SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8443


To see why that is, you need to :
- stop Tomcat
- find out if something else is using that port 8443.
Under both Unix/Linux and Windows, you can use the "netstat" command for 
that.  Look for a line that has ":8443" and "LISTEN" in it.
- if nothing else is using it, it may be that when you believed that 
Tomcat was stopped, it was not.


You have to resolve that first.

Once that issue is sorted out, then maybe we can start looking why 
"Tomcat shutdown after a random period".

That is not normal.  Tomcat does not usually shutdown by itself.
But that problem is not shown in the logfile that you copied here.



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



Re: Tomcat shutdown automaticly after randomaly period of time

2009-12-21 Thread Zacheusz Siedlecki
at
> org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
>        at
> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
>        at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
>        at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
>        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:592)
>        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
> Dec 21, 2009 3:50:06 AM org.apache.catalina.startup.Catalina load
>
> can you help me with that?
> thanks
> Ziv
> --
> View this message in context: 
> http://old.nabble.com/Tomcat-shutdown-automaticly-after-randomaly-period-of-time-tp26884442p26884442.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

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



Tomcat shutdown automaticly after randomaly period of time

2009-12-21 Thread Tomcat1

hi,
i have Tomcat 6.0.20. i config server.xml to work with SSL. the problem is
that Tomcat shutdown after randomaly period of time and doesnt restart
again.
in server.xml i config:


   







the log i get is:
Catalina.2009-12-21.log:

Dec 21, 2009 3:13:45 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: /opt/cie
/java/jdk1.5.0_21/jre/lib/i386/server:/opt/cie/java/jdk1.5.0_21/jre/lib/i386:/opt/cie/java/jdk1.5.0_21/jre/../lib/i386
Dec 21, 2009 3:13:46 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Dec 21, 2009 3:13:46 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2784 ms
Dec 21, 2009 3:13:46 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 21, 2009 3:13:46 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Dec 21, 2009 3:13:49 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive AdminManager.war
Dec 21, 2009 3:14:55 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive Publisher.war
Dec 21, 2009 3:15:36 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive Advertiser.war
Dec 21, 2009 3:16:11 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Dec 21, 2009 3:16:11 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 21, 2009 3:16:12 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/171  config=null
Dec 21, 2009 3:16:12 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 145986 ms
Dec 21, 2009 3:50:04 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: /opt/cie
/java/jdk1.5.0_21/jre/lib/i386/server:/opt/cie/java/jdk1.5.0_21/jre/lib/i386:/opt/cie/java/jdk1.5.0_21/jre/../lib/i386
Dec 21, 2009 3:50:06 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8443
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:509)
at
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
at
org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
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:592)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Dec 21, 2009 3:50:06 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use:8443
at
org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
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:592)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Dec 21, 2009 3:50:06 AM org.apache.catalina.startup.Catalina load

can you help me with that?
thanks
Ziv
-- 
View this message in context: 
http://old.nabble.com/Tomcat-shutdown-automaticly-after-randomaly-period-of-time-tp26884442p26884442.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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