As a admin you would always like to see the list of SOA composites installed in your environment
A quick wlst command for you
sca_listCompositesInPartition("serverHostname",""ListenPort","AdminUser","AdminPwd","PartionName")
Example
======
wls:/offline> sca_listCompositesInPartition("192.168.0.40","7001","weblogic","weblogic1","default")
host = 192.168.0.40
port = 7001
user = weblogic
partition = default
Connecting to: service:jmx:t3://192.168.0.40:7001/jndi/weblogic.management.mbeanservers.runtime
Following 2 composites are currently deployed to the platform, in partition: default.
1. POProcessing[1.0], partition=default, mode=active, state=on, isDefault=true, deployedTime=2012-02-22T00:29:34.658-08:00
2. validationForCC[1.0], partition=default, mode=active, state=on, isDefault=true, deployedTime=2012-02-22T17:13:02.237-08:00
==============
Things to be aware of
1. WLST needs to be started from Oracle/Middleware/Oracle_SOA1/common/bin
there is another wlst.sh under wlserver_10.3 directory if you use that you will see NameError
2.partition : this is a soa deployment concept ,there is one default partition and the name is guess what "partition"
Reference
http://docs.oracle.com/cd/E15586_01/web.1111/e13813/custom_soa.htm
happy listing ...
A quick wlst command for you
sca_listCompositesInPartition("serverHostname",""ListenPort","AdminUser","AdminPwd","PartionName")
Example
======
wls:/offline> sca_listCompositesInPartition("192.168.0.40","7001","weblogic","weblogic1","default")
host = 192.168.0.40
port = 7001
user = weblogic
partition = default
Connecting to: service:jmx:t3://192.168.0.40:7001/jndi/weblogic.management.mbeanservers.runtime
Following 2 composites are currently deployed to the platform, in partition: default.
1. POProcessing[1.0], partition=default, mode=active, state=on, isDefault=true, deployedTime=2012-02-22T00:29:34.658-08:00
2. validationForCC[1.0], partition=default, mode=active, state=on, isDefault=true, deployedTime=2012-02-22T17:13:02.237-08:00
==============
Things to be aware of
1. WLST needs to be started from Oracle/Middleware/Oracle_SOA1/common/bin
there is another wlst.sh under wlserver_10.3 directory if you use that you will see NameError
2.partition : this is a soa deployment concept ,there is one default partition and the name is guess what "partition"
Reference
http://docs.oracle.com/cd/E15586_01/web.1111/e13813/custom_soa.htm
happy listing ...
Hi Peter,
ReplyDeleteHow can i store the deployed composites information into a vailable?
Lets say, ListOfComposites=sca_listDeployedComposites('localhost','8001','weblogic','welcome1')
when i print ListOfComposites, it says none.
Maybe you should use a hack using a shell script as a wrapper and redirect the output, of the list of composites.
ReplyDeleteMaybe you should use a hack using a shell script as a wrapper and redirect the output, of the list of composites.
ReplyDelete