Tomcat Tips & Hints
Goal: Have Tomcat start automatically in the event Windows is restarted.
The bundled Tomcat, while it comes with all the usual Tomcat tools for adding and starting the server as a service on Windows, calls tomcat6.exe which for some reason, would not start as a service on the server I was installing on and does not read the other files which set the parameters necessary for XAware.
I came up with two options:
- Install a standalone Tomcat, install as a service using the provided .bat file or Tomcat6 tools, and configure it for XAware by deploying the xaware.war file to the Webapps directory and adding the -Dxaware.home=<xaware install dir> JVM option in the management tool
- or -
- Using Windows Scheduler, schedule a new task to call the <xaware install dir>\start-tomcat.cmd file to start on Windows startup. While you don't see any visual indication that Tomcat is running, it is and will start whenever Windows does.
Hope this helps...
Darin