WAS v8.5 > Reference > Commands (wsadmin scripting)AdministrationReports command group for AdminTask using wsadmin.sh
We can use the Jython or Jacl scripting languages to troubleshoot your configuration with wsadmin. The commands in the AdministrationReports group can be used to create a report of inconsistencies in your system configuration or a report that describes the port usage in the system.
The following commands are available for the AdministrationReports group of AdminTask:
reportConfigInconsistencies
Use the reportConfigInconsistencies command to create a report of inconsistencies in the system configuration.
Target object
None
Required parameters and return values
- Parameters: None
- Returns: A report that describes inconsistencies found in the system.
Interactive mode example usage
Jacl:
$AdminTask reportConfigInconsistencies {-interactive}
Jython string:
AdminTask.reportConfigInconsistencies ( '[-interactive]')
Jython list:
AdminTask.reportConfigInconsistencies (['-interactive'])
Example output
Configuration consistency report for cell yardbirdCell cells/yardbirdCell/test.xml is a zero length file. cells/yardbirdCell/nodes/DummyNode does not contain a serverindex.xml document. cells/yardbirdCell/applications/Test. ear/deployments/Test does not contain a deployment.xml document. 3 consistency problems were found.
reportConfiguredPorts
Use the reportConfiguredPorts command to create a report of all the ports configured in the cell.
Target object
None
Required parameters and return values
- Parameters: None
- Returns: A report that describes the port usage in the system.
Interactive mode example usage
Jacl:
$AdminTask reportConfiguredPorts {-interactive}
Jython string:
AdminTask.reportConfiguredPorts ('[-interactive]')
Jython list:
AdminTask.reportConfiguredPorts (['-interactive'])
Example ouput
Ports configured in cell yardbirdCell Node yardbirdCellMgr / Server dmgr yardbird:7283 CELL_DISCOVERY_ADDRESS yardbird:9809 BOOTSTRAP_ADDRESS ... Node dizzyNode1 / Server server1 dizzy:2813 BOOTSTRAP_ADDRESS dizzy:8880 SOAP_CONNECTOR_ADDRESS ... Node dizzyNode1 / Server nodeagent dizzy:2814 BOOTSTRAP_ADDRESS dizzy:9904 ORB_LISTENER_ADDRESS
Related
Use the wsadmin scripting AdminTask object for scripted administration
Reference:
Commands for AdminTask using wsadmin.sh