[progress News] [progress Openedge Abl] Rollbase As A Windows Service

  • Thread starter Thread starter Srinivas Panyala
  • Start date Start date
Status
Not open for further replies.
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

  • 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

  1. Open the command prompt
  2. Navigate to the Rollbase Pas_Instance\bin folder. The default location is C:\Progress\Rollbase\Pas_Instance\bin
    one.png


  3. To register a new service, execute the following command:
    tcman service Pas_Instance register

    two.png


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

    Pas_Instance service is registered

  4. 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”
    three.png

How To Start the Rollbase Windows Service


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

  1. Navigate to the Windows service list -> Select the Rollbase Windows service (the default name is Progress Application Server Pas_Instance) -> Click on start
  2. Use the tcman command from command prompt
    1. Navigate to the Rollbase Pas_Instance\bin folder. The default location is C:\Progress\Rollbase\Pas_Instance\bin
    2. 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:

  1. Navigate to the Windows service list -> Select the Rollbase Windows service (the default name is Progress Application Server Pas_Instance) -> Click on stop
  2. Use the tcman command from command prompt
    1. Navigate to the Rollbase Pas_Instance\bin folder. The default location is C:\Progress\Rollbase\Pas_Instance\bin
    2. 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 unregister

    The 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:

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...
 
Status
Not open for further replies.
Back
Top