Chapter 19. Undeploying OGSA-DAI

19.1. Undeploying OGSA-DAI
19.1.1. Undeploying OGSA-DAI GT from Tomcat
19.1.2. Undeploying OGSA-DAI GT from Globus Toolkit container

19.1. Undeploying OGSA-DAI

19.1.1. Undeploying OGSA-DAI GT from Tomcat

To undeploy OGSA-DAI GT from Tomcat:

  1. Shutdown Tomcat.

  2. Delete the files:

    • PATH/TO/TOMCAT/webapps/wsrf/share/schema/ogsadai.
    • PATH/TO/TOMCAT/webapps/wsrf/WEB-INF/etc/dai.
    • PATH/TO/TOMCAT/webapps/wsrf/WEB-INF/lib/ogsadai*.jar.
    • PATH/TO/TOMCAT/webapps/wsrf/WEB-INF/share/licenses/OGSA-DAI.LICENSE.
    • PATH/TO/TOMCAT/webapps/wsrf/dai-manager.jsp.

    where PATH/TO/TOMCAT is the path to the root directory of Tomcat and the OGSA-DAI GAR name used when OGSA-DAI was deployed was dai.

19.1.2. Undeploying OGSA-DAI GT from Globus Toolkit container

To undeploy OGSA-DAI GT from Globus Toolkit container:

  1. Shutdown Globus Toolkit container.

  2. Set an environment variable, GLOBUS_LOCATION, to point to the root directory of your Globus Toolkit container.
  3. Change into the GLOBUS_LOCATION directory:
    $ cd $GLOBUS_LOCATION
    
  4. If you know the location of your ANT distribution then:

    This assumes that the OGSA-DAI GAR name used when OGSA-DAI was deployed was dai.

    1. Set an environment variable, ANT_HOME, to point to the root directory of your ANT distribution.
    2. Run the following:
      $ ./bin/globus-undeploy-gar dai
      
  5. If you do not know the location of your ANT distribution then: Run the following:

    $ ant -f $GLOBUS_LOCATION/share/globus_wsrf_common/build-packages.xml \
          undeployGar -Dgar.id=dai