2010-08-30

WebSphere SECJ0306E, ADMS0005E, ADMN0022E

WebSphere Application Server version 6.1.0.11 on Windows Server 2003.

The Problem

From admin console, node would not sync. See error dialog:


From nodeagent log:
[8/30/10 12:56:07:717 CDT] 00000019 RoleBasedAuth E   SECJ0306E: No received or invocation credential exist on the thread. The Role based authorization check will not have an accessId of the caller to check. The parameters are: access check method getCurrentTimeInMillis on resource JVM and module JVM. The stack trace is java.lang.Exception: Invocation and received credentials are both null
 at com.ibm.ws.security.role.RoleBasedAuthorizerImpl.checkAccess(RoleBasedAuthorizerImpl.java:285)
 at com.ibm.ws.management.AdminServiceImpl.preInvoke(AdminServiceImpl.java:1967)
 at com.ibm.ws.management.AdminServiceImpl.access$400(AdminServiceImpl.java:113)
 at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1057)
 at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
 at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:973)
 at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:139)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:615)
 at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:351)
 at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:205)
 at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:55)
 at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:680)
 at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:484)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
.

And consequently this error in nodeagent log.
[8/30/10 12:56:07:764 CDT] 00000022 NodeSync      E   ADMS0005E: The system is unable to generate synchronization request: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the getRepositoryEpoch operation on ConfigRepository MBean because of insufficient or empty credentials.
 at com.ibm.ws.management.AdminServiceImpl.preInvoke(AdminServiceImpl.java:2144)
 at com.ibm.ws.management.AdminServiceImpl.access$400(AdminServiceImpl.java:113)
 at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1057)
 at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
 at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:973)
 at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:139)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:615)
 at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:351)
 at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:205)
 at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:55)
 at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:680)
 at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:484)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

The Fix

1. Kill nodeagent in Task Manager.

2. Manually run synchronization command.
C:\WAS61\AppServer\profiles\node\bin>syncNode.bat bob 8880 -conntype SOAP -username monkey1 -password ********
ADMU0116I: Tool information is being logged in file
           c:\WAS61\AppServer\profiles\node\logs\syncNode.log
ADMU0128I: Starting tool with the node profile
ADMU0401I: Begin syncNode operation for node bobNode0 with Deployment
           Manager bob: 8880
ADMU0016I: Synchronizing configuration between node and cell.
ADMU0402I: The configuration for node bobNode0 has been synchronized with
           Deployment Manager bob: 8880

3. Start nodeagent in Services control panel.

2 comments:

  1. Here i am facing problem. Could not able to Sync the node getting below error.
    ADMU0113E: Program exiting with error:
    com.ibm.websphere.management.exception.ConnectorException:
    ADMC0016E: The system cannot create a SOAP connector to connect to
    host xxxx at port 8879., resulting from:
    [SOAPException: faultCode=SOAP-ENV:Client; msg=Error parsing HTTP
    status line "": java.util.NoSuchElementException;
    targetException=java.lang.IllegalArgumentException: Error parsing
    HTTP status line "": java.util.NoSuchElementException]
    ADMU4123E: Ensure that the Deployment Manager is running on the specified host
    and port. Also ensure that the security configuration in
    ssl.client.props on the node is compatible with the Deployment
    Manager.
    ADMU1211I: To obtain a full trace of the failure, use the -trace option.
    ADMU0211I: Error details may be seen in the file:

    ReplyDelete
  2. [12/4/18 2:21:56:743 CST] 000000db NodeSyncTask A ADMS0036E: The configuration synchronization failed.
    [12/4/18 2:21:57:694 CST] 000000de NodeSync E ADMS0012E: The system is unable to create an administrative client connection: com.ibm.websphere.management.exception.AdminException: Admin client connection to deployment manager is unavailable; nodeagent has not discovered the dmgr
    at com.ibm.ws.management.sync.NodeSync.getAdminClient(NodeSync.java:532)
    at com.ibm.ws.management.sync.NodeSync.getCellRepositoryEpoch(NodeSync.java:407)
    at com.ibm.ws.management.sync.NodeSyncTask.doSync(NodeSyncTask.java:248)
    at com.ibm.ws.management.sync.NodeSyncTask.run(NodeSyncTask.java:157)
    at java.lang.Thread.run(Thread.java:804)

    ReplyDelete