May 18
These instructions are for installing Apache Tomcat as an Add-on to XAMPP under Windows. It is strongly suggested that you upgrade or install the latest version of XAMPP. Otherwise the installation isn’t as easy.
- Install XAMPP – make sure you have the latest — upgrade if necessary
- Download the latest JDK from Sun and run the installer
- Download the latest version of the Tomcat Add-on from Apache Friends and run the installer
- To test things out run xampp\tomcat_start.bat
- Browse to http://localhost:8080 - assuming you installed at the default of port 8080
- If you don’t see the local Apache Tomcat home page, you may have a port conflict.
- Try changing the port by modifying install_dir/conf/server.xml
- For example: if port 8080 isn’t working, try changing the port to 8081, save server.xml, restart the service and try browsing to http://localhost:8081.
Install as a Service
- Open up a command prompt
- cd \xampp\tomcat\bin
- At the command prompt type: service install
- It will tell you that it created a service called “Tomcat6.” That’s true. But if you look in the Service applet, the display name is actually “Apache Tomcat.”
- By default the service is set to Manual and not running.
- If you want to run this as a service, without having to manually start it every time you reboot:
- Go to Start > Control Panel > Administrative Tools > Services
- Switch the Apache Tomcat service to Automatic and Start it.
- Reboot your PC and make sure that you can still browse to http://localhost:8080 — adjusting for whatever port you used.
May 22nd, 2009 at 4:55 pm
[...] Install Apache Tomcat on Windows May [...]