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.
BEA WebLogic Server
To deploy the SAML v2 Plug-in for Federation Services in WebLogic Server, type:
# 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 machine. |
server-port |
Defines the port of the WebLogic Server host machine. |
deployment-URI |
Defines the SAML v2 Plug-in for Federation Services 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. |
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, when deploying the SAML v2 Plug-in for Federation Services in an instance of Federation Manager deployed in the WebLogic Server, you might use:
/export/bea8/jdk142_06/bin/java -classpath /export/bea8/weblogic8/lib/weblogic.jar:. weblogic.Deployer -adminurl http://samplehost.sun.com:7001 -name /saml2 -username weblogic -password 11111111 -target myserver -deploy /var/opt/SUNWam/fm/war_staging/federation.war |
BEA WebLogic Server
To remove the SAML v2 Plug-in for Federation Services from WebLogic Server, type:
# 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 machine. |
server-port |
Defines the port of the WebLogic Server host machine. |
deployment-URI |
Defines the SAML v2 Plug-in for Federation Services 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. |
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 /saml2 -username weblogic -password 11111111 -target myserver |