Is This Content Helpful?
We're glad to know this article was helpful.
This document provides an alternative method to create and start Jakarta-Tomcat 3.2.x as a Windows service. Consider following these steps if you have been unable to start Jakarta-Tomcat by the "Tomcat321service.bat" method described in other technical articles.
1. Follow the steps below only after you have first confirmed that Jakarta-Tomcat will work in cooperation with your Web server.
2. Download the file jk_nt_service.exe from the Jakarta-Tomcat Index (see the Related Information section below) and save it in the <drive:>\jakarta-tomcat-3.2.x\bin folder.
From the Index, browse to your installed version of tomcat > bin > win32 > i386 for the jk_nt_service.exe file.
3. In Windows Explorer, browse to <drive:>\jakarta-tomcat-3.2.x\conf, open the wrapper.properties file in a text editor such as Wordpad, then make the following edits:
If you placed Jakarta-Tomcat or the Java Development Kit (JDK) in a different location, enter the correct path.
4. Further down in wrapper.properties, find the following section:
5. Save the wrapper.properties file and close Wordpad.
6. Open a DOS prompt and change directories to <drive:>\jakarta-tomcat-3.2.x\bin. Enter the following command:
jk_nt_service -i Jakarta C:\jakarta-tomcat-3.2.x\conf\wrapper.properties
If you placed Jakarta-Tomcat in a different location, enter that information.
7. Click Start > Settings > Control Panel and open the Services Control Panel.
8. Select the Jakarta service and click Start.
If the service fails to start, check wrapper.properties to ensure you are pointing to the correct Jakarta-Tomcat and JDK locations.
9. If the service starts, click on the Startup button and change the Startup type to Automatic. Click OK.
10. Close the Services Control Panel.
11. If you need to delete the Jakarta service, stop it and use the following command at the appropriate prompt:
<drive:>\jakarta-tomcat-3.2.x\bin> jk_nt_service -r Jakarta
The '-r' option will remove the Jakarta service.