This chapter describes all of the currently available Oracle configuration (OracleMWConfig
) and Oracle configuration utility (OracleMWConfigUtilities
) commands that you can use with the wsadmin
command-line utility. These Oracle-specific commands allow you to create, configure, and modify cells for Oracle Fusion Middleware products, as well as add resources to or delete resources from those cells.
This chapter contains the following sections:
In addition to the wsadmin
commands described in this chapter, you can also use wsadmin
commands for Oracle Fusion Middleware products that are supported on IBM WebSphere. The commands are identical to the WebLogic Scripting Tool (WLST) commands for these Oracle Fusion Middleware products, although not all of these commands are supported in an IBM WebSphere environment. For more information on these commands, see the following sections in the Oracle Fusion Middleware Third-Party Application Server Guide:
See also the appropriate product chapter in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference or refer to the wsadmin
help.
This section describes the OracleMWConfig
commands that you can use with the wsadmin
utility to create, configure, and modify cells.
Table 5-1 lists these OracleMWConfig
commands.
Table 5-1 OracleMWConfig Commands
Command | Description |
---|---|
Assigns the specified application, library, service, or server to the specified target |
|
Creates a new server by cloning the specified server object |
|
Copies a file or directory to a location within the IBM WebSphere configuration repository |
|
Creates a wrapper object of the specified type with the specified list of attributes |
|
Deletes the specified wrapper object |
|
(Interactive mode only) Displays a stack trace, if one exists, for the last executed command |
|
Ends the configuration session |
|
Returns a wrapper object of the specified type, name, and scope |
|
Returns a list of wrapper objects of the specified type |
|
Returns a list of the supported element types |
|
Returns the value for the specified attribute |
|
Displays a list of all |
|
Lists the names of all elements of the specified type, which must be an assignable type |
|
Loads all the currently selected templates for processing |
|
Registers Oracle home directories on local and remote nodes |
|
Retrieves the value corresponding to the specified key from the configuration session's |
|
Selects an Oracle Fusion Middleware configuration template |
|
Selects a template for |
|
Sets the value for the specified attribute |
|
Shows applied and selected templates |
|
Starts the configuration session |
|
Stores the specified value with the specified key in the configuration session's |
|
(Interactive mode only) Suppresses exceptions for a cleaner display |
|
Unassigns the specified application, service, or server from the specified target |
|
Validates the configuration according to the specified option |
Assigns the specified application, library, custom service, or server to a server or cluster object.
OracleMWConfig.assign(type, name, wrapper, atts = [])
Argument | Definition |
---|---|
type |
The type of element to be assigned. Valid types are Server , Library , CustomService , and Application . |
name |
The name of the element to be assigned |
wrapper |
The wrapper object of the target (a server or cluster, depending on the type being assigned) |
atts |
A list of attributes of the element to be assigned. Use attributes to clarify the operation; for example, with server to cluster assignment, you can specify the node. |
The following example assigns the server server1
to the cluster cluster1
.
serverName = 'server1' clusterName = 'cluster1' cluster1 = OracleMWConfig.getChildByName('ServerCluster', clusterName) OracleMWConfig.assign('Server', serverName, cluster1)
Clones a server type wrapper object with the specified list of attributes. The specified attributes define the server name and node name for the cloned server.
OracleMWConfig.clone(wrapper, atts)
Argument | Definition |
---|---|
wrapper |
The server type wrapper object to be cloned. |
atts |
A list of attributes. Valid attributes are Name and NodeName . |
The following example clones a new server (soa_server2) from an existing server (soa_server1) and sets the node name for the new server to TESTNode03.
server = OracleMWConfig.getChildByName('Server', 'soa_server1') atts = [] atts.append(['Name','soa_server2']) atts.append(['NodeName','TESTNode03']) soa_server2 = OracleMWConfig.clone(server,atts)
Copies a file or directory to a location within the IBM WebSphere configuration repository. For information on this repository, refer to your IBM WebSphere documentation, specifically the documentation for AdminConfig.createDocument
and related commands.
OracleMWConfig.copyFile(src, scope, wasRelativePath, configGroup)
Argument | Definition |
---|---|
src |
The path of the file or directory to be copied |
scope |
One of these values: cell , node , cluster , or server |
wasRelativePath |
The destination path, which is relative to one of the following paths, depending on the specified scope:
In these paths, |
configGroup |
Either None or a server group name that is defined in config-groups.xml . This is ignored if the scope is cell . Server group names are defined in the <domain-topology> element of config-groups.xml , which is located in the following directory:
|
This example copies the compDomainDir
directory to the fmwconfig
directory.
OracleMWConfig.copyFile(compDomainDir, 'cell', 'fmwconfig', None)
This example copies the CompServerDir
directory to the fmwconfig
directory.
OracleMWConfig.copyFile(compServerDir, 'server', 'fmwconfig', 'JRF-ADMIN-SVR')
Creates a wrapper object of the specified type with the specified list of attributes.
OracleMWConfig.create(type, atts)
Argument | Definition |
---|---|
type |
The type of element to be created. Use the getTypes command to list valid types. |
atts |
A list of attributes |
The following example creates a server wrapper object (newServer
) and a JDBC data source wrapper object (newDS
).
atts = [] atts.append(['Name','Myserver']) atts.append(['NodeName','TEST01Node03']) atts.append(['DevelopmentMode','true']) newServer = OracleMWConfig.create('Server',atts) Server : Myserver successfully created jdbcAtts = [] jdbcAtts.append(['Name','myNewDatasource']) jdbcAtts.append(['Username','websphere']) jdbcAtts.append(['Password','welcome1']) jdbcAtts.append(['DatabaseType', 'Oracle']) jdbcAtts.append(['DatabaseName', 'orcl']) jdbcAtts.append(['ServerName', 'example.host.com']) jdbcAtts.append(['PortNumber', '1521']) jdbcAtts.append(['IsXa', 'true']) jdbcAtts.append(['StatementCacheSize', '1024']) jdbcAtts.append(['AgedTimeout', '12345']) jdbcAtts.append(['datasourceCustomKey', 'datasourceCustomValue']) jdbcAtts.append(['JndiName', 'myJNDI']) jdbcAtts.append(['Server', 'soa_server1']) newDS = OracleMWConfig.create('JDBC', jdbcAtts) JDBC: myNewDatasource successfully created
Deletes the specified wrapper object.
OracleMWConfig.delete(wrapper)
Argument | Definition |
---|---|
wrapper |
The wrapper object to delete |
The following example deletes the Administration Server (OracleAdminServer).
server = OracleMWConfig.getChildByName('Server','OracleAdminServer') OracleMWConfig.delete(server)
The following example deletes the SOA Infrastructure data source.
dbinfo = OracleMWConfig.getChildByName('JDBC','SOA Infrastructure') OracleMWConfig.delete(dbinfo)
This command can be used only in interactive mode; it cannot be used in scripts. It displays a stack trace, if one exists, for the last wsadmin
command that was executed. See suppressException
for information about how to prevent exceptions from displaying in the console when an error occurs.
OracleMWConfig.dumpStack()
The following example shows some of the dumpStack
output after specifying an incorrect value for a type
argument:
OracleMWConfig.dumpStack() com.oracle.cie.was.wsadmin.WsadminException: com.oracle.cie.was.wsadmin.UnsupportedTypeException: CFGFWK-68049: The requested type Sever is not supported. at com.oracle.cie.was.wsadmin.WsadminState.processCommand(WsadminState.java:193) . . . ... 59 more
Ends the configuration session by running the relevant wsadmin
commands, including a call to AdminConfig.save()
for saving all the changes. After this command is executed, it may take several minutes for the configuration changes to be written to the cell.
OracleMWConfig.endConfig()
The following example shows a successful save of the cell configuration.
OracleMWConfig.endConfig() ... CFGFWK-24018: Successfully saved changes to WebSphere configuration.
Returns a wrapper object of the specified type and name if the scope is not specified; otherwise, returns a wrapper object of the specified type and name within the specified scope.
OracleMWConfig.getChildByName(type,name,scope)
Argument | Definition |
---|---|
type |
The child element type. Use the getTypes command to list valid types. |
name |
The child element name |
scope |
Optional. The scope, which can be a server name, cluster name, node name, or cell name. For example, you may need to specify the node name if a specified server name exists on different nodes. |
The following example returns a wrapper object for the OracleAdminServer.
server = OracleMWConfig.getChildByName('Server','OracleAdminServer')
The following example returns a wrapper object for the OracleAdminServer on Test01Node03.
server = OracleMWConfig.getChildByName('Server','OracleAdminServer','TEST01Node03')
Returns a list of wrapper objects of the specified type.
OracleMWConfig.getChildren(type)
Argument | Definition |
---|---|
type |
The child element type. Use the getTypes command to list valid types |
This example lists all servers:
servers = OracleMWConfig.getChildren('Server') print servers Server(dmgr), Server(OracleAdminServer), Server(nodeagent), Server(soa_server1), Server(test), Server(Myserver)
Returns a subset of the child elements of was-config
from the config-was
schema, plus JDBC.
OracleMWConfig.getTypes()
This example shows the output of getTypes()
.
OracleMWConfig.getTypes() array(['SIBus', 'Server', 'ServerCluster', 'JDBC', 'ClusterMember'], java.lang.String)
Returns the value for the specified attribute. See setValue
for related information.
Object
.getValue(attributeName)
Argument | Definition |
---|---|
attributeName |
The name of the attribute whose value you want to retrieve |
This example retrieves the node name for the adminServer
object, which is defined as the Administration Server (OracleAdminServer).
adminServer = OracleMWConfig.getChildByName('Server','OracleAdminServer') print adminServer.getValue('NodeName') Node01
Displays help information for the specified OracleMWConfig
command. If you omit the argument, this command displays the list of OracleMWConfig
commands.
For more information about displaying help, see "Using the Oracle Fusion Middleware wsadmin Command-Line Online Help" in Oracle Fusion Middleware Third-Party Application Server Guide.
OracleMWConfig.help(topic)
Argument | Definition |
---|---|
topic |
The command for which you want to display help |
The following command displays the help for the OracleMWConfig.copyFile
command:
print OracleMWConfig.help('copyFile') Copies a file or directory to a location within WebSphere's configuration repository. Syntax: OracleMWConfig.copyFile(src, scope, wasRelativePath, configGroup) src - path of the file or directory to be copied. scope - one of these values: 'cell', 'node', 'cluster' or 'server'. wasRelativePath - destination path, which is relative to the 'oracle' directory within the WebSphere profile. configGroup - a server group name defined in config-groups.xml. This is ignored if the scope is 'cell'. Example: OracleMWConfig.copyFile(compDomainDir, 'cell', 'fmwconfig', None)OracleMWConfig.copyFile(compServerDir, 'server', 'fmwconfig', 'JRF-ADMIN-SVR')
Lists the names of all elements of the specified type, which must be an assignable type.
OracleMWConfig.list(assignableType)
Argument | Definition |
---|---|
assignableType |
An assignable type whose elements are to be listed. Valid types are:
|
The following example lists all application elements in the cell.
OracleMWConfig.list('Application') array(['wsil-wls', 'FMW Welcome Page Application_11.1.0.0.0'], java.lang.String)
Loads all of the currently selected templates for processing. Run this command after using selectTemplate
to select the templates to load.
OracleMWConfig.loadTemplates()
The following example shows the output for the loadTemplate
command, where one template (Oracle JRF:1.1.0.0) had been selected for loading.
OracleMWConfig.loadTemplates() CFGFWK-24011: Added template Oracle JRF:1.1.0.0.
Registers Oracle home directories on local and remote nodes. This command should be run at least once from each host system corresponding to an IBM WebSphere node within the cell.
OracleMWConfig.registerOracleHomes()
OracleMWConfig.registerOracleHomes(dmgrProfilePath)
Argument | Definition |
---|---|
dmgrProfilePath |
The path to a Deployment Manager profile on the current node |
The following example registers all Oracle home directories as part of the configuration session.
OracleMWConfig.registerOracleHomes()
The following example registers all Oracle home directories in offline mode, independent of the configuration session.
OracleMWConfig.registerOracleHomes(dmgrProfilePath)
Retrieves the value corresponding to the specified key from the configuration session's ObjectStore
. The key-value pair must have been previously stored using the storeObject command.
OracleMWConfig.retrieveObject(key)
Argument | Definition |
---|---|
key |
The name of the key whose value you want to retrieve |
The following example defines the value for the Admin
key, then retrieves the value based on the key name.
adminServer = OracleMWConfig.getChildByName('Server','OracleAdminServer') OracleMWConfig.storeObject('Admin','adminServer') OracleMWConfig.retrieveObject('Admin') adminServer
Selects an Oracle Fusion Middleware configuration template. For information about Oracle Fusion Middleware templates, see Section 1.2.1, "Oracle Fusion Middleware Product Templates."
OracleMWConfig.selectTemplate(path)
Argument | Definition |
---|---|
path |
The path of the template JAR file |
commonHome = java.lang.System.getProperty("COMMON_COMPONENTS_HOME") OracleMWConfig.selectTemplate(commonHome + '/common/templates/was/jrf_template_11.1.1.jar') CFGFWK-24010: Selecting template and all its prerequisites. CFGFWK-24014: Currently selected templates are Oracle JRF:1.1.0.0
Selects a template for final.py
processing.
OracleMWConfig.setValue(path)
Argument | Definition |
---|---|
path |
The path of the template JAR file |
The following example selects the jrf_template_11.1.1.jar
template for final.py
processing.
OracleMWConfig.setCurrentTemplate('E:/Middleware/oracle_common/common/ templates/was/jrf_template_11.1.1.jar'
Sets the value for the specified attribute.
Object
.setValue(attributeName, attributeValue)
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 |
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.getChildren('ListenerAddress') print listenerAddress[0].show() [trw] AdminListenerAddress [trw] AdminSSLListenerAddress [trw] HttpListenerAddress [trw] HttpsListenerAddress [trw] SoapListenerAddress [trw] SibListenerAddress [trw] SibSSLListenerAddress [trw] BootstrapListenerAddress adminListenerAddress = listenerAddress[0].getChildren('AdminListenerAddress') print adminListenerAddress[0].show() [arw] Host [*] [arw] Port [9001] [arw] Enable [true] adminListenerAddress[0].setValue('Host','newhost.domain.com')
Shows Oracle Fusion Middleware configuration templates that were previously applied or are currently selected.
OracleMWConfig.showTemplates()
This example shows that there are three previously applied templates and no currently selected templates.
print OracleMWConfig.showTemplates() CFGFWK-24023: Previously applied templates: 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
Starts the configuration session by reading relevant data from the cell. You may have to wait several minutes for the cell configuration to load.
OracleMWConfig.startConfig()
This example shows the output for startConfig
when the cell is successfully loaded.
OracleMWConfig.startConfig() CFGFWK-24012: Loaded cell configuration.
Stores the specified value with the specified key in the configuration session's ObjectStore
for later use in the session. The value for a key can be retrieved using retrieveObject
.
OracleMWConfig.storeObject(key, value)
Argument | Definition |
---|---|
key |
The object key |
value |
The value to assign to this key |
The following example creates the adminServer
object, and then stores this object as Admin
.
adminServer = OracleMWConfig.getChildByName('Server','OracleAdminServer') OracleMWConfig.storeObject('Admin','adminServer')
Use this command only in interactive mode. It suppresses exceptions for a cleaner display. See Section 5.1.6, "dumpStack," for information about how to retrieve error information when suppressing exceptions. When exceptions are suppressed, the exceptions are cached and can be retrieved using dumpStack()
. The exception cache is reset for each wsadmin
command that is executed.
OracleMWConfig.suppressExceptions(suppressExceptions)
Argument | Definition |
---|---|
suppressExceptions |
Set this value to 1 to suppress exceptions. Set this value to 0 to display exceptions. |
The following example prevents exceptions from being displayed in the console when an error occurs.
suppressExceptions = 1 OracleMWConfig.suppressExceptions(suppressExceptions)
Unassigns the specified application, service, library, or server from the specified target. See assign for related information.
OracleMWConfig.unassign(type, name, wrapper, atts = [])
Argument | Definition |
---|---|
type |
The type of element to be unassigned. Valid types are:
|
name |
The name of the element to be unassigned |
wrapper |
The wrapper object (a server or cluster, depending on the type being unassigned) |
atts |
An optional list of attributes of the element to be unassigned |
The following example unassigns the server server1
from the cluster cluster1
.
serverName = 'server1' clusterName = 'cluster1' cluster1 = OracleMWConfig.getChildByName('ServerCluster', clusterName) OracleMWConfig.unassign('Server', serverName, cluster1)
Validates the configuration according to the specified option.
OracleMWConfig.validateConfig(optionName)
Argument | Definition |
---|---|
optionName |
The name of the option. The supported options are InternalPortConflict and ExternalPortConflict .
|
The following example checks for internal port conflicts, with a successful result.
OracleMWConfig.validateConfig('InternalPortConflict') validateConfig InternalPortConflict succeed: validateConfig InternalPortConflict
The following example checks for external port conflicts, with a successful result.
OracleMWConfig.validateConfig('ExternalPortConflict') validateConfig ExternalPortConflict succeed: validateConfig ExternalPortConflict
This section describes the OracleMWConfigUtilities
commands that you can use with the wsadmin
utility to:
Retrieve nodes
Configure, modify, and validate end points
Configure, modify, and delete JDBC and Oracle RAC data sources and component schemas
Configure and modify file store shared directories.
Table 5-2 lists all of the available OracleMWConfigUtilities
commands in alphabetic order. The commands are grouped into the following sections:
Table 5-2 OracleMWConfigUtilities Commands
Command | Description |
---|---|
Converts a normal data source or component schema to an Oracle RAC data source |
|
Converts an Oracle RAC data source to a normal data source or component schema |
|
Creates a new data source with the specified data source attribute list |
|
Deletes the specified data source |
|
Returns the value of the |
|
Returns the value of the |
|
Returns the value of the |
|
Returns the value of the |
|
Returns the sharable file store directory of the specified type for a cluster name and bus name |
|
Returns the value of the |
|
Returns a list of normal JDBC data source instance names |
|
Returns the value of the |
|
Returns the value of the |
|
Returns the Boolean value of the |
|
Returns the string |
|
Returns the Boolean value of the |
|
Returns the value of the |
|
Returns the Oracle RAC data source service name of the specified data source or component schema |
|
Returns a list of defined component schema instance names |
|
Returns the value of the |
|
Returns the value of the |
|
Returns the value of the |
|
Retrieves the host of the current machine, then delegates to the |
|
Returns the sharable log directory of the specified cluster name and bus name |
|
Retrieves the first non-Deployment Manager node that has a matching host name value |
|
Retrieves the node of the first server encountered with the specified name |
|
Returns the sharable permanent store directory of the specified cluster name and bus name |
|
Returns the sharable temporary store directory of the specified cluster name and bus name |
|
Provides help for the |
|
Sets the value of the |
|
Sets the value of the |
|
Sets the value of the |
|
Sets the value of the |
|
Sets the sharable file store directory of the specified type for the specified cluster name and bus name |
|
Sets the value of the |
|
Sets the value of the |
|
Sets the value (true or false) of the |
|
Sets the Oracle database URL to be instance type (true) or service type (false) for the specified data source or component schema |
|
Sets the value of the |
|
Sets the value of the |
|
Sets the Oracle RAC database hosts and ports of the specified Oracle RAC data source or Oracle RAC component schema |
|
Sets the Oracle RAC database service name of the specified Oracle RAC data source or Oracle RAC component schema |
|
Sets the value of the |
|
Sets the value of the |
|
Sets the sharable log directory for the specified cluster name and bus name |
|
Sets the sharable permanent store directory for the specified cluster name and bus name |
|
Sets the sharable temporary store directory for the specified cluster name and bus name |
|
Displays the list of end points of the specified server name and node name |
|
Displays the list of end points of the specified server |
|
Displays the list of configuration settings of the specified data source or component schema |
|
Displays the child nodes and attributes of the specified server on the specified node |
|
Validates the JDBC data source and component schema data settings |
Displays help information for the specified OracleMWConfigUtilities
command. If you omit the argument, this command displays the list of OracleMWConfigUtilities
commands with descriptions.
For more information about displaying help, see "Using the Oracle Fusion Middleware wsadmin Command-Line Online Help" in Oracle Fusion Middleware Third-Party Application Server Guide.
OracleMWConfigUtilities.help(topic)
Argument | Definition |
---|---|
topic |
The command for which you want to display help |
The following example prints a list of all OracleMWConfigUtilities
commands with a description for each.
print OracleMWConfigUtilities.help()
The following example prints the help for the getEndPointHostUsingName
command.
print OracleMWConfigUtilities.help('getEndPointHostUsingName')
This section describes the following utility functions for retrieving a node:
Retrieves the host name of the current machine, and then calls the getNodeByHost()
function to retrieve a node value.
OracleMWConfigUtilities.getLocalNode()
The following example shows the output for this command if the local node is Node01.
print OracleMWConfigUtilities.getLocalNode() Node01
Retrieves the first non-Deployment Manager node that has a matching host name value.
OracleMWConfigUtilities.getNodeByHost(hostName)
Argument | Description |
---|---|
hostName |
The host name of the host from which you want to retrieve the node |
The following example displays the node name of the example.domain.com
host.
print OracleMWConfigUtilities.getNodeByHost(example.domain.com) Node01
Retrieves the node of the first server encountered with the specified name.
OracleMWConfigUtilities.getNodeByServer(serverName)
Argument | Description |
---|---|
serverName |
The name of the server from which you want to retrieve the node |
The following example retrieves the node name of the server soa_server1.
print OracleMWConfigUtilities.getNodeByServer('soa_server1') Node01
This section describes the following utility functions, which are used to manage server end points.
Displays the list of end points for the specified server name and node name.
OracleMWConfigUtilities.showEndPointsUsingName(serverName, nodeName)
Argument | Definition |
---|---|
serverName |
The name of the server |
nodeName |
The name of the node |
The following example displays the list of end points for the server OracleAdminServer on the TEST01Node03 node.
print OracleMWConfigUtilities.showEndPointsUsingName('OracleAdminServer','TEST01Node03') [trw] AdminListenerAddress [trw] AdminSSLListenerAddress [trw] HttpListenerAddress [trw] HttpsListenerAddress [trw] SoapListenerAddress [trw] SibListenerAddress [trw] SibSSLListenerAddress [trw] BootstrapListenerAddress [trw] OrbListenerAddress [trw] SasSSLServerAuthListenerAddress [trw] Cisv2SSLServerAuthListenerAddress [trw] Cisv2SSLMutualAuthListenerAddress [trw] DcsUnicastListenerAddress [trw] SipListenerAddress [trw] SipSSLListenerAddress [trw] SibMQListenerAddress [trw] SibMQSSLListenerAddress [trw] IpcListenerAddress [trw] NodeDiscoveryListenerAddress [trw] NodeMulticastListenerAddress [trw] NodeIPV6ListenerAddress
Displays the list of end points for the specified server.
OracleMWConfigUtilities.showEndPointsUsingObject(serverObject)
Argument | Definition |
---|---|
serverObject |
The server object |
The following example displays the list of end points for the OracleAdminServer server.
server = OracleMWConfig.getChildByName('Server','OracleAdminServer') print OracleMWConfigUtilities.showEndPointsUsingObject(server) [trw] AdminListenerAddress [trw] AdminSSLListenerAddress [trw] HttpListenerAddress [trw] HttpsListenerAddress [trw] SoapListenerAddress [trw] SibListenerAddress [trw] SibSSLListenerAddress [trw] BootstrapListenerAddress [trw] OrbListenerAddress [trw] SasSSLServerAuthListenerAddress [trw] Cisv2SSLServerAuthListenerAddress [trw] Cisv2SSLMutualAuthListenerAddress [trw] DcsUnicastListenerAddress [trw] SipListenerAddress [trw] SipSSLListenerAddress [trw] SibMQListenerAddress [trw] SibMQSSLListenerAddress [trw] IpcListenerAddress [trw] NodeDiscoveryListenerAddress [trw] NodeMulticastListenerAddress [trw] NodeIPV6ListenerAddress
Displays the child nodes and attributes for the specified server on the specified node.
OracleMWConfigUtilities.showServer(serverName, nodeName)
Argument | Definition |
---|---|
serverName |
The name of the server |
nodeName |
The name of the node |
The following example displays the attributes for the myServer server on the TEST01Nod03 node.
OracleMWConfigUtilities.showServer('myServer', 'TEST01Node03') [ar-] Name [soa_server1] [ar-] NodeName [adc6140173Node02] [arw] DevelopmentMode [false] [trw] ListenerAddress
Returns the value of the Host
attribute of the specified end point for the specified server name and node name.
OracleMWConfigUtilities.getEndPointHostUsingName(serverName, nodeName, endPointName)
Argument | Definition |
---|---|
serverName |
The name of the server |
nodeName |
The name of the node |
endPointName |
The name of the end point |
The following example returns the value of the Host
attribute for the SoapListenerAddress
end point on the OracleAdminServer server on node TEST01Node03.
host = OracleMWConfigUtilities.getEndPointHostUsingName ('OracleAdminServer','TEST01Node03','SoapListenerAddress') print host myserver.domain.com
Returns the value of the Host
attribute of the specified end point for the specified server.
OracleMWConfigUtilities.getEndPointHostUsingObject(serverObject,endPointName)
Argument | Definition |
---|---|
serverObject |
The server object |
endPointName |
The name of the end point |
The following example returns the value of the Host
attribute for the SoapListenerAddress
end point for the OracleAdminServer server.
server = OracleMWConfig.getChildByName('Server','OracleAdminServer') print OracleMWConfigUtilities.getEndPointHostUsingObject(server,'SoapListenerAddress') 'myserver.domain.com'
Returns the value of the Port
attribute of the specified end point for the specified server name and node name.
OracleMWConfigUtilities.getEndPointPortUsingName(serverName, nodeName,endPointName)
Argument | Definition |
---|---|
serverName |
The name of the server |
nodeName |
The name of the node |
endPointName |
The name of the end point |
The following example returns the value of the Port
attribute for the SoapListenerAddress
end point for the OracleAdminServer server name on the TEST01Node01 node.
print OracleMWConfigUtilities.getEndPointPortUsingName('OracleAdminServer','TEST01Node01','SoapListenerAddress') 8882
Returns the value of the Port
attribute of the specified end point for the specified server.
OracleMWConfigUtilities.getEndPointPortUsingObject(server, endPointName)
Argument | Definition |
---|---|
server |
The server object |
endPointName |
The name of the end point |
The following example returns the value of the Port
attribute for the SoapListenerAddress
end point on the OracleAdminServer server.
server = OracleMWConfig.getChildByName('Server','OracleAdminServer') print OracleMWConfigUtilities.getEndPointHostUsingObject(server,'SoapListenerAddress') 8882
Sets the value of the Host
attribute of the specified end point for the specified server and node.
OracleMWConfigUtilities.setEndPointHostUsingName(serverName, nodeName,endPointName,hostValue)
Argument | Definition |
---|---|
serverName |
The name of the server |
nodeName |
The name of the node |
endPointName |
The name of the end point |
hostValue |
The host value, which may be localhost , the host name, or an IP address |
The following example sets the value of the Host
attribute of the SoapListenerAddress
end point for the OracleAdminServer server on the TEST01Node03 node.
OracleMWConfigUtilities.setEndPointHostUsingName('OracleAdminServer','TEST01Node03','SoapListenerAddress','myserver.domain.com') Host Name myserver.domain.com for SoapListenerAddress is set.
Sets the value of the Host
attribute of the specified end point for the specified server.
OracleMWConfigUtilities.setEndPointHostUsingObject(serverObject, endPointName, hostValue)
Argument | Definition |
---|---|
serverObject |
The server object |
endPointName |
The name of the end point |
hostValue |
The host value, which may be localhost , the host name, or an IP address |
The following example sets the value of the Host
attribute of the HttpListenerAddress
end point for the OracleAdminServer server.
server = OracleMWConfig.getChildByName('Server','OracleAdminServer') OracleMWConfigUtilities.setEndPointHostUsingObject(server,'HttpListenerAddress', 'localhost') Host Name localhost for HttpListenerAddress is set.
Sets the value of the Port
attribute of the specified end point for the specified server name and node name.
OracleMWConfigUtilities.setEndPointPortUsingName(serverName, nodeName, endPointName, portValue)
Argument | Definition |
---|---|
serverName |
The name of the server |
nodeName |
The name of the node |
endPointName |
The name of the end point |
portValue |
The value to which to set the port |
The following example sets the value of the Port
attribute of the HttpListenerAddress
end point for the OracleAdminServer server on the TEST01Node03 node.
OracleMWConfigUtilities.setEndPointPortUsingName('OracleAdminServer', 'TEST01Node03','HttpListenerAddress','9999') Port 9999 for a HttpListenerAddress is set.
Sets the value of the Port
attribute of the specified end point for the specified server.
OracleMWConfigUtilities.setEndPointPortUsingObject(serverObject, endPointName, portValue)
Argument | Definition |
---|---|
serverObject |
The server object |
endPointName |
The name of the end point |
portValue |
The value to which to set the port |
The following example sets the value of the Port
attribute for the HttpListenerAddress
end point for the OracleAdminServer server.
server = OracleMWConfig.getChildByName('Server','OracleAdminServer') OracleMWConfigUtilities.setEndPointPortUsingObject(server, 'HttpListenerAddress','9999') Port 9999 for a HttpListenerAddress is set.
This section describes the following commands, which are used to manage JDBC data sources.
Returns a list of normal JDBC data source instances.
OracleMWConfigUtilities.getJdbcDatasourceNames()
The following example indicates that there is only one normal JDBC data source in the cell configuration.
print OracleMWConfigUtilities.getJdbcDatasourceNames() ['TestNormalDatasource1']
Returns a list of component schema instance names. It does not include any normal data source instance names.
OracleMWConfigUtilities.getJdbcSchemaComponentNames()
The following example indicates that there are four schemas in the cell configuration.
print OracleMWConfigUtilities.getJdbcSchemaComponentNames() ['SOA Infrastructure', 'User Messaging Service', 'SOA MDS Schema', 'OWSM MDS Schema']
Displays the list of configuration settings for the specified data source or component schema.
OracleMWConfig.showJdbc(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
The following example displays the list of configuration settings for the SOADatasource data source.
print OracleMWConfig.showJdbc('SOADatasource') CFGFWK-68073: The value of attribute Password is not allowed to be read. [ar-] Name [SOADatasource] [ar-] Type [Normal] [arw] Username [websphere] [a-w] Password [********] [arw] DatabaseName [lnrac1] [arw] ServerName [mydbserver.domain.com] [arw] PortNumber [1521] [ar-] URL [jdbc:oracle:thin:@mydbserver.domain.com:1521/lnrac1] [arw] DatabaseType [Oracle] [arw] DriverVendor [Oracle] [arw] DriverType [4] [arw] IsXa [true] [arw] IsOracleInstanceType [false] [arw] IsRac [false] [ar-] DriverClass [oracle.jdbc.xa.client.OracleXADataSource]
Returns the value of the URL
attribute of the specified data source or component schema.
OracleMWConfigUtilities.getJdbcURL(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
The following example returns the value of the URL
attribute of the SOADatasource data source.
print OracleMWConfigUtilities.getJdbcURL('SOADatasource') jdbc:oracle:thin:@mydbserver.domain.com:1521/lnrac1
Returns the string Normal
if the specified instance is a normal data source or returns Schema
if the specified instance is a component schema.
OracleMWConfigUtilities.getJdbcInstanceType(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
The following example indicates that SOADatasource is a normal JDBC data source.
print OracleMWConfigUtilities.getJdbcInstanceType('SOADatasource') Normal
Returns the value of the DriverClass
attribute of the specified data source or component schema.
OracleMWConfigUtilities.getJdbcDriverClass(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
The following example returns the value of the DriverClass
attribute for the SOADatasource data source.
print OracleMWConfigUtilities.getJdbcDriverClass('SOADatasource') oracle.jdbc.xa.client.OracleXADataSource
Validates the configuration of the specified JDBC data source or component schema, and returns either None
or an exception.
OracleMWConfigUtilities.validateJdbc(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
The following example validates the configuration of the SOADatasource data source, and indicates that there are no validation errors.
print OracleMWConfigUtilities.validateJdbc('SOADatasource') None
The following example validates the configuration of the SOADatasource data source, and indicates that a required parameter (Host Name
) was not specified for the data source.
print OracleMWConfigUtilities.validateJdbc('SOADatasource') CFGFWK-68065: JDBC datasource validation failed: SOADatasource: CFGFWK-68021: The following must be specified: Host Name
Creates a new data source using the specified attributes.
OracleMWConfigUtilities.createDatasource(atts)
Argument | Definition |
---|---|
atts |
A list of attributes. See the example for the list of attributes that you can set for a data source. |
The following example creates a data source named myNewDatasource with the specified attributes. In the example, datasourceCustomKey
and datasourceCustomValue
represents a custom name-value pair that may apply to the data source you are creating.
jdbcAtts = [] jdbcAtts.append(['Name','myNewDatasource']) jdbcAtts.append(['Username','websphere']) jdbcAtts.append(['Password','welcome1']) jdbcAtts.append(['DatabaseType','Oracle']) jdbcAtts.append(['DatabaseName','orcl']) jdbcAtts.append(['ServerName','example.host.com']) jdbcAtts.append(['PortNumber','1521']) jdbcAtts.append(['IsXa','true']) jdbcAtts.append(['StatementCacheSize','1024']) jdbcAtts.append(['AgedTimeout','12345']) jdbcAtts.append(['datasourceCustomKey','datasourceCustomValue']) jdbcAtts.append(['JndiName','myJNDI']) jdbcAtts.append(['Server','soa_server1']) myNewDatasource = OracleMWConfigUtilities.createDatasource(jdbcAtts)
Deletes the specified data source or component schema.
OracleMWConfigUtilities.deleteDatasource(datasourceOrSchmaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
OracleMWConfigUtilities.deleteDatasource('SOADatasource')
Sets the value of the Username
attribute of the specified data source or component schema.
OracleMWConfigUtilities.setJdbcUsername(datasourceOrSchemaComponentName, username)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
username |
The user name to use |
This example sets the Username
attribute for the SOADatasource data source to websphere
.
OracleMWConfigUtilities.setJdbcUsername('SOADatasource', 'websphere')
Returns the value of the Username
attribute of the specified data source or component schema.
OracleMWConfigUtilities.getJdbcUsername(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
This example returns the value of the Username
attribute for the SOADatasource data source.
print OracleMWConfigUtilities.getJdbcUsername('SOADatasource') websphere
Sets the value of the Password
attribute of the specified data source or component schema.
OracleMWConfigUtilities.setJdbcPassword(datasourceOrSchemaComponentName, password)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
password |
The password to use |
This example sets the password for the SOADatasource to welcome1
.
OracleMWConfigUtilities.setJdbcPassword('SOADatasource', 'welcome1')
Sets the value of the ServerName
attribute of the specified data source or component schema.
OracleMWConfigUtilities.setJdbcServerName(datasourceOrSchemaComponentName, databaseServerName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
databaseServerName |
The name of the database server |
This example sets the ServerName
attribute for the SOADatasource data source to example.host
.
OracleMWConfigUtilities.setJdbcServerName('SOADatasource', 'example.host')
Returns the value of the ServerName
attribute of the specified data source or component schema.
OracleMWConfigUtilities.getJdbcServerName(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
This example returns the value of the ServerName
attribute for the SOADataSource data source.
print OracleMWConfigUtilities.getJdbcServerName('SOADataSource') myserver.domain.com
Sets the value of the PortNumber
attribute of the specified data source or component schema.
OracleMWConfigUtilities.setJdbcPortNumber(datasourceOrSchemaComponentName, listenPort)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
listenPort |
The listen port to use on the database server |
This example sets the PortNumber
attribute for the SOADatasource data source to 1521
.
OracleMWConfigUtilities.setJdbcPortNumber('SOADatasource', '1521')
Returns the value of the PortNumber
attribute of the specified data source or component schema.
OracleMWConfigUtilities.getJdbcPortNumber(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
This example returns the value of the PortNumber
attribute for the SOADataSource data source.
print OracleMWConfigUtilities.getJdbcPortNumber('SOADatasource') 1521
Sets the value of the DatabaseName
attribute of the specified data source or component schema.
OracleMWConfigUtilities.setJdbcDatabaseName(datasourceOrSchemaComponentName, databaseName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
databaseName |
The name of the database |
This example sets the value of the DatabaseName
attribute for the SOADataSource data source to orc1
.
OracleMWConfigUtilities.setJdbcDatabaseName('SOADatasource', 'orcl')
Returns the value of the DatabaseName
attribute of the specified data source or component schema.
OracleMWConfigUtilities.getJdbcDatabaseName(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
This example returns the value of the DatabaseName
attribute for the SOADatasource data source.
print OracleMWConfigUtilities.getJdbcDatabaseName('SOADatasource') orc1
Sets the value of the DatabaseType
attribute of the specified data source or component schema.
OracleMWConfigUtilities.setJdbcDriverVendor(datasourceOrSchemaComponentName, databaseVendor)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
databaseVendor |
The database vendor name |
This example sets the value of the DatabaseType
attribute for the SOADatasource data source to Oracle
.
OracleMWConfigUtilities.setJdbcDriverVendor('SOADatasource', 'Oracle')
Returns the value of the DatabaseType
attribute of the specified data source or component schema.
OracleMWConfigUtilities.getJdbcDriverVendor(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
This example returns the value of the DatabaseType
attribute for the SOADatasource data source.
print OracleMWConfigUtilities.getJdbcDriverVendor('SOADatasource') Oracle
Sets the Boolean value of the IsXa
attribute of the specified data source or component schema.
OracleMWConfigUtilities.setJdbcDriverXa(datasourceOrSchemaComponentName, trueOrFalse)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
trueOrFalse |
Set to true to indicate that the data source or component schema is XA. Set to false to indicate that the data source or component schema is non-XA. |
The following example sets the IsXa
attribute for the SOADatasource data source to true
.
OracleMWConfigUtilities.setJdbcDriverXa('SOADatasource', 'true')
Returns the Boolean value of the IsXA
attribute of the specified data source or component schema.
OracleMWConfigUtilities.getJdbcDriverXa(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
This example indicates that the SOADatasource data source is an XA data source.
print OracleMWConfigUtilities.getJdbcDriverXa('SOADatasource') true
Sets the Oracle database URL to be an instance type (true) or a service type (false) for the specified data source or component schema.
OracleMWConfigUtilities.setJdbcIsOracleInstanceType(datasourceOrSchemaComponentName, trueOrFalse)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
trueOrFalse |
Set to true if the Oracle database URL is an instance type. Set to false if the Oracle database URL is a service type. |
OracleMWConfigUtilities.setJdbcIsOracleInstanceType('SOADatasource', 'false')
Returns the Boolean value of the IsOracleInstanceType
attribute of the specified data source or component schema. See setJdbcIsOracleInstanceType for related information.
OracleMWConfigUtilities.getJdbcIsOracleInstanceType(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of a data source or component schema |
The following example indicates that the IsOracleInstanceType
attribute for the SOADatasource data source is set to false, and is therefore a service type.
print OracleMWConfigUtilities.getJdbcIsOracleInstanceType('SOADatasource') false
This section describes the JDBC utility functions that are related to Oracle RAC.
Sets the Oracle RAC database hosts and ports of the specified Oracle RAC data source or Oracle RAC component schema.
OracleMWConfigUtilities.setJdbcRacHostsPorts(datasourceOrSchemaComponentName, hostPortsList)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of the Oracle RAC data source or Oracle RAC component schema for which to set the hosts and ports |
hostPortsList |
A list of hosts and ports in the format hostname:port , such as myhost:33, myhost2:33, myhost3:33 |
The following example sets the Oracle RAC database hosts and ports for the SOADatasource data source to example.host1:1521
and example.host2:1521
.
OracleMWConfigUtilities.setJdbcRacHostsPorts('SOADatasource', ['example.host1:1521', 'example.host2:1521'])
Sets the Oracle RAC database service name for the specified Oracle RAC data source or Oracle RAC component schema.
OracleMWConfigUtilities.setJdbcRacServiceName(datasourceOrSchemaComponentName, racServiceName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of the Oracle RAC data source or Oracle RAC component schema for which to set the Service Name |
racServiceName |
The Oracle RAC Service Name to use |
The following example sets the Oracle RAC database service name for the SOADatasource data source to orc1
.
OracleMWConfigUtilities.setJdbcRacServiceName('SOADatasource', 'orcl')
Returns the Oracle RAC Service Name of the specified data source or component schema.
OracleMWConfigUtilities.getJdbcRacServiceName(datasourceOrSchemaComponentName)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The name of the Oracle RAC data source or Oracle RAC component schema from which to get the Service Name |
The following example returns the Oracle RAC service name for the SOADatasource data source.
OracleMWConfigUtilities.getJdbcRacServiceName('SOADatasource')
Converts a normal data source or component schema to an Oracle RAC data source or schema with the specified data source name or component schema name, Oracle RAC service name, and a list of hosts and ports.
OracleMWConfigUtilities.convertJdbcNormalDatasourceToRAC(datasourceName, RACserviceName, hostsPortsList)
Argument | Definition |
---|---|
datasourceOrSchemaComponentName |
The data source or component schema name |
RACserviceName |
The Oracle RAC service name |
hostPortsList |
A list of hostname:port pairs |
The following example converts the myDatasource data source from a normal JDBC data source to an Oracle RAC data source, sets the Service Name to myRACService
, and sets the Oracle RAC database hosts and ports to hostRac1.example.com:1521
, hostRac2.example.com:1234
, and hostRac3.example.com:4567
.
hostsPorts = ['hostRac1.example.com:1521', 'hostRac2.example.com:1234', 'hostRac3.example.com:4567'] OracleMWConfigUtilities.convertJdbcNormalDatasourceToRAC('myDatasource', 'myRACService', hostsPorts)
Converts an Oracle RAC data source to a normal data source or component schema with the specified data source name or component schema name, database type, isXA flag, and database host and port.
OracleMWConfigUtilities.convertJdbcRACToNormalDatasource(datasourceName, databaseType, isXA, dbHost, dbPort)
Argument | Definition |
---|---|
datasourceName |
The Oracle RAC data source name |
databaseType |
The database type |
isXA |
(Boolean) Set to true for XA; set to false for non-XA |
dbHost |
The database host name or IP address |
dbPort |
The database port |
The following example converts the myDatasource data source from an Oracle RAC data source to a normal JDBC data source, using the specified data source values.
OracleMWConfigUtilities.convertJdbcRACToNormalDatasource('myDatasource', 'MSSQL Server', 'false', 'example.com', '1234')
This section describes the following utility functions for managing shared file stores.
Note:
You can use the followingwsadmin
command to display a list of service bus names:
OracleMWConfig.getChildren('SIBus')
Sets the sharable file store directory for the specified cluster name and bus name combination.
OracleMWConfigUtilities.setFileStoreDirectory(type,clusterName,busName,directory)
Argument | Definition |
---|---|
type |
The type of directory, which can be LogDirectory , TemporaryStoreDirectory , or PermanentStoreDirectory |
clusterName |
The name of the cluster |
busName |
The name of the service bus |
directory |
The location that you want to use for the specified directory type. You must specify an absolute path. |
The following examples sets the log directory for the sibus service bus on the cluster1 cluster.
OracleMWConfigUtilities.setFileStoreDirectory('LogDirectory','cluster1', 'sibus','${USER_INSTALL_ROOT}/log')
Sets the sharable log directory for the specified cluster name and bus name.
OracleMWConfigUtilities.setLogDirectory(clusterName,busName,directory)
Argument | Definition |
---|---|
clusterName |
The name of the cluster |
busName |
The name of the bus |
directory |
The location that you want to use for the log directory. You must specify an absolute path. |
The following example sets the log directory for the sibus service bus on the cluster1 cluster.
OracleMWConfigUtilities.setLogDirectory('cluster1','sibus' '${USER_INSTALL_ROOT}/log')
Sets the sharable permanent store directory for the specified cluster name and bus name.
OracleMWConfigUtilities.setPermanentStoreDirectory(clusterName,busName,directory)
Argument | Definition |
---|---|
clusterName |
The name of the cluster |
busName |
The name of the bus |
directory |
The location that you want to use for the permanent store directory. You must specify an absolute path. |
The following example sets the permanent store directory for the sibus service bus on the cluster1 cluster.
OracleMWConfigUtilities.setPermanentStoreDirectory('cluster1','sibus','${USER_INSTALL_ROOT}/log')
Sets the sharable temporary store directory for the specified cluster name and bus name.
OracleMWConfigUtilities.setTemporaryStoreDirectory(clusterName,busName,directory)
Argument | Definition |
---|---|
clusterName |
The name of the cluster |
busName |
The name of the bus |
directory |
The location that you want to use for the temporary store directory. You must specify an absolute path. |
The following example sets the temporary store directory for the sibus service bus on the cluster1 cluster.
OracleMWConfigUtilities.setTemporaryStoreDirectory('cluster1','sibus','${USER_INSTALL_ROOT}/log')
Returns the sharable file store directory for a specified cluster name and bus name.
OracleMWConfigUtilities.getFileStoreDirectory(type, clusterName,busName)
Argument | Definition |
---|---|
type |
The type of directory to return |
busName |
The name of the bus |
clusterName |
The name of the cluster |
The following example returns the log directory for the sibus service bus on the cluster1 cluster.
OracleMWConfigUtilities.getFileStoreDirectory('LogDirectory', 'cluster1','sibus') ${USER_INSTALL_ROOT}/log
Returns the sharable log directory of the specified cluster name and bus name.
OracleMWConfigUtilities.getLogDirectory(clusterName,busName)
Argument | Definition |
---|---|
clusterName |
The name of the cluster |
busName |
The name of the bus |
The following example returns the log directory for the sibus service bus on the cluster1 cluster.
OracleMWConfigUtilities.getLogDirectory('cluster1','sibus')
Returns the sharable permanent store directory of the specified cluster name and bus name.
OracleMWConfigUtilities.getPermanentStoreDirectory(clusterName,busName)
Argument | Definition |
---|---|
clusterName |
The name of the cluster |
busName |
The name of the bus |
The following example returns the permanent store directory for the sibus service bus on the cluster1 cluster.
OracleMWConfigUtilities.getPermanentStoreDirectory('cluster1','sibus')
Returns the sharable temporary store directory of the specified cluster name and bus name.
OracleMWConfigUtilities.getTemporaryStoreDirectory(clusterName,busName)
Argument | Definition |
---|---|
cluster |
The name of the cluster |
busName |
The name of the bus |
The following example returns the temporary store directory for the sibus service bus on the cluster1 cluster.
OracleMWConfigUtilities.getTemporaryStoreDirectory('cluster1','sibus')