May 22

These instructions are for installing Axis 2 on top of a Tomcat server installed via XAMPP.

  1. Install Tomcat on top of XAMPP
  2. Download the latest copy of Axis2 from here:  http://ws.apache.org/axis2/download.cgi
  3. Unzip the WAR file
  4. Copy axis2.war to xampp\tomcat\webapps
  5. If Tomcat is running, it should unpack and install the WAR file automatically (you should see a new axis2 folder being created).
  6. If for some reason it doesn’t unpack the WAR file, restart Tomcat
  7. Assuming that you installed Tomcat on port 8080, go to: http://localhost:8080/axis2/
  8. You should see the local Axis 2 Home page.

Links

Tags: , , , ,

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.

  1. Install XAMPP – make sure you have the latest — upgrade if necessary
  2. Download the latest JDK from Sun and run the installer
  3. Download the latest version of the Tomcat Add-on from Apache Friends and run the installer
  4. To test things out run xampp\tomcat_start.bat
  5. Browse to http://localhost:8080  - assuming you installed at the default of port 8080
  6. 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

  1. Open up a command prompt
  2. cd  \xampp\tomcat\bin
  3. At the command prompt type: service install
  4. 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.”
  5. By default the service is set to Manual and not running.
  6. 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.
  7. Reboot your PC and make sure that you can still browse to http://localhost:8080 — adjusting for whatever port you used.

Tags: , ,