Case update:

Started Tomcat using "nohup ./startup.sh"
###########################
...
Mar 04, 2014 10:23:34 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 04, 2014 10:23:34 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Mar 04, 2014 10:23:34 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10369 ms
###########################

It has been running 2 days and it is still alive now.
As tested, it could stops itself from about half day to several days
randomly ... event it looks so far so good but we are still watching.

If nohup does work, can you please give us some clues regarding the
questions?
As Tomcat launches daemons after starting,  what is actual difference
between using nohup and not?
Normally, Tomcat can be started without using nohup on Linux and Unix
including Solaris ... what would be the possible specific reason that we
have to use nohup in our env.?

If the Tomcat is use as embedded in other product, what would be the affects
if it has to be started with nohup?

Thanks,
Jay

-----Original Message-----
From: Jay [mailto:mx...@live.com] 
Sent: Tuesday, March 04, 2014 10:22 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 7.0.52 stops after hours on our Sun Sparc with SunOS
5.10

Hi Konstantin,

For your questions:

1. What is different with regards to similar question that you asked a week
ago?
A: As you suggested, we upgraded to the latest Java version and the latest
Tmocat 7.x.

2. Have you read the FAQ that I mentioned?
http://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q3
A: yes. In our situation, after started the Tomcat runs from hours to a day
then stops randomly no matter if logout or terminating from the terminal.

3. Are you using nohup?
A: Not yet. will try. 
It seems the issue only on this Sun Sparc platform and Tomcat 7 seems ok
without using nohup on other Sun Sparc machines. 

Do you have suggestion where we can capture the stop reason?

Thanks,
Jay

-----Original Message-----
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Monday, March 03, 2014 5:29 PM
To: Tomcat Users List
Subject: Re: Tomcat 7.0.52 stops after hours on our Sun Sparc with SunOS
5.10

2014-03-03 21:29 GMT+04:00 Jay <mx...@live.com>:
> Hello,
>
> We newly installed Solaris 10 with all default settings on our Sun 
> Sparc machine (sun4u sparc SUNW,UltraAX-i2 64-bit sparcv9 kernel modules).
> The OS Version: SunOS hostname 5.10 Generic_147147-26 sun4u sparc 
> SUNW,UltraAX-i2.
>
> We downloaded and installed JDK packages as follows:
> jdk-7u51-solaris-sparc.z
> jdk-7u51-solaris-sparcv9.z
>
> The Java in the environment:
> java version "1.7.0_51"
> Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 
> Client VM (build 24.51-b03, mixed mode, sharing)
>
> We downloaded the  apache-tomcat-7.0.52.tar.gz and just unpacked it in 
> /export/home/tester.
> Then we started the Tomcat server just using ./startup.sh without 
> change of any default settings.
> The Tomcat is started ok listening at 8080 and we can see the Tomcat 
> main page on Web Browser at the port 8080.
> But after several hours it stops itself without obvious reason (not 
> manually killed). and It seems it was not a Shutdown command as there 
> is no message of "A valid shutdown command was received via the 
> shutdown port." in the log.
>
> Is anyone aware about this issue?
> Is it a configuration issue or environment issue?
>
> Can you please provide any clues or check points?
>
> Thanks,
> Jay
>
> PS. Here are the outputs from the logs:
> #############################################################
> # cat catalina.out
> Feb 28, 2014 4:12:09 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/jdk/packages/lib/sparc:/lib:/usr/lib
> Feb 28, 2014 4:12:12 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"] Feb 28, 2014
> 4:12:12 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Feb 28, 2014
> 4:12:12 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 5782 ms Feb 28, 2014 4:12:12 PM 
> org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Feb 28, 2014 4:12:12 PM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 Feb 28, 2014
> 4:12:12 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory 
> /export/home/tester/apache-tomcat-7.0.52/webapps/manager
> Feb 28, 2014 4:12:16 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory 
> /export/home/tester/apache-tomcat-7.0.52/webapps/docs
> Feb 28, 2014 4:12:17 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory 
> /export/home/tester/apache-tomcat-7.0.52/webapps/examples
> Feb 28, 2014 4:12:21 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory 
> /export/home/tester/apache-tomcat-7.0.52/webapps/ROOT
> Feb 28, 2014 4:12:21 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory 
> /export/home/tester/apache-tomcat-7.0.52/webapps/host-manager
> Feb 28, 2014 4:12:22 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-8080"] Feb 28, 2014 4:12:22 
> PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-bio-8009"] Feb 28, 2014 4:12:22 
> PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 10031 ms
> Mar 01, 2014 2:00:50 AM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["http-bio-8080"] Mar 01, 2014 2:00:50 
> AM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["ajp-bio-8009"] Mar 01, 2014 2:00:50 AM 
> org.apache.catalina.core.StandardService
> stopInternal
> INFO: Stopping service Catalina
> Mar 01, 2014 2:00:50 AM org.apache.coyote.AbstractProtocol stop
> INFO: Stopping ProtocolHandler ["http-bio-8080"] Mar 01, 2014 2:00:50 
> AM org.apache.coyote.AbstractProtocol stop
> INFO: Stopping ProtocolHandler ["ajp-bio-8009"] Mar 01, 2014 2:00:50 
> AM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["http-bio-8080"] Mar 01, 2014
> 2:00:50 AM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
>
> #############################################################
> # cat localhost.2014-02-28.log
> Feb 28, 2014 4:12:21 PM org.apache.catalina.core.ApplicationContext
> log
> INFO: ContextListener: contextInitialized() Feb 28, 2014 4:12:21 PM 
> org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized() Feb 28, 2014 4:12:21 PM 
> org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener:
> attributeAdded('org.apache.jasper.compiler.TldLocationsCache',
> 'org.apache.jasper.compiler.TldLocationsCache@19a2df9')
>
> #############################################################
> # cat localhost.2014-03-01.log
> Mar 01, 2014 2:00:50 AM org.apache.catalina.core.ApplicationContext
> log
> INFO: SessionListener: contextDestroyed() Mar 01, 2014 2:00:50 AM 
> org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextDestroyed()
>
> #############################################################
>


1. What is different with regards to similar question that you asked a week
ago?

2. Have you read the FAQ that I mentioned?

http://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q3

3. Are you using nohup?

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



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

Reply via email to