IBM Support

Portal v6.1 ConfigEngine script fails with insufficient or empty credentials error.

Troubleshooting


Problem

When running an IBM WebSphere Portal v6.1 ConfigEngine script in a clustered environment, it fails with the exception com.ibm.websphere.management.exception.ConfigServiceException: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the resolve operation on ConfigService MBean because of insufficient or empty credentials.

Symptom

In the ConfigTrace.log and on the console window, the following exception can be seen. In this example, the user was running 'cluster-node-config-vertical-cluster-setup'::

[wplc-remove-resource-env-providers] Instance attributes (Set 1 of 1):
[wplc-remove-resource-env-providers] name= *** NOT_SPECIFIED ***
[wplc-remove-resource-env-providers] modifypattern="WP"
[wplc-remove-resource-env-providers] sourcescope="server"
[wplc-remove-resource-env-providers] serverCluster= *** NOT_SPECIFIED ***
[wplc-remove-resource-env-providers] Resource Environment Provider - null- remove fail.
[wplc-remove-resource-env-providers] com.ibm.websphere.management.exception.ConfigServiceException: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the resolve operation on ConfigService MBean because of insufficient or empty credentials.
[wplc-remove-resource-env-providers] at com.ibm.websphere.management.configservice.ConfigServiceProxy.resolve(ConfigServiceProxy.java:473)
[wplc-remove-resource-env-providers] at com.ibm.wplc.deploy.tasks.impl.ResourceEnvProviderGroupRemoveImpl.execute(ResourceEnvProviderGroupRemoveImpl.java:65)
.
.
.
[wplc-remove-resource-env-providers] Caused by: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the resolve operation on ConfigService MBean because of insufficient or empty credentials.
[wplc-remove-resource-env-providers] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:811)
[wplc-remove-resource-env-providers] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:779)
[wplc-remove-resource-env-providers] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:575)
.
.
.

[wplc-remove-resource-env-providers] com.ibm.websphere.management.exception.ConfigServiceException: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the discard operation on ConfigService MBean because of insufficient or empty credentials.
[wplc-remove-resource-env-providers] at com.ibm.websphere.management.configservice.ConfigServiceProxy.discard(ConfigServiceProxy.java:199)
[wplc-remove-resource-env-providers] at com.ibm.wplc.deploy.tasks.impl.ResourceEnvProviderGroupRemoveImpl.execute(ResourceEnvProviderGroupRemoveImpl.java:106)
.
.
.
[wplc-remove-resource-env-providers] Caused by: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the discard operation on ConfigService MBean because of insufficient or empty credentials.
[wplc-remove-resource-env-providers] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:811)
[wplc-remove-resource-env-providers] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:779)
[wplc-remove-resource-env-providers] at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:575)
.
.
.
Target finished: cluster-action-remove-resource-providers-and-properties-member
Target finished: cluster-action-remove-server-scoped-resources
Target finished: cluster-node-config-vertical-cluster-setup

Cause

The password is incorrect in the wkplc.properties file.

Resolving The Problem

Open the wkplc.properties file located at <Portal Server install directory>/wp_profile/ConfigEngine/properties.

Navigate to the WasPassword=yourDMGRpassword

Correct the value of WasPassword to the correct password.

Re-run the cluster-node-config-vertical-cluster-setup task:


./ConfigEngine.sh cluster-node-config-vertical-cluster-setup -DServerName=unique vertical cluster servername
[{"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Installation \u0026 Configuration","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1","Edition":"Enable;Extend;Server","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

More support for:
WebSphere Portal

Software version:
6.1

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows

Document number:
621203

Modified date:
03 December 2021

UID

swg21375966

Manage My Notification Subscriptions