How to run Jaspersoft as a Windows service with an specific account
search cancel

How to run Jaspersoft as a Windows service with an specific account

book

Article ID: 31000

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

It is possible to configure Jaspersoft to run as a Service on Windows.

By default, the Jaspersoft Service will only run properly if the logon account configured on the Jaspersoft Windows Service is the same one being used for installing the Jaspersoft application.

This technical document explains the steps necessary in order to be able to run Jaspersoft as a Windows service using an specific account.

Environment

Release: Any

Resolution

  1. When a user, user_A, installs Jaspersoft, the following folder/files are created for his profile:
    Folders:
    .jasperserver

    Files:
    Jasperserver.license
    .jslic
    .jrsks
    .jrsksp
  2. In order to let the Jaspersoft Windows Service run under a different account (f.i user_B), copy those files from "user_A" personal folder to "user_B".
  3. Note that user_B's profile may not exist on the server until the service has been started (unsuccessfully) using user_B's account.
  4. The Service account user needs to have local admin privileges on the server.
  5. Reconfigure the service "Log On" credentials and restart the service.

Additional Information

Also check How to configure Jaspersoft as a Windows Service