Prerequisites

Deploy from Introduce

cd $CAGRID_LOCATION

ant introduce

  1. Click on the Deploy Service
  2. Choose a container to deploy from Tomcat/Globus/Jboss. The following shows an example deploy to Globus.
  3. Fill in the Service properties details such as, Point of contact, Address
  4. Click on Deploy.
  5. Start globus container
    $GLOBUS_LOCATION/bin/globus-start-container -nosec 2>&1 > /tmp/gs-container.out &
    
  6. 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

Invoke the caGrid Data Service

Continue to invoke the grid service

References

caGrid Tutorials