2 Replies Latest reply on Feb 6, 2008 8:44 AM by Himadri Saha

    EAR verification

    Preetam Palwe Newbie

      hi all
      can jboss verify the ear file given for deployment and accordingly notify me success/failure of deployment?

      thanks

        • 1. Re: EAR verification
          Elias Ross Master

          Deployment in JBoss goes through the JMX MBean MainDeployer. There's a method (operation) called "deploy" which takes a URL and I believe should return error status when deployment fails or not. If not there is another method that will check for deployment errors.

          • 2. Re: EAR verification
            Himadri Saha Newbie

            You have to create a NotificationListener to listen for notifications from the MBean with objectname: jboss.system:type=Server and notification type : org.jboss.system.server.started

            You will receive a notification once the server is started.