Table of Contents
Prerequisites
Deploy from Introduce
cd $CAGRID_LOCATION ant introduce
- Click on the Deploy Service
- Choose a container to deploy from Tomcat/Globus/Jboss. The following shows an example deploy to Globus.
- Fill in the Service properties details such as, Point of contact, Address
- Click on Deploy.
- Start globus container
$GLOBUS_LOCATION/bin/globus-start-container -nosec 2>&1 > /tmp/gs-container.out &
- After a few minutes, check whether your service has been deployed to the target caGrid service
$GLOBUS_LOCATION/bin/wsrf-query -a -z none -s http://index.training.cagrid.org:8080/wsrf/services/DefaultIndexService | grep "<ns8:Address xmlns:ns8" | cut -d'>' -f2 | cut -d'<' -f1 | sort > all_grid_services.txt
Deploy Manually
Clean up the Container
If you have other caGrid services deployed to tomcat, remove them to avoid conflicts in running the service. This can be done with
cd $CATALINA_HOME rm -rf webapps/wsrf
Deploy Globus to Tomcat
cd $GLOBUS_LOCATION ant -f share/globus_wsrf_common/tomcat/tomcat.xml deployTomcat -Dtomcat.dir="$CATALINA_HOME"
Deploy Data Service
Navigate to the location where you saved the Introduce created data service in step 6 of generating the domain model. If this data service is named Person and is located at /home/user/Person, then do the following:
cd /home/user/Person ant all deployTomcat
Start Tomcat
$CATALINA_HOME/bin/startup.sh
