2

I'm trying to setup a standalone java service using commons-daemon (procrun)

Does anyone know where to get procrun and how to get it up and running?

Are there any alternatives? (I would use Java Service Wrapper but I can't use GPL Licensed code)

skaffman
  • 381,978
  • 94
  • 789
  • 754
ScArcher2
  • 78,317
  • 42
  • 111
  • 158
  • I found this guide and was able to get it working. I had to download tomcat and copy the tomcat.exe and tomcatw.exe to another directory and rename them. Those files are "procrun". http://blog.platinumsolutions.com/node/234 – ScArcher2 Nov 11 '09 at 15:05
  • see also http://stackoverflow.com/questions/1624841/could-java-be-used-to-write-a-win32-system-service – Trevor Harrison Nov 11 '09 at 15:40

5 Answers5

2

I gave a detailed answer for this here:

https://stackoverflow.com/a/10756495/875305?sgp=1

Community
  • 1
  • 1
11101101b
  • 7,351
  • 2
  • 37
  • 52
2

The procrun binaries are hard to find, but they can be located here in case anyone else is looking for them.

Ulrich Palha
  • 9,243
  • 3
  • 23
  • 30
1

This page does contain the download.

http://www.apache.org/dist/commons/daemon/binaries/windows/

This page tells you what you need.

http://commons.apache.org/daemon/binaries.html

Speck
  • 2,109
  • 1
  • 19
  • 29
0

You mentioned that you can't run "Java Service Wrapper" because its GPL. You didn't provide a link, but there is JSL which isn't GPL (according to their license page). I have used this in the distant past.

Trevor Harrison
  • 1,666
  • 1
  • 13
  • 20
-1

It's right there under Download on the site you provided yourself

Daemon Downloads

jitter
  • 51,939
  • 11
  • 106
  • 120