May 22
These instructions are for installing Axis 2 on top of a Tomcat server installed via XAMPP.
- Install Tomcat on top of XAMPP
- Download the latest copy of Axis2 from here: http://ws.apache.org/axis2/download.cgi
- Unzip the WAR file
- Copy axis2.war to xampp\tomcat\webapps
- If Tomcat is running, it should unpack and install the WAR file automatically (you should see a new axis2 folder being created).
- If for some reason it doesn’t unpack the WAR file, restart Tomcat
- Assuming that you installed Tomcat on port 8080, go to: http://localhost:8080/axis2/
- You should see the local Axis 2 Home page.
Links
Tags: Apache, Axis2, SOAP, Tomcat, XAMPP
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.
Tags: Apache, Tomcat, XAMPP