[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss Automatically restart

PeterJ do-not-reply at jboss.com
Tue Sep 30 11:18:38 EDT 2008

The log you posted looks like the standard set of log entries when you start the app server. Is there anything in your system that would automatically restart services at 1:00AM? Perhaps a backup routine which stops everything at midnight, does the backup, and then starts things back up? What "Scheduled Tasks" do you have?

Change the log settings to use a RollingFileAppender, and set the "append" property to true. This way the new log file when JBOssAS starts up will not overwrite the old log file when JBossAS came down. This might give you a better clue as to why JBossAS stopped because the log will contain information about the shutdown. 

You mentioned that you are running JBossAS as a service. What mechanism/software are you using to do that? Does that software have an option to automatically restart the service at certain times? What are the settings in the "Recovery" tab of the service properties?

Based on the log output, I believe you are running a clustering configuration. What software are you using as a front end? IIS? Apache HTTPD? If IIS, I vaguely recall some configuration setting to restart IIS apps once a day.

Do you have a service or other app deployed to JBossAS that runs on a timer and thus could request that the app sever shut down?

Bottom line - there is nothing in the JBoss AS code itself that could cause the automatic restart.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179597#4179597

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179597

More information about the jboss-user mailing list