如何使用 procrun 设置独立的 java 应用程序作为服务运行?
) 设置独立的 java 服务
我正在尝试使用 commons-daemon ( procrun 有人知道哪里可以得到 procrun 以及如何启动和运行它吗?
还有其他选择吗? (我会使用 Java Service Wrapper,但不能使用 GPL 许可代码)
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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
procrun 二进制文件很难找到,但可以在此处找到以防其他人正在寻找它们。
The procrun binaries are hard to find, but they can be located here in case anyone else is looking for them.
此页面包含下载。
http://www.apache.org/dist/commons/daemon/binaries/ windows/
这个页面告诉你你需要什么。
http://commons.apache.org/daemon/binaries.html
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
您提到您无法运行“Java Service Wrapper”,因为它是 GPL。您没有提供链接,但是 JSL 不是 GPL(根据其许可证页面) 。我在很久以前就用过这个。
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.
它就在您自己提供的网站上的下载下
守护程序下载
It's right there under Download on the site you provided yourself
Daemon Downloads