Commons Daemon

通过Commons Daemon Procrun让Java应用程序作为Windows服务运行

寵の児 提交于 2020-02-26 01:09:37
转自: 点击打开链接 Contents 1 Overview 2 Prerequisites 3 In a nutshell 4 Running the Sample Application 5 How does it work 5.1 Java Code 5.2 Installation Script 6 Questions/Comments 7 References/Further Reading Overview Apache Commons Daemon is made of 2 parts. One written in C that makes the interface to the operating system and the other in Java that provides the Daemon API. Both Win32 and UNIX like platforms are supported, but for this article I will only focus on the former and show you how to use Procrun to run your java application as a windows service. Prerequisites If you want to run the

03-《Apache Tomcat 9 User Guide》之安装

廉价感情. 提交于 2019-12-02 15:46:39
1.Introduction There are several ways to set up Tomcat for running on different platforms. The main documentation for this is a file called RUNNING.txt . We encourage you to refer to that file if the information below does not answer some of your questions. 有几种方法可以将Tomcat设置为在不同平台上运行。这方面的主要文档是一个名为 RUNNING.txt 的文件 。如果以下信息无法回答您的一些问题,我们建议您参考该文件。 2.Windows Installing Tomcat on Windows can be done easily using the Windows installer. Its interface and functionality is similar to other wizard based installers, with only a few items of interest. 使用Windows安装程序可以轻松地在Windows上安装Tomcat。它的界面和功能类似于其他基于向导的安装程序