S
Srinivas Panyala
Guest
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
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66
Steps to Register a New Service
You can start the Rollbase windows service in two ways, as described below:
You can similarly stop the Rollbase Windows service in two ways, as described below:
Using similar commands, you can unregister the Rollbase Windows service using tcman command from command prompt
set PR_DISPLAYNAME=Rollbase Server
set PR_DESCRIPTION=Progress Application Server
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.
If you haven't tried Rollbase yet, you can get started with a free 30 day trial today.
Continue reading...
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”
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
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
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
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 unregister
The message Pas_instance is unregistered will be displayed
- 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:
set PR_DISPLAYNAME=Rollbase Server
set PR_DESCRIPTION=Progress Application Server
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.
If you haven't tried Rollbase yet, you can get started with a free 30 day trial today.
Continue reading...