Managing Oracle Fusion Middleware on IBM WebSphere 3-9
3.1.3.3 Using the Oracle Fusion Middleware wsadmin Command-Line Online Help
The following sections describe some key features of the Oracle Fusion Middleware wsadmin command-line shell:
■
Listing the Oracle Fusion Middleware wsadmin Command Categories
■
Listing the Commands within an Oracle Fusion Middleware wsadmin Command-Line Category
■
Getting Help on a Specific Oracle Fusion Middleware wsadmin Command
3.1.3.3.1 Listing the Oracle Fusion Middleware wsadmin Command Categories To list the
available categories of Oracle Fusion Middleware commands in the Oracle Fusion Middleware wsadmin command-line shell, use the following command:
wsadminprint OracleHelp.help Example 3–2
shows an example of running the OracleHelp.help command.
Example 3–2 Listing the Available Commands From the Oracle Fusion Middleware
wsadmin Command-Line Shell
wsadminprint OracleHelp.help MDSAdmin MDS Lifecycle Management Commands.
OracleDFW Lists commands for FMW diagnostic framework. OracleDMS Lists commands for FMW performance metrics and
events. OracleHelp Provides help for Oracle modules.
OracleJRF Commands for configuring Managed Servers with Oracle Java Required Files JRF
OracleMWConfig Oracle Middleware Configuration Tool. OracleMWConfigUtilities Oracle Middleware Configuration Tool Utilities.
OracleODL Lists commands for FMW diagnostic logging. OracleUMS Lists commands for User Messaging Service UMS.
URLConnection List Commands for managing ADF Based URL Connections
WebServices Lists commands for Oracle WebServices Management. audit Lists commands for Common Audit Framework
opss Oracle platform security services Commands. soa Oracle platform SOA Commands.
wsmManage Lists commands for Oracle WSM Policy Management.
wsadmin
3.1.3.3.2 Listing the Commands within an Oracle Fusion Middleware wsadmin Command-Line
Category To list the commands associated with a particular category, enter the category name inside single quotes within the parentheses. For example:
wsadminprint OracleHelp.help’OracleODL.help’ Example 3–3
shows an example of listing the commands in a particular category.
Example 3–3 Listing a Specific Category of Oracle Fusion Middleware wsadmin
Commands
wsadminprint OracleHelp.helpOracleODL Commands for FMW diagnostic logging
configureLogHandler Configure Java logging handlers.
3-10 Oracle Fusion Middleware Third-Party Application Server Guide
displayLogs Search and display the contents of diagnostic log files.
getLogLevel Returns the level of a given Java logger. listLogHandlers Lists Java log handlers configuration.
listLoggers Lists Java loggers and their levels. listLogs Lists log files for FMW components.
setLogLevel Sets the level of a given Java logger.
wsadmin
3.1.3.3.3 Getting Help on a Specific Oracle Fusion Middleware wsadmin Command To get help
on a specific Oracle Fusion Middleware wsadmin command: wsadminprint OracleHelp.helpcategory.command
Example 3–4 shows an example of the online help output for a specific Oracle
Diagnostic Logging command.
Example 3–4 Example of Online Help for a Specific Oracle Fusion Middleware wsadmin
Command
wsadminprint OracleHelp.helpOracleODL.listLogs Lists log files for FMW components.
Returns a PyArray with one element for each log. The elements of the array are javax.management.openmbean.CompositeData objects describing
each log.
Syntax: listLogs[options]
- options: optional list of name-value pairs.
o target: the name of a Weblogic server, or an OPMN managed FMW component. For an OPMN managed component the syntax for the target is
opmn:instance-namecomponent-name.
The target argument can be an array of strings containing one or more targets. In connected mode the default target includes all running
Weblogic servers in the domain that have JRF enabled. In disconnected mode there is no default, the target option is required.
o oracleInstance: defines the path to the ORACLE_INSTANCE or Weblogic domain home. The command will be executed in disconnected mode when
this parameter is used.
o unit: defines the unit to use for reporting file size. Valid values are B bytes, K kilobytes, M megabytes, G gigabytes,
or H display size in a human-readable form, similar to Unixs ls -h option. The default value is H.
o fullTime: a Jython Boolean value. If true, reports the full time for the log file last modified time. Otherwise displays a short
version of the time. The default value is false.
Example: 1. listLogs
2. listLogstarget=server1 3. listLogstarget=opmn:instance1ohs1
4. listLogsoracleInstance=middlewareuser_projectsdomainsbase_domain,
Managing Oracle Fusion Middleware on IBM WebSphere 3-11
target=server1 wsadmin
3.1.3.4 Differences Between the wsadmin Commands and the WebLogic Scripting Tool WLST Commands