wsadmin Command Reference 5-11
CFGFWK-24010: Selecting template and all its prerequisites. CFGFWK-24014: Currently selected templates are
Oracle JRF:1.1.0.0
5.1.18 setValue
Sets the value for the specified attribute.
Syntax
Object.setValueattributeName, attributeValue
Example The following example displays the attributes for listenerAddress, displays the
current settings for adminListenerAddress, and then sets a new Host value for adminListenerAddress
. adminServer = OracleMWConfig.getChildByName’Server’, ’OracleAdminServer’
listenerAddress = adminServer.getChildrenListenerAddress print listenerAddress[0].show
[trw] AdminListenerAddress [trw] AdminSSLListenerAddress
[trw] HttpListenerAddress [trw] HttpsListenerAddress
[trw] SoapListenerAddress [trw] SibListenerAddress
[trw] SibSSLListenerAddress [trw] BootstrapListenerAddress
adminListenerAddress = listenerAddress[0].getChildrenAdminListenerAddress print adminListenerAddress[0].show
[arw] Host [] [arw] Port [9001]
[arw] Enable [true] adminListenerAddress[0].setValueHost,newhost.domain.com
5.1.19 showTemplates
Shows Oracle Fusion Middleware configuration templates that were previously applied or are currently selected.
Syntax
OracleMWConfig.showTemplates
Example This example shows that there are three previously applied templates and no currently
selected templates.
print OracleMWConfig.showTemplates CFGFWK-24023: Previously applied templates:
Argument Definition
attributeName The name of the attribute whose value you want to set
attributeValue The value to which you want to set the attribute
5-12 Configuration Guide for IBM WebSphere Application Server
Oracle CIE Core:11.1.1.0 Oracle JRF:11.1.1.0
Oracle SOA Suite:11.1.1.0 CFGFWK-24024: Currently selected templates:
None
5.1.20 startConfig
Starts the configuration session by reading relevant data from the cell. You may have to wait several minutes for the cell configuration to load.
Syntax
OracleMWConfig.startConfig
Example This example shows the output for startConfig when the cell is successfully
loaded.
OracleMWConfig.startConfig CFGFWK-24012: Loaded cell configuration.
5.1.21 storeObject
Stores the specified value with the specified key in the configuration sessions ObjectStore
for later use in the session. The value for a key can be retrieved using retrieveObject
.
Syntax
OracleMWConfig.storeObjectkey, value
Example The following example creates the adminServer object, and then stores this object as
Admin .
adminServer = OracleMWConfig.getChildByNameServer,OracleAdminServer OracleMWConfig.storeObjectAdmin,adminServer
5.1.22 suppressException