4 Replies Latest reply on Feb 21, 2005 5:59 PM by matt_t_lin

    start service when JBoss server starts

    matt_t_lin

      I am new to Jboss, so forgive me if I ask stupid question :->

      I am able to deploy my war file.
      But I have to use JBoss Console to start it before I can access the page.
      I wonder how to set it up so that it will start automatically when I start JBoss Server. (I am using 3.2.6)

      Thanks in advance.

        • 1. Re: start service when JBoss server starts
          sviluppatorefico

          sorry....i don't understand what you want to do......your web application starts or no?

          • 2. Re: start service when JBoss server starts
            matt_t_lin

            Sorry for not being specific.

            I put my ear file in the default/deploy directory.
            Inside the ear file, I have some war files for my web applications.
            I am only interested in one war module.
            When I started JBoss server, it successfully deployed that war module, but did not start it.
            That's why I have to bring up JBoss console and manually invoke start method for that web application.
            I do have other modules in that ear file and one module (another separate war file) has problems.

            My question is, does JBoss server automatically start all your web applications in the deployed ear file? or do I have to set up something to tell JBoss server to start them for me?

            Thanks.

            • 3. Re: start service when JBoss server starts
              darranl

              If you have faulty archives in the ear it has probably caused the deployment process to halt, this is the correct behviour and there are even plans to completely roll back deployments if part of it fails.

              You have two options: -
              1 - Fix your modules that are failing deployment.
              2 - Remove the modules that are failing deployment.

              • 4. Re: start service when JBoss server starts
                matt_t_lin

                Thanks a lot.
                You guys are awesome!