Re: [s2] unexpected Tomcat shutdown everyday

2007-05-23 Thread Roger Varley

Unfortonutalely,
I don't have any class that invokes System.exit() nor Spring scheduler.
Nothing particular happens before tomcat shutdown (see logs).
And No database is backed up or restarted during this time.
This is really strange (and critical) and I suspect that it comes from
Struts.



Tomcat listens on port 8009 (I think) for a shutdown command. Try
changing the port in your Tomcat configuration and see if the problems
goes away. I have read of weird situations where there are multiple
installations of Tomcat and one incorrectly configured installation
would take down another installation when the shutdown command was
issued because the port number wasn't unique to each installation.

HTH
Roger

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [s2] unexpected Tomcat shutdown everyday

2007-05-22 Thread walidito

Unfortonutalely, 
I don't have any class that invokes System.exit() nor Spring scheduler.
Nothing particular happens before tomcat shutdown (see logs).
And No database is backed up or restarted during this time.
This is really strange (and critical) and I suspect that it comes from
Struts.



Tan Mook Kuen wrote:
 
 Hi,
 Do you have any classes which invoke System.exit()?
 or do u have any spring scheduler which will terminate tomcat?
 or any error occurred before tomcat shutdown?
 
 Best regards,
 MK Tan
 
 On 5/17/07, walidito [EMAIL PROTECTED] wrote:


 Hi all,
 I have a a very strange and critical pb with my struts 2.0.1 application
 that makes my tomcat server shutdown everyday between 5:40pm and 6:30pm
 approx. I'm sure that this come from my application since the pb does not
 occur when I remove it.
 tomcat is a 5.5.20, my jdk is 1.5-009.
 When my app is deployed and the server's up, here the normal logs :
 17:29:30,281 DEBUG ManagerBase:676 - Start expire sessions
 StandardManager
 at 1179264570281 sessioncount 0
 17:29:30,281 DEBUG ManagerBase:684 - End expire sessions StandardManager
 processingTime 0 expired sessions: 0
 17:30:30,319 DEBUG ManagerBase:676 - Start expire sessions
 StandardManager
 at 1179264630319 sessioncount 0
 17:30:30,319 DEBUG ManagerBase:684 - End expire sessions StandardManager
 processingTime 0 expired sessions: 0
 17:31:30,356 DEBUG ManagerBase:676 - Start expire sessions
 StandardManager
 at 1179264690356 sessioncount 0
 17:31:30,356 DEBUG ManagerBase:684 - End expire sessions StandardManager
 processingTime 0 expired sessions: 0
 17:32:30,394 DEBUG ManagerBase:676 - Start expire sessions
 StandardManager
 at 1179264750394 sessioncount 0

 But when the problem happens, here are the logs that I get :
 17:49:31,092 DEBUG ManagerBase:676 - Start expire sessions
 StandardManager
 at 1179265771092 sessioncount 0
 17:49:31,092 DEBUG ManagerBase:684 - End expire sessions StandardManager
 processingTime 0 expired sessions: 0
 17:49:32,424 DEBUG JspServlet:279 - JspServlet.destroy()
 17:49:32,424 DEBUG TableTag:1618 - [null] release() called
 17:49:32,424 DEBUG TableTag:1618 - [null] release() called
 17:49:32,424 DEBUG TableTag:1618 - [null] release() called
 17:49:32,424 DEBUG TableTag:1618 - [null] release() called
 17:49:32,424 DEBUG TableTag:1618 - [null] release() called
 17:49:32,434 DEBUG [/dev]:3658 - Stopping filters
 17:49:32,434 DEBUG [/dev]:3666 -  Stopping filter 'struts2'
 17:49:32,484  INFO [/dev]:646 - Closing Spring root WebApplicationContext
 17:49:32,484  INFO XmlWebApplicationContext:500 - Closing application
 context [Root WebApplicationContext]
 17:49:32,484 DEBUG XmlWebApplicationContext:215 - Publishing event in
 context [Root WebApplicationContext]:
 org.springframework.context.event.ContextClosedEvent[source=
 org.springframework.web.context.support.XmlWebApplicationContext:
 display name [Root WebApplicationContext]; startup date [Tue May 15
 09:32:32
 EDT 2007]; root of context hierarchy; config locations
 [/WEB-INF/applicationContext.xml]]
 17:49:32,484  INFO DefaultListableBeanFactory:555 - Destroying singletons
 in
 factory
 {org.springframework.beans.factory.support.DefaultListableBeanFactory
 defining beans []; root of BeanFactory hierarchy}
 17:49:32,484 DEBUG ManagerBase:655 - Stopping
 17:49:32,494 DEBUG ManagerBase:477 - Unloading persisted sessions
 17:49:32,494 DEBUG ManagerBase:484 - Saving persisted sessions to
 SESSIONS.ser
 17:49:32,494 DEBUG ManagerBase:507 - Unloading 0 sessions
 17:49:32,504 DEBUG ManagerBase:551 - Expiring 0 persisted sessions
 17:49:32,504 DEBUG ManagerBase:565 - Unloading complete
 17:49:34,006  INFO DriverManagerConnectionProvider:147 - cleaning up
 connection pool: jdbc:oracle:thin:@xx::
 17:49:34,026  WARN DriverManagerConnectionProvider:155 - problem closing
 pooled connection
 java.sql.SQLException: Io exception: Socket closed
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java
 :134)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java
 :179)

 thanks a lot for your help.
 --
 View this message in context:
 http://www.nabble.com/-s2--unexpected-Tomcat-shutdown-everyday-tf3772115.html#a10664842
 Sent from the Struts - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 

-- 
View this message in context: 
http://www.nabble.com/-s2--unexpected-Tomcat-shutdown-everyday-tf3772115.html#a10744819
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[s2] unexpected Tomcat shutdown everyday

2007-05-17 Thread walidito

Hi all,
I have a a very strange and critical pb with my struts 2.0.1 application
that makes my tomcat server shutdown everyday between 5:40pm and 6:30pm
approx. I'm sure that this come from my application since the pb does not
occur when I remove it.
tomcat is a 5.5.20, my jdk is 1.5-009.
When my app is deployed and the server's up, here the normal logs :
17:29:30,281 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179264570281 sessioncount 0
17:29:30,281 DEBUG ManagerBase:684 - End expire sessions StandardManager
processingTime 0 expired sessions: 0
17:30:30,319 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179264630319 sessioncount 0
17:30:30,319 DEBUG ManagerBase:684 - End expire sessions StandardManager
processingTime 0 expired sessions: 0
17:31:30,356 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179264690356 sessioncount 0
17:31:30,356 DEBUG ManagerBase:684 - End expire sessions StandardManager
processingTime 0 expired sessions: 0
17:32:30,394 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179264750394 sessioncount 0

But when the problem happens, here are the logs that I get :
17:49:31,092 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179265771092 sessioncount 0
17:49:31,092 DEBUG ManagerBase:684 - End expire sessions StandardManager
processingTime 0 expired sessions: 0
17:49:32,424 DEBUG JspServlet:279 - JspServlet.destroy()
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,434 DEBUG [/dev]:3658 - Stopping filters
17:49:32,434 DEBUG [/dev]:3666 -  Stopping filter 'struts2'
17:49:32,484  INFO [/dev]:646 - Closing Spring root WebApplicationContext
17:49:32,484  INFO XmlWebApplicationContext:500 - Closing application
context [Root WebApplicationContext]
17:49:32,484 DEBUG XmlWebApplicationContext:215 - Publishing event in
context [Root WebApplicationContext]:
org.springframework.context.event.ContextClosedEvent[source=org.springframework.web.context.support.XmlWebApplicationContext:
display name [Root WebApplicationContext]; startup date [Tue May 15 09:32:32
EDT 2007]; root of context hierarchy; config locations
[/WEB-INF/applicationContext.xml]]
17:49:32,484  INFO DefaultListableBeanFactory:555 - Destroying singletons in
factory
{org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans []; root of BeanFactory hierarchy}
17:49:32,484 DEBUG ManagerBase:655 - Stopping
17:49:32,494 DEBUG ManagerBase:477 - Unloading persisted sessions
17:49:32,494 DEBUG ManagerBase:484 - Saving persisted sessions to
SESSIONS.ser
17:49:32,494 DEBUG ManagerBase:507 - Unloading 0 sessions
17:49:32,504 DEBUG ManagerBase:551 - Expiring 0 persisted sessions
17:49:32,504 DEBUG ManagerBase:565 - Unloading complete
17:49:34,006  INFO DriverManagerConnectionProvider:147 - cleaning up
connection pool: jdbc:oracle:thin:@xx::
17:49:34,026  WARN DriverManagerConnectionProvider:155 - problem closing
pooled connection
java.sql.SQLException: Io exception: Socket closed
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179) 

thanks a lot for your help.
-- 
View this message in context: 
http://www.nabble.com/-s2--unexpected-Tomcat-shutdown-everyday-tf3772115.html#a10664842
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [s2] unexpected Tomcat shutdown everyday

2007-05-17 Thread MK Tan

Hi,
Do you have any classes which invoke System.exit()?
or do u have any spring scheduler which will terminate tomcat?
or any error occurred before tomcat shutdown?

Best regards,
MK Tan

On 5/17/07, walidito [EMAIL PROTECTED] wrote:



Hi all,
I have a a very strange and critical pb with my struts 2.0.1 application
that makes my tomcat server shutdown everyday between 5:40pm and 6:30pm
approx. I'm sure that this come from my application since the pb does not
occur when I remove it.
tomcat is a 5.5.20, my jdk is 1.5-009.
When my app is deployed and the server's up, here the normal logs :
17:29:30,281 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179264570281 sessioncount 0
17:29:30,281 DEBUG ManagerBase:684 - End expire sessions StandardManager
processingTime 0 expired sessions: 0
17:30:30,319 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179264630319 sessioncount 0
17:30:30,319 DEBUG ManagerBase:684 - End expire sessions StandardManager
processingTime 0 expired sessions: 0
17:31:30,356 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179264690356 sessioncount 0
17:31:30,356 DEBUG ManagerBase:684 - End expire sessions StandardManager
processingTime 0 expired sessions: 0
17:32:30,394 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179264750394 sessioncount 0

But when the problem happens, here are the logs that I get :
17:49:31,092 DEBUG ManagerBase:676 - Start expire sessions StandardManager
at 1179265771092 sessioncount 0
17:49:31,092 DEBUG ManagerBase:684 - End expire sessions StandardManager
processingTime 0 expired sessions: 0
17:49:32,424 DEBUG JspServlet:279 - JspServlet.destroy()
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,424 DEBUG TableTag:1618 - [null] release() called
17:49:32,434 DEBUG [/dev]:3658 - Stopping filters
17:49:32,434 DEBUG [/dev]:3666 -  Stopping filter 'struts2'
17:49:32,484  INFO [/dev]:646 - Closing Spring root WebApplicationContext
17:49:32,484  INFO XmlWebApplicationContext:500 - Closing application
context [Root WebApplicationContext]
17:49:32,484 DEBUG XmlWebApplicationContext:215 - Publishing event in
context [Root WebApplicationContext]:
org.springframework.context.event.ContextClosedEvent[source=
org.springframework.web.context.support.XmlWebApplicationContext:
display name [Root WebApplicationContext]; startup date [Tue May 15
09:32:32
EDT 2007]; root of context hierarchy; config locations
[/WEB-INF/applicationContext.xml]]
17:49:32,484  INFO DefaultListableBeanFactory:555 - Destroying singletons
in
factory
{org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans []; root of BeanFactory hierarchy}
17:49:32,484 DEBUG ManagerBase:655 - Stopping
17:49:32,494 DEBUG ManagerBase:477 - Unloading persisted sessions
17:49:32,494 DEBUG ManagerBase:484 - Saving persisted sessions to
SESSIONS.ser
17:49:32,494 DEBUG ManagerBase:507 - Unloading 0 sessions
17:49:32,504 DEBUG ManagerBase:551 - Expiring 0 persisted sessions
17:49:32,504 DEBUG ManagerBase:565 - Unloading complete
17:49:34,006  INFO DriverManagerConnectionProvider:147 - cleaning up
connection pool: jdbc:oracle:thin:@xx::
17:49:34,026  WARN DriverManagerConnectionProvider:155 - problem closing
pooled connection
java.sql.SQLException: Io exception: Socket closed
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java
:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java
:179)

thanks a lot for your help.
--
View this message in context:
http://www.nabble.com/-s2--unexpected-Tomcat-shutdown-everyday-tf3772115.html#a10664842
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [s2] unexpected Tomcat shutdown everyday

2007-05-17 Thread Skip Hollowell
Off the top of my head, this smells a lot like a supporting app is 
unavailable at this time, causing the crash of Struts.  All signs point 
to your Database being down.  Is this the time of day your DB is being 
backed up? 


Skip Hollowell

walidito wrote:

Hi all,
I have a a very strange and critical pb with my struts 2.0.1 
application that makes my tomcat server shutdown everyday between 
5:40pm and 6:30pm approx. I'm sure that this come from my application 
since the pb does not occur when I remove it.

tomcat is a 5.5.20, my jdk is 1.5-009.
...
...
17:49:32,484 DEBUG ManagerBase:655 - Stopping
17:49:32,494 DEBUG ManagerBase:477 - Unloading persisted sessions
17:49:32,494 DEBUG ManagerBase:484 - Saving persisted sessions to 
SESSIONS.ser

17:49:32,494 DEBUG ManagerBase:507 - Unloading 0 sessions
17:49:32,504 DEBUG ManagerBase:551 - Expiring 0 persisted sessions
17:49:32,504 DEBUG ManagerBase:565 - Unloading complete
17:49:34,006  INFO DriverManagerConnectionProvider:147 - cleaning up 
connection pool: jdbc:oracle:thin:@xx::
17:49:34,026  WARN DriverManagerConnectionProvider:155 - problem 
closing pooled connection

java.sql.SQLException: Io exception: Socket closed
at 
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at 
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)


thanks a lot for your help. 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]