Sun Java System Federation Manager 7.0 User's Guide

Deploying Federation Manager in WebSphere Application Server

Before deploying an application or deleting an instance in WebSphere Application Server 5.1 (minimum version supported), you must modify the Jacl (Java Action Command Language) descriptor file. Following this you may run the wsadmin.sh file from the command line. More information on both of these steps can be found in the WebSphere Application Server documentation.

This section contains the following procedures:

ProcedureTo Deploy an Instance of Federation Manager in WebSphere Application Server

  1. Create a Jacl descriptor (for example, fmsetup.jacl) with the following content:


    # $AdminApp install WAR-file-location {-contextroot 
    deployment-URI -usedefaultbindings -nopreCompileJSPs -distributeApp 
    -nouseMetaDataFromBinary -node WebSphereAS-node 
    -cell WebSphereAS-cell -server WebSphereAS-instance 
    -nodeployejb -appname deployment-URI -createMBeansForResources 
    -noreloadEnabled -reloadInterval 0 -nodeployws}
    

    where:

    WAR-file-location

    Defines the full path to the WAR file being deployed. 

    deployment-URI

    Defines the Federation Manager URI. This is generally the name of the WAR file without the .WAR suffix.

    WebSphereAS-node

    Defines the node under which the Application Server instance is configured. 

    WebSphereAS-cell

    Defines the cell under which the Application Server node is configured. 

    WebSphereAS-instance

    Defines the instance of the Application Server to which Federation Manager will be deployed. 

  2. Save the configuration with the following command:


    # $AdminConfig save
    
  3. After editing the Jacl descriptor, run the following command to deploy the WAR:


    # WebSphereAS-base/bin/wsadmin.sh -f Jacl-descriptor-file
    

    where:

    Jacl-descriptor-file

    Defines the full path to the Jacl descriptor previously created. 

ProcedureTo Delete an Instance of Federation Manager from WebSphere Application Server

  1. Edit the Jacl descriptor by adding the following:

    \$AdminApp uninstall deploy-tag {-node WebSphereAS-node -cell WebSphereAS-cell -server WebSphereAS-instance}

    where:

    deploy-tag

    Defines the Federation Manager URI. This is generally the name of the WAR file without the .WAR suffix.

    WebSphereAS-node

    Defines the node under which the Application Server instance is configured. 

    WebSphereAS-cell

    Defines the cell under which the Application Server node is configured. 

    WebSphereAS-instance

    Defines the instance of the Application Server to which Federation Manager will be deployed. 

  2. After editing the Jacl descriptor, run the following command to delete the instance:


    # WebSphereAS-base/bin/wsadmin.sh -f Jacl-descriptor-file