This documentation is for WSO2 ESB version 4.0.3. View documentation for the latest release.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Follow the instructions below to run ESB as a Windows Service. The ESB will automatically start whenever your computer boots.

Step 1. Stop ESB Instance

Stop the instance of WSO2 ESB running by following the steps below.

1. Login to WSO2 ESB.

2. Click on "Shutdown/Restart" in the left-hand menu.

3. Then under "Shutdown," click on the "Graceful Shutdown" link.

Step 2. Run the Batch File

1. Click "Start" and select the "Run..." menu.

2. Type "cmd" without quotes and press "Enter."

3. Go to the folder where WSO2 ESB is installed using the cd command.

4. In the %ESB_HOME%\bin directory, run the install.bat batch file.

This file will install WSO2 ESB as a Windows service.

5. Once the install.bat batch file has finished working, access the Windows Services console by selecting Start Run type "services.msc" into the field and click "OK."

6. You should see WSO2 Carbon listed as shown below.

From the "Services" window, you can either start the service from this interface or run the Management Console again.

Now you have the WSO2 ESB running as a Windows service.

Removing the Service

If you no longer want to run the WSO2 ESB as a service, follow the instructions below.

1. Click "Start" and select the "Run..." menu.

2. Type "cmd" without quotes and press "Enter."

3. Go to the folder where WSO2 ESB is installed using the cd command.

4. Use uninstall.bat to remove the service completely.

This example is just one way that the WSO2 ESB integrates seamlessly in a Windows environment.

  • No labels