2 Replies Latest reply on Nov 16, 2007 11:34 AM by asoldano

    Stopping Web Service

    krithi

      Hi
      How to start and stop the Jboss web service programatically?
      I would like to get ' Server Not found ' page after stopping the jboss Web Service but jboss should remain running. On a particular event I would like to restart the web service.

      Is it possible to achieve this, How?

      Please Help
      Thanks
      Krithi

        • 1. Re: Stopping Web Service
          krithi

          Sorry to have missed this, I am using Jboss.4.0.5 GA

          • 2. Re: Stopping Web Service
            asoldano

             

            "krithi" wrote:
            Hi
            How to start and stop the Jboss web service programatically?
            I would like to get ' Server Not found ' page after stopping the jboss Web Service but jboss should remain running. On a particular event I would like to restart the web service.

            Is it possible to achieve this, How?

            Please Help
            Thanks
            Krithi


            You can start/stop every endpoint through the org.jboss.wsf.framework.management.ManagedEndpoint MBean, start() and stop() method.