Description Syntax Example sca_assignDefaultComposite

Oracle SOA Suite Custom WLST Commands 9-9

9.3.4.3 Example

The following example retires revision 1.0 of the HelloWorld application. wls:mydomainServerConfig sca_retireCompositemyhost, 7001, weblogic, welcome1, HelloWorld, 1.0 The following example retires revision 1.0 of the HelloWorld application in the partition myPartition. wls:mydomainServerConfig sca_retireCompositestadp10, 7001, weblogic, weblogic, HelloWorld, 1.0, partition=myPartition

9.3.5 sca_assignDefaultComposite

Command Category: Application Management Commands Use with WLST: Offline

9.3.5.1 Description

Sets a SOA composite application revision as the default version. This revision is instantiated when a new request comes in.

9.3.5.2 Syntax

sca_assignDefaultCompositehost, port, user, password, compositeName, revision, [partition]

9.3.5.3 Example

The following example sets revision 1.0 of the HelloWorld application as the default version. wls:mydomainServerConfig sca_assignDefaultCompositemyhost, 7001, weblogic, welcome1, HelloWorld, 1.0 The following example sets revision 1.0 of the HelloWorld application located in the partition myPartition as the default version. wls:mydomainServerConfig sca_assignDefaultCompositestadp10, 7001, weblogic, weblogic, HelloWorld, 1.0, partition=myPartition Argument Definition host Hostname of the Oracle WebLogic Server for example, myhost. port Port of the Oracle WebLogic Server for example, 7001. user User name for connecting to the running server to get MBean information for example, weblogic. password Password for the user name. compositeName Name of the SOA composite application. revision Revision of the SOA composite application. partition Optional. The name of the partition in which the SOA composite application is located. The default value is default. If you do not specify a partition, the default partition is searched for the SOA composite application. However, no other partitions are searched. 9-10 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

9.3.6 sca_getDefaultCompositeRevision