Sun Java System Federation Manager 7.0 User's Guide

Deploying Federation Manager in BEA WebLogic Server

With BEA WebLogic Server 8.1 (minimum version supported), you can use the weblogic.Deployer utility on the command line to deploy a WAR file. More information on this utility can be found in the BEA WebLogic Server documentation.

This section contains the following procedures:

ProcedureTo Deploy an Instance of Federation Manager in BEA WebLogic Server

  1. Type the following command replacing the variables with information regarding your deployment and hit Enter.


    # WebLogic-base/bin/java -classpath WebLogic-classpath weblogic.Deployer 
    -adminurl http://server-host:server-port -name deployment-URI 
    -username WebLogic-admin -password WebLogic-admin-password -target instance-name 
    -deploy WAR-file-location
    

    where:

    WebLogic-base

    Defines the WebLogic Server installation directory. 

    WebLogic-classpath

    Includes the JDK path and weblogic.jar. 

    server-host

    Defines the WebLogic Server host to which Federation Manager will be deployed. 

    server-port

    Defines the port of the WebLogic Server host to which Federation Manager will be deployed. 

    deployment-URI

    Defines the URI for the application. This value must be the same as that defined for the SERVER_DEPLOY_URI property in The Silent Installation File.

    WebLogic-admin

    Defines the ID of the WebLogic Server super user (weblogic, by default). 

    WebLogic-admin-password

    Defines the password of the WebLogic Server super user. 

    instance-name

    Defines the instance of WebLogic Server to which the WAR will be deployed. 

    WAR-file-location

    Defines the full path to the WAR file being deployed. 

    For example:


    /export/bea8/jdk142_06/bin/java -classpath /export/bea8/weblogic8/lib/weblogic.jar:. 
    weblogic.Deployer -adminurl http://samplehost.sun.com:7001 -name /fm 
    -username weblogic -password 11111111 -target myserver 
    -deploy /var/opt/SUNWam/fm/war_staging/fm.war
  2. Restart the WebLogic Server.

ProcedureTo Delete an Instance of Federation Manager from BEA WebLogic Server

  1. Type the following command replacing the variables with information regarding your deployment:


    # WebLogic-base/bin/java -classpath WebLogic-classpath weblogic.Deployer -undeploy 
    -adminurl http://server-host:server-port -name deployment-URI 
    -username WebLogic-admin -password WebLogic-admin-password 
    -target WebLogic-Server 
    

    where:

    WebLogic-base

    Defines the WebLogic Server installation directory. 

    WebLogic-classpath

    Includes the JDK path and weblogic.jar. 

    server-host

    Defines the WebLogic Server host to which Federation Manager is deployed. 

    server-port

    Defines the port of the WebLogic Server host to which Federation Manager is deployed. 

    deployment-URI

    Defines the Federation Manager URI. 

    WebLogic-admin

    Defines the ID of the WebLogic Server super user (weblogic, by default). 

    WebLogic-admin-password

    Defines the password of the WebLogic Server super user. 

    WebLogic-Server

    Defines the instance of WebLogic Server in which Federation Manager is deployed. 

    For example:


    /export/bea8/jdk142_06/bin/java -classpath /export/bea8/weblogic8/lib/weblogic.jar:. 
    weblogic.Deployer -undeploy -adminurl http://samplehost.sun.com:7001 
    -name /fm -username weblogic -password 11111111 -target myserver
  2. Hit Enter.