How to make installed geoserver 2.18 as windows service?

240 Views Asked by At

How to make installed geoserver 2.18 as windows service? Two yeas ago I have install it on windows server 2008 R2 and sometimes it stops (when my session closed, for example), which is not acceptable, it needs geoserver works all the time.

2

There are 2 best solutions below

5
Ian Turton On

Install tomcat as a windows service and deploy the geoserver war to tomcat. Note you will generally get better performance on a Linux box.

0
Shadab On

Inside Geoserver installation folder there is a folder called wrapper. This has a Java Service Launcher jsl.exe, renamed as GeoServer.exe

https://www.roeschter.de/index.html

This launcher exe needs a .ini file (exists right there) that contains the configuration for the windows service. Just edit this file if you want to have custom data directory, custom service name, display name, description and you're good to go.