help Node Functions OracleMWConfigUtilities Commands

wsadmin Command Reference 5-17

5.2.1 help

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. Syntax OracleMWConfigUtilities.helptopic Examples 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.helpgetEndPointHostUsingName

5.2.2 Node Functions

This section describes the following utility functions for retrieving a node: ■ getLocalNode ■ getNodeByHost setLogDirectory Sets the sharable log directory for the specified cluster name and bus name setPermanentStoreDirectory Sets the sharable permanent store directory for the specified cluster name and bus name setTemporaryStoreDirectory Sets the sharable temporary store directory for the specified cluster name and bus name showEndPointsUsingName Displays the list of end points of the specified server name and node name showEndPointsUsingObject Displays the list of end points of the specified server showJdbc Displays the list of configuration settings of the specified data source or component schema showServer Displays the child nodes and attributes of the specified server on the specified node validateJdbc Validates the JDBC data source and component schema data settings Argument Definition topic The command for which you want to display help Table 5–2 Cont. OracleMWConfigUtilities Commands Command Description 5-18 Configuration Guide for IBM WebSphere Application Server ■ getNodeByServer

5.2.2.1 getLocalNode

Retrieves the host name of the current machine, and then calls the getNodeByHost function to retrieve a node value. Syntax OracleMWConfigUtilities.getLocalNode Example The following example shows the output for this command if the local node is Node01. print OracleMWConfigUtilities.getLocalNode Node01

5.2.2.2 getNodeByHost

Retrieves the first non-Deployment Manager node that has a matching host name value. Syntax OracleMWConfigUtilities.getNodeByHosthostName Example The following example displays the node name of the example.domain.com host. print OracleMWConfigUtilities.getNodeByHostexample.domain.com Node01

5.2.2.3 getNodeByServer

Retrieves the node of the first server encountered with the specified name. Syntax OracleMWConfigUtilities.getNodeByServerserverName Example The following example retrieves the node name of the server soa_server1. print OracleMWConfigUtilities.getNodeByServer’soa_server1’ Node01 Argument Description hostName The host name of the host from which you want to retrieve the node Argument Description serverName The name of the server from which you want to retrieve the node wsadmin Command Reference 5-19

5.2.3 Server and Endpoint Utility Functions