Analysis List



Using the NAWS Server Side Engine

  1. Please download the appropriate naws-server archive, currently only operates with a Linux system.

  2. Unzip the archive and place it Java_web_services_Installation_Directory/docs/tutorial/examples/jaxrpc directory. Note that if the java webservices tutorial is not installed in your system then you will have to create the Java_web_services_Installation_Directory/docs/tutorial/examples/jaxrpc directories.

  3. Change to the anaysis directory (main directory of the archive just unzipped). Copy the build.properties file to Java_web_services_Installation_Directory/docs/tutorial/examples/common directory. In that file please make the following changes: Set tutorial.home to the location of your Java Web Services Tutorial installation. Set the username and password properties to the values you specified when you installed the Java WSDP. The build scripts use these values when you invoke an administration task such as installing an application.

  4. Please copy these files from the analysis archive to Java_web_services_Installation_Directory/lib directory. Also add the colt.jar and mysql-connector-*.jar files to the CLASSPATH environment variable.

  5. The source code package comes with a Properties.txt file located in the analysis directory. Please fill in the correct paths to the various executables for the R analysis package and the koh.exe file for the Extended Kohonens map. Also enter the correct username and password to access the Mysql server engine. Note that if there are any errors in this file the NAWS code-base will throw RunTime exceptions.

  6. Type 'ant build'. Make sure the ant executable is in the $PATH environment variable as mentioned earlier.

  7. Then once it compiles correctly type 'ant deploy' to register the web-service with the tomcat server.

  8. Now the NAWS server side engine has been successfully deployed.