2

While installing GeoServer, on my windows machine, I selected the 'Run manually' as the option.

enter image description here

Now I wish to keep it running all the time, and for this, I would have to run it as a Windows service.

I know that I can manually make a new service and run it from there, but is there a better way to make it run as a Service, without reinstalling it?

  • Added other options to create a service though I still think reinstalling would be less messy and has no bad side effects. – R.K. Oct 18 '12 at 16:07
2

You can reinstall it and keep your old settings. Just make sure to point to your old data directory. Windows will still only record one installation of Geoserver. All your settings will be preserved, too. Tested on a Windows 7 Home Premium 64-bit machine with the Geoserver 2.2 installer.

Other options are Microsoft's srvany executable and Tanuksi Software's Java Service Wrapper though I wouldn't call those options better. If you prefer GUIs then ServiceShell might be more to your liking.

enter image description here

  • I belive You can't reinstall Geoserver without losing part of Your configuration (Jetty, container etc)? I ran into same issue, I installed Geoserver win installer and as service, but needed to change Java options (as usual). I did it wrapper/wrapper.config. Reinstalling will whipe them out. So it is not ideal solution. – mihkelo May 18 '18 at 6:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.