E X C E L L E N C E   D E L I E V E R E D
N I X S U P P O R T
  • HOME
  • SERVICES
    • Server Support
    • Online Training
    • Oracle Fusion Middleware
  • CONTACT US
  • BLOG

Manage SOA Composites with WLST

10/1/2014

2 Comments

 
Here are some useful WLST commands for managing SOA composites.

Use the scripts located at:
(UNIX) MIDDLEWARE_HOME/ORACLE_SOA1/common/bin/wlst.sh

Retiring a Composite
wls:/soa_domain/serverConfig> sca_retireComposite(“nysolutionsltd.com”,”8400″,”weblogic”,”weblogicpassword”,”CompositeName”,”1.01″,partition=”SOA_Partition”)

host = localhost
port = 8400
user = weblogic
partition = SOA_Partition
compositeName = CompositeName
revision = 0.01
label = None
compositeDN =SOA_Partition/CompositeName!0.01
Connecting to: service:jmx:t3://localhost:8400/jndi/weblogic.management.mbeanservers.runtime
Composite (SOA_Partition/CompositeName!0.01) is successfully retired.

Stop/Shutdown a composite

wls:/soa_domain/serverConfig> sca_stopComposite(“localhost”,”8400″,”weblogic”,”mypassword”,”MYCompositeName”,”0.01″,partition=”SOA_Partition”)

host = localhost
port = 8400
user = weblogic
partition = SOA_Partition
compositeName = MYCompositeName
revision = 0.01
label = None
compositeDN =SOA_Partition/MYCompositeName!0.01

Connecting to: service:jmx:t3://localhost:8400/jndi/weblogic.management.mbeanservers.runtime
Composite (SOA_Partition/MYCompositeName!0.01) is successfully stopped.
wls:/soa_domain/serverConfig>

Starting a composite

wls:/soa_domain/serverConfig> sca_startComposite(“localhost”,”8400″,”weblogic”,”mypassword”,”MYCompositeName”,”0.01″,partition=”SOA_Partition”)

host = localhost
port = 8400
user = weblogic
partition = SOA_Partition
compositeName = MYCompositeName
revision = 0.01
label = None
compositeDN =SOA_Partition/MYCompositeName!0.01

Connecting to: service:jmx:t3://localhost:8400/jndi/weblogic.management.mbeanservers.runtime
Composite (SOA_Partition/MYCompositeName!0.01) is successfully started..

Activating a Composite

wls:/soa_domain/serverConfig> sca_activateComposite(“localhost”,”8400″,”weblogic”,”mypassword”,”MYCompositeName”,”0.01″,partition=”SOA_Partition”)

host = localhost
port = 8400
user = weblogic
partition = SOA_Partition
compositeName = MYCompositeName
revision = 0.01
label = None
compositeDN =SOA_Partition/MYCompositeName!0.01

Connecting to: service:jmx:t3://localhost:8400/jndi/weblogic.management.mbeanservers.runtime
Composite (SOA_Partition/MYCompositeName!0.01) is successfully activated.

List all Composites

wls:/soa_domain/serverConfig> sca_listDeployedComposites(‘localhost’,’8400′,’weblogic’,'mypassword’)

host = localhost
port = 8400
user = weblogic

Connecting to: service:jmx:t3://localhost:8400/jndi/weblogic.management.mbeanservers.runtime

Following 2 composites are currently deployed to the platform:

1. MYCompositeNameABCS[1.04], partition=SOA_Partition, mode=retired, state=off, isDefault=false, deployedTime=2014-04-25T15:51:19.116+01:00

2. MYCompositeNameABCS[1.05], partition=SOA_Partition, mode=active, state=on, isDefault=true, deployedTime=2014-04-21T09:51:34.818+01:00
2 Comments

    Author

    My name is Karan and I'm working as Oracle Fusion Middleware Administrator. I possess over 9 years of experience in IT. In addition to Oracle FMW, I also have rich experience in Linux, AWS, and MySQL administration.

    Categories

    All
    SOA

    Archives

    October 2014

    RSS Feed

Powered by Create your own unique website with customizable templates.