1 2 Previous Next 16 Replies Latest reply on Sep 30, 2008 11:18 AM by peterj Go to original post
      • 15. Re: JBoss Automatically restart
        zwind

        Dear all,

        Does anyone could help me to solve the problem? Many Thanks.

        • 16. Re: JBoss Automatically restart
          peterj

          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.

          1 2 Previous Next