Introduction
Win32 wrapper makes it possible for Jetty to run as a Windows NT Service.
Win32wrapper uses Java service wrapper, see http://wrapper.tanukisoftware.org
Install it as a service (in your /Bin)
Jetty-Service.exe -- install jetty-service.conf
Or
Jetty-Service.exe I jetty-service.conf
Start Jetty (in your /Bin)
Jetty-Service.exe-start jetty-service.conf
Or
Jetty-Service.exe-T jetty-service.conf
Stop jetty as a service
(IN YOUR /Bin)
Jetty-Service.exe -- stop jetty-service.conf
Or
Jetty-Service.exe-P jetty-service.conf
Delete service Jetty (in your /Bin)
Jetty-Service.exe -- remove jetty-service.conf
Or
Jetty-Service.exe-r jetty-service.conf
Note: The actual application jetty-service.exe must be executed as a system administrator; otherwise, it will fail. In Vista, installation fails even as a system administrator. The 'openscmanager failed' error is displayed '. The solution to this file is as follows. This will open a command window with the administrator privilege.
Start | all programs | attachment, right-click "command prompt", and select "Run as System Administrator ". Configure jetty Service
By editing /Bin path under the jetty-service.conf file:
...
Wrapper. App. parameter.1 = ../etc/Jetty. xml
...
You can select other jetty xml configuration files.
For example:
...
Wrapper. App. parameter.1 = ../etc/jetty-ajp.xml
...
You can also specify multiple configuration files in the following format:
Wrapper. App. Parameter. <parameter number >=< jetty xml configuration path>
For example:
...
Wrapper. App. parameter.1 = ../etc/Jetty. xml
Wrapper. App. parameter.2 = ../etc/jetty-plus.xml
Wrapper. App. parameter.3 = ../etc/jetty-ajp.xml
...