5 Replies Latest reply on Oct 4, 2015 8:02 PM by James Livingston

    Start background process on the startup of the Application

    Francisco Montada Newbie

      Hi team

      we are using wildfly-8.1.0.Final and we have the .ear structure described below








      We have a problem to start our background process ( config, audit .....) BEFORE the .war are deploy , the solution that we have right now is using "startup.sar" with the deployment descriptor below , but it is not working



             <sub-deployment name="startup.sar"/>

            <sub-deployment name="app1.sar">


                   <module name="deployment.application.ear.startup.sar" />



            <sub-deployment name="app2.war">


                     <module name="deployment.application.ear.startup..sar" />




      could you help us ?