2 Replies Latest reply on Apr 18, 2012 11:41 AM by peterj

    Enable web server at JBoss complete startup

    somostetoikilato

      Hi,

       

      how can I influence the startup order of the services? I need to start the web server after all enterprise beans are

      already deployed (Jboss 4.2 and JBoss 5)

       

      SK

        • 1. Re: Enable web server at JBoss complete startup
          somostetoikilato

          Back again,

           

          Does anybody have a chart containig the JBoss services and the dependencies between them?

          What I need to make dependent of my EJBs to disable the access of the external WS clients

          to my webservices until the used EJBs are not deployed?

           

          SK

          • 2. Re: Enable web server at JBoss complete startup
            peterj

            One simple solution is to create a deploy.last folder within the deploy folder, and place the WAR file into it. Anything in deploy.last is deployed after everything else has been deployed.

             

            Another way is to add a jboss-web.xml file to your WAR and place into it a <depends> clause the references the MBean that gets created when the EJB is deployed.