This topic describes how to install TrackStudio as Windows service.
To launch an application as a service (a Windows NT/2000/XP service) in TrackStudio Standalone, you can use Wrapper.exe. In the directory ./etc you can find the config files for starting Jetty (jwrapper.conf) and HSQLDB (hwrapper.conf) as services. This wrapper can also be used to run Jetty and HSQLDB from the command line.
1) To run an application from the command line, execute the following command:
C:\unzipped\TSE>C:\unzipped\TSE\Wrapper.exe -c etc/jwrapper.conf wrapper | --> Wrapper Started as Console wrapperp | port 1777 already in use, using port 1778 instead. wrapper | Launching a JVM... jvm 1 | Wrapper (Version 3.0.3) jvm 1 | jvm 1 | 23:48:04.198 EVENT Using default configuration: etc/jetty.xml jvm 1 | 23:48:04.279 EVENT Checking Resource aliases jvm 1 | 23:48:06.452 EVENT Starting Jetty/4.1
2) To install an application as a Windows service, execute the following command:
C:\unzipped\TSE>C:\unzipped\TSE\Wrapper.exe -i etc/jwrapper.conf wrapper | TrackStudio Enterprise installed.
3) To uninstall a Windows service, execute the following command.
C:\unzipped\TSE>C:\unzipped\TSE\Wrapper.exe -r etc/jwrapper.conf wrapper | TrackStudio Enterprise removed.
1) To run an HSQLDB from the command line, execute the following command:
C:\unzipped\TSE>C:\unzipped\TSE\Wrapper.exe -c etc/hwrapper.conf wrapper | --> Wrapper Started as Console wrapperp | port 1777 already in use, using port 1778 instead. wrapper | Launching a JVM... jvm 1 | Wrapper (Version 3.0.3) jvm 1 | jvm 1 | Opening database: test jvm 1 | HSQLDB server 1.7.2 is running
2) To install an application as a Windows service, execute the following command:
C:\unzipped\TSE>C:\unzipped\TSE\Wrapper.exe -i etc/hwrapper.conf wrapper | HSQLDB installed.
3) To uninstall a Windows service, execute the following command:
C:\unzipped\TSE>C:\unzipped\TSE\Wrapper.exe -r etc/hwrapper.conf wrapper | HSQLDB removed.