TEC604647: WASX7015E ADMN0022E errors when running listServers script to enable WebSphere agents for instrumentation. javax.management.JMRuntimeException

Document created by DavidLewis Employee on May 26, 2016Last modified by SamCreek on May 26, 2016
Version 2Show Document
  • View in full screen mode

Document ID:  TEC604647
Last Modified Date:  1/15/2014

Author: DavidLewis

  • Products
    • CA Application Performance Management
    • CA Introscope
  • Releases
    • CA Application Performance Management:Release:9.1 SP2
    • CA Application Performance Management:Release:9.1.0
    • CA Application Performance Management:Release:9.1.1
    • CA Application Performance Management:Release:CA APM 9.5
  • Components
    • WILY INTROSCOPE
    • INTROSCOPE AGENT
    • APM AGENTS

 

 

 

Description:

The listServers scripts can be used to automate configuration of multiple Websphere instances for Introscope monitoring.

This is one possible error that you may see when running the command:

WASX7015E: Exception running command: "listServers D:\\CA\\Wily"; exception

information:

javax.management.JMRuntimeException: ADMN0022E: Access is denied for the getState operation on Server MBean because of insufficient or empty credentials.

 

Solution:

This information applies to WebSphere 7

The credentials required can be placed in the file soap.client.props

This file can be found in <WebSphere Home>/profiles/<profileName>/properties folder

com.ibm.SOAP.securityEnabled=true

#--------------------------------------------------------------------------- ---
# - authenticationTarget ( BasicAuth[default], KRB5. These are the only
supported selection
# on a pure client for JMX SOAP Connector Client. )
#------------------------------------------------------------------------------

com.ibm.SOAP.authenticationTarget=BasicAuth

com.ibm.SOAP.loginUserid=wasadmin
com.ibm.SOAP.loginPassword=<enter-password>

 

 

Search the Entire CA APM Knowledge Base

 

search-kb.jpg

 

Attachments

    Outcomes