Table of Contents

Setting up the environment under Ubuntu/Windows

Install Axis2 under Ubuntu

  1. Create a new folder which will be the directory of this lab. Name it tp-terminal.
  2. Set the TPWS environment variable which will point to the directory tp-terminal
        >export TPWS=[your system path]/tp-terminal
  3. Download axis2-1.5.1:
        >cd $TPWS
        >curl -o axis2-1.5.1.rar  https://www-inf.telecom-sudparis.eu/~gaaloulw/Downloads/TP-terminal/axis2-1.5.1.rar
        >curl -o axis2-1.5.6-bin.zip http://archive.apache.org/dist/axis/axis2/java/core/1.5.6/axis2-1.5.6-bin.zip not the right version
  4. Unpack the downloaded folder.
  5. Download the set-env.sh which will set all the required variables:
        >cd $TPWS
        >curl -o set-env.sh  https://www-inf.telecom-sudparis.eu/~gaaloulw/Downloads/TP-terminal/set-env.sh
  6. Open the downloaded file. Update the TPWS and JAVA_HOME variables. The TPWS should point to your tp-terminal folder. The JAVA_HOME should point to your jdk directory.
  7. Execute the set-env.sh file:
        >source ./set-env.sh
  8. start axis2:
        >$AXIS2_HOME/bin/axis2server.sh
  9. Make sure to re-execute the set-env.sh file in each new terminal session.

Install Axis2 under Windows

  1. Create a new folder which will be the directory of this lab. Name it tp-terminal.
  2. Set the TPWS environment variable which will point to the directory tp-terminal
        >set TPWS=[your system path]/tp-terminal
  3. Download axis2-1.5.1:
        >cd %TPWS%
        >curl -o axis2-1.5.1.zip https://archive.apache.org/dist/ws/axis2/1_5_1/axis2-1.5.1-bin.zip
  4. Unpack the downloaded folder.
  5. Download the set-env.bat which will set all the required variables:
        >cd %TPWS%
        >curl -o set-env.bat  https://www-inf.telecom-sudparis.eu/~gaaloulw/Downloads/TP-terminal/set-env.bat
  6. Open the downloaded file. Update the TPWS and JAVA_HOME variables. The TPWS should point to your tp-terminal folder. The JAVA_HOME should point to your jdk directory.
  7. Execute the set-env.bat file:
        >set-env.bat
  8. start axis2:
        >%AXIS2_HOME%\bin\axis2server.bat
  9. Make sure to re-execute the set-env.bat file in each new terminal session.