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.

No comments:

Post a Comment