|
Problem(Abstract) |
A stand alone Java™ administrative client is used to
gather configuration information from deployment manager. The deployment
manager has J2EE security enabled. The standalone Java client uses SOAP
protocol using soap.client.props file. The problem only occurs when the
passwords are encoded. When accessing the deployment manger the following
error is encountered:
com.ibm.websphere.management.exception.ConfigServiceException
at
com.ibm.websphere.management.configservice.ConfigServiceProxy.resolve(Co
nfigServiceProxy.java:410)
at com.tlrg.monitor.input.PasswordTest.main(PasswordTest.java:48)
---- Begin backtrace for nested exception
javax.management.JMRuntimeException: ADMN0022E: Access denied for the
resolve operation on ConfigService MBean due to insufficient or empty
credentials.
at
com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFaul
t(SOAPConnectorClient.java:602)
at
com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(
SOAPConnectorClient.java:571)
at
com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConn
ectorClient.java:456)
at
com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConn
ectorClient.java:281)
at $Proxy0.invoke(Unknown Source)
at
com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:162)
at
com.ibm.websphere.management.configservice.ConfigServiceProxy.resolve(Co
nfigServiceProxy.java:390)
at com.tlrg.monitor.input.PasswordTest.main(PasswordTest.java:48) |
|
|
|
Cause |
soap.client.props file is not configured correctly to use
the configURL |
|
|
Resolving the
problem |
- Use a new unencoded soap.client.props available in Install_Root
/properties
- Set the user and password and then regenerate the soap.client.props by
running PropFilePasswordEncoder.bat
- Add the property com.ibm.SOAP.ConfigURL to this file and set its value
to the location of the property file.
Example:com.ibm.SOAP.ConfigURL=file:C:/myproperties/soap.client.props
Step #3 above ensures that password encoding and decoding errors are
eliminated. |
|
|