Rollbase as a Windows Service

Wondering how to get Rollbase to start up automatically with Windows? Learn how to set up Rollbase as a Windows service.

When your Windows system starts, you may have noticed that several services (such as Skype) start automatically with it. Rollbase can also be configured as a Windows service so that it can start automatically whenever your Windows system boots, without explicit action from user. Using this service, you can start, stop and restart the Rollbase server.

This post demonstrates how to set up and use Rollbase as a Windows service. Curious about other new features in Rollbase? You can learn all about what's new in Rollbase here.

Setting up Rollbase as a Windows Service

Follow the steps below to set up the Windows service.

Prerequisites

Install JDK 1.8 (E.g. jdk1.8.0_66)

Set the following environment variable

JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66

Steps to Register a New Service

Open the command prompt

Navigate to the Rollbase Pas_Instance\bin folder. The default location is C:\Progress\Rollbase\Pas_Instance\bin

To register a new service, execute the following command:

tcman service Pas_Instance register

If the service registered successfully, the following message will be displayed:

Pas_Instance service is registered

Now you should be able to see the service in the Windows Services list

The Rollbase Windows service default name is “Progress Application Server Pas_Instance”

How To Start the Rollbase Windows Service

You can start the Rollbase windows service in two ways, as described below:

Navigate to the Windows service list -> Select the Rollbase Windows service (the default name is Progress Application Server Pas_Instance) -> Click on start

Use the tcman command from command prompt

Navigate to the Rollbase Pas_Instance\bin folder. The default location is C:\Progress\Rollbase\Pas_Instance\bin

Execute the following command:

tcman service Pas_Instance start

The message Pas_instance started will be displayed

How To Stop the Rollbase Windows Service

You can similarly stop the Rollbase Windows service in two ways, as described below:

Navigate to the Windows service list -> Select the Rollbase Windows service (the default name is Progress Application Server Pas_Instance) -> Click on stop

Use the tcman command from command prompt

Navigate to the Rollbase Pas_Instance\bin folder. The default location is C:\Progress\Rollbase\Pas_Instance\bin

Execute the following command:

tcman service Pas_Instance stop

The message Pas_instance is stopped will be displayed

How To Get the Status of the Rollbase Windows Service

You can get the Rollbase Windows service status using the tcman command from the command prompt

Navigate to the Rollbase Pas_Instance\bin folder. The default location is C:\Progress\Rollbase\Pas_Instance\bin

Execute the following command:

tcman service Pas_Instance status

The message Service Pas_instance is running will be displayed

How To Unregister the Rollbase Windows Service

Using similar commands, you can unregister the Rollbase Windows service using tcman command from command prompt

Navigate to the Rollbase Pas_Instance\bin folder. The default location is C:\Progress\Rollbase\Pas_Instance\bin

Execute the following command:

tcman service Pas_Instance unregisterThe message Pas_instance is unregistered will be displayed

Tips to Keep in Mind

Make sure that you have stopped the Rollbase Server when you attempt to register/unregister Rollbase as a Windows service

You can change the service display name and description by setting the following variables before the instance is registered:

Try it Out

With these tips you can now quickly and easily set up Rollbase as a Windows service that starts up automatically along with Windows. If you have any questions, feel free to contact us or leave them in the comments below.

Srinivas Panyala is a Principal QA Engineer at Progress. He has worked on several key Progress products in his last eight years at Progress. He has designed and developed several automation frameworks and is a key QA team member for Progress cloud offerings.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.