Error: ADMN0022E when running serverstatus -all
 Technote (troubleshooting)
 
Problem(Abstract)
The following error occurs when running serverstatus.sh/.bat -all from the <WASROOT>\bin directory:

ADMU0111E: Program exiting with error: javax.management.JMRuntimeException:
ADMN0022E: Access denied for the getState operation on Server MBean
due to insufficient or empty credentials.
 
Cause
The problem occurs if the command is run after security is enabled on the WebSphere® server. A valid user name and password is now required to successfully run this command.
 
Resolving the problem
To run the command, enter the following :
serverstatus -all -user username -password password

where username and password are a valid user name and password specified in WebSphere Application Server.

You can now see the correct information.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Administrative Scripting Tools (for example: wsadmin or ANT)
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1171190
IBM Group: Software Group
Modified date: Jun 8, 2004