Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Follow the instructions below to run Data Services Server as a Windows Service. This will ensure that the Data Services Server automatically starts whenever your computer boots.

Step 1. Stop an DSS Instance

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

1. Login to WSO2 DSS. 

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. Open the "CMD" prompt. (Click the "Start" -> "Run" and then type "cmd" and click "OK" to run the CMD)

2. Go to the folder where WSO2 DSS is installed using the cd command.

3. In the %DSS_HOME%\bin directory, run the install.bat batch file.

This file will install WSO2 DSS as a Windows service.

4. 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."

5. 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 WSO2 DSS running as a Windows service.

Removing the Service

If you no longer want to run WSO2 DSS 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 DSS is installed using the cd command.

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

This is one example that WSO2 DSS integrates seamlessly in a Windows environment.