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

Document ID : KB000031000
Last Modified Date : 14/02/2018
Show Technical Document Details

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.

 

Instructions:

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

Folders:
.jasperserver

Files:
Jasperserver.license
.jslic
.jrsks
.jrsksp


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

Note that user_B's profile may not exist on the server until the service has been started (unsuccessfully) using user_B's account.

The Service account user needs to have local admin privileges on the server.

Reconfigure the service "Log On" credentials and restart the service.

 

Additional Information:

For further details to configure Jaspersoft to run as a Windows Service, check the Apache Tomcat 7 documentation:
https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html