Configure JasperReports server autostart

Configure autostart

JasperReports server is not configured to start automatically. Do the following steps to configure JasperReports server to automatically start up on Linux.

Log in to the reports server to run the commands as an admin user (e.g. use sudo).

Find the bash jasperserver.init script in the reporting directory where you unzipped the reports pack.

Copy it to the service directory, e.g.  /etc/init.d/ 

Change permissions on the script to execute 

# chmod +x /etc/init.d/jasperserver

This enables you to use following services: start|stop|restart|status. For example

# service jasperserver status # service jasperserver start # service jasperserver stop # service jasperserver restart

Add the service to start on boot up

# chkconfig --add jasperserver

Check that service has loaded

jasperserver script 

jasperserver script

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved