2 Replies Latest reply on Nov 12, 2004 2:59 PM by jnaus

    Tomcat MBean is restarting sporadically

    jnaus

      We have JBoss successfully up and running for a while now but we have an issue with the Tomcat MBean. Every now and then it shuts down and restarts itself. We're not making any changes in the deploy folder so it can't be the deployment scanner doing this. Are there any housekeeping tasks in the Tomcat MBEAN that would force itself to be redeployed? After redeployment our webapp doesn't work anymore so, it's a pretty big issue for us.

      Server output:

      2004-11-10 15:09:53,417 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Stopping jboss.web:service=WebServer
      2004-11-10 15:09:53,428 INFO [org.jboss.deployment.MainDeployer] Removing deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@f30164b
      2004-11-10 15:09:53,462 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/invoker, warUrl=file:/usr/local/jboss-3.2.2/server/default/deploy/http-invoker.sar/invoker.war/
      2004-11-10 15:09:53,652 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/jmx-console, warUrl=file:/usr/local/jboss-3.2.2/server/default/deploy/jmx-console.war/
      2004-11-10 15:09:53,659 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] undeploy, ctxPath=/web-console, warUrl=file:/usr/local/jboss-3.2.2/server/default/tmp/deploy/tmp63645web-console.war/

      etc....

        • 1. Re: Tomcat MBean is restarting sporadically
          starksm64

          Something is touching the jbossweb-tomcat.sar/META-INF/jboss-service.xml to trigger this. Tomcat cannot restart itself.

          • 2. Re: Tomcat MBean is restarting sporadically
            jnaus

            The file hasn't been touched since Jun 24th. So nothing touched it....

            -rw-rw-r-- 1 jboss jboss 7624 Jun 24 17:29 jboss-service.xml

            We're going to disable deployment scanning with the following line. I'll post another message if it still occurs

            <attribute name="ScanEnabled">false</attribute>


            Is there a log4j category we can turn on for getting debug messages on why it's redeploying?

            Thanks for the quick reply,
            Jeroen