Subject: Installation
Author: ant
In response to: Environment setup
Posted on: 04/21/2010 01:01:01 PM
The are two ways to put Axis2 to work:
Way #1: Download the WAR (Web Archive) file axis2.war and put it in the WEBAPPS folder of your servlet container. The servcie can be reached by http://localhost:8080/axis2/
Way #2: Download the standard binary distribution and then:
2a) start a standalone Axis2 server via
%AXIS2_HOME%\bin\axis2server.bat
(the deafult servcie can be reached by
http://localhost:8080/axis2/services/)
2b) create a customized web application via
%AXIS2_HOME%\webapps>ant create.war
>
> On 04/21/2010 12:58:28 PM
ant wrote:
Before you can run Axis2 there is some set up you will need to do:
1) PATH -- Add the bin directory to your path.
2) AXIS2_HOME -- Set the AXIS2_HOME environment variable to the directory where you installed Ant.
3) JAVA_HOME -- Optionally, set the JAVA_HOME environment variable to the directory where your JDK is installed.
You can make the change statically via computer system administration or dynamically via command line settings which is good for the current CMD session:
set AXIS2_HOME=c:\axis2
set JAVA_HOME=c:\jdk-1.5.0.05
set PATH=%PATH%;%AXIS2_HOME%\bin
References: