Thursday, December 29, 2011

Tomcat service start-up failure on Windows Operating Systems

On particular flavors of Windows Operating System, the Tomcat Services fail to start even after being registered successfully. There might be the following reason behind this failure:
The type of the service runner (tomcat6.exe or tomcat7.exe) does not match with the destined Windows Operating System’s JRE configuration. There needs to be four different service runner files for the 4 different combinations:
  •  For 32-bit JRE6 (Or JDK6-whichever is applicable), use tomcat6.exe available with the Apache Tomcat 6 package for Windows 32-bit.
  •   For 64-bit JRE6, use tomcat6.exe available with the Apache Tomcat 6 package for Windows 64-bit.
  •   For 32-bit JRE7, use tomcat7.exe available with the Apache Tomcat 7 package for Windows 32-bit.
  •   For 64-bit JRE7, use tomcat7.exe available with the Apache Tomcat 7 package for Windows 64-bit.   
You can use environment variables for making decisions on runtime.

No comments:

Post a Comment