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

    EAR verification

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

      thanks

        • 1. Re: EAR verification
          genman

          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
            hsaha

            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.