1 2 Previous Next 17 Replies Latest reply on Aug 11, 2006 10:07 AM by bsturzoiu Go to original post
      • 15. Re: snmp-adaptor get/set and a basic MIB
        bsturzoiu

        I using BarrierController to catch events like start web server and stop server.

        For start is OK, i am able to call a EJB method,
        but for stop, i cannot call an EJB because the undeploy process is allready begin

        I use for start:






        and for stop, i use:







        Any ideea to be able to call EJB methods when server will be stop (CTRL/C)

        • 16. Re: snmp-adaptor get/set and a basic MIB
          bsturzoiu

          I using BarrierController to catch events like start web server and stop server.

          For start is OK, i am able to call a EJB method,
          but for stop, i cannot call an EJB because the undeploy process is allready begin

          I use for start:






          and for stop, i use:







          Any ideea to be able to call EJB methods when server will be stop (CTRL/C)

          • 17. Re: snmp-adaptor get/set and a basic MIB
            bsturzoiu

            sorry because prev times i submit withot xml configuration
            i use { instead <
            and } instead of > to proper display.


            start
            {mbean name="jboss.web:service=WebServer" handback="start"}
            {filter factory="NotificationFilterSupportFactory"}
            {enable type="jboss.tomcat.connectors.started"/}
            {/filter}
            {/mbean}

            stop
            {mbean name="jboss.system:type=Server" handback="stop"}
            {filter factory="NotificationFilterSupportFactory"}
            {enable type="org.jboss.system.server.stopped"/}
            {/filter}
            {/mbean}

            1 2 Previous Next