Chapter 12. Deploying OGSA-DAI

12.1. Deploy OGSA-DAI GT onto Tomcat
12.2. Deploy OGSA-DAI GT onto Globus Toolkit container

12.1. Deploy OGSA-DAI GT onto Tomcat

To deploy OGSA-DAI GT onto Tomcat:

  1. If you have not already done so, deploy Globus Toolkit Web Services Core onto Tomcat. The Globus Toolkit user doc contains full information on how to do this but this is briefly summarised below.

    [Important]Important
    If you are planning to use transport level security then the task of deploying Globus Toolkit Web Services Core onto Tomcat is more complex than that presented here. See the Globus Toolkit documentation on this.
    1. Set a GLOBUS_LOCATION environment variable to point to the root directory of the Globus Toolkit Web Services Core distribution:

      $ export GLOBUS_LOCATION=/PATH/TO/GT
      

    2. Change to this directory and run the following command to deploy Globus Toolkit onto Tomcat:

      $ ant -f share/globus_wsrf_common/tomcat/tomcat.xml deployTomcat \
            -Dtomcat.dir=/PATH/TO/TOMCAT
      

      where PATH/TO/TOMCAT is the path to the root directory of Tomcat.

      If you are not using security and want to avoid startup errors being logged then you may have to edit:

      $GLOBUS_LOCATION/etc/globus_wsrf_core/server-config.wsdd
      

      and comment out the lines:

      <parameter name="containerSecDesc" 
                 value="etc/globus_wsrf_core/global_security_descriptor.xml"/>
      

      i.e.:

      <!--
      <parameter name="containerSecDesc" 
                 value="etc/globus_wsrf_core/global_security_descriptor.xml"/>
      -->
      
  2. Run:

    $ ant -Dgt.dir=/PATH/TO/GT -Dtomcat.dir=/PATH/TO/TOMCAT buildAndDeployGARTomcat
    

    where

    • PATH/TO/GT is the path to the root directory of Globus Toolkit Web Services Core.

    • PATH/TO/TOMCAT is the path to the root directory of Tomcat.

  3. An OGSA-DAI GAR file will be built, copied to Globus Toolkit and then a standard set of OGSA-DAI services will be deployed. Section I.1, “Default service names and URLs” lists the default service names and URLs.

12.2. Deploy OGSA-DAI GT onto Globus Toolkit container

To deploy OGSA-DAI GT onto Globus Toolkit container:

  1. Run:

    $ ant -Dgt.dir=/PATH/TO/GT buildAndDeployGAR
    

    where PATH/TO/GT is the path to the root directory of Globus Toolkit Web Services Core.

  2. An OGSA-DAI GAR file will be built, copied to Globus Toolkit and then a standard set of OGSA-DAI services will be deployed. Section I.1, “Default service names and URLs” lists the default service names and URLs.