Sync/stop nodeagent failed CWWIM1999E An exception occurred during processing: Listener refused the connection with the following error:

[7/29/16 10:56:08:589 AEST] 000081a6 LTPAServerObj E   SECJ0373E: Cannot create credential for the user <null> due to failed validation of the LTPA token. The exception is com.ibm.websphere.wim.exception.WIMSystemException: CWWIM1999E  An exception occurred during processing: Listener refused the connection with the following error:
ORA-12516, TNS:listener could not find available handler with matching protocol stack

at com.ibm.ws.wim.dao.AbstractDAO.getDirectAccessConnection(AbstractDAO.java:390)
at com.ibm.ws.wim.dao.AbstractDAO.getConnection(AbstractDAO.java:288)
at com.ibm.ws.wim.dao.AbstractDAO.findDBEntityByUniqueNameKey(AbstractDAO.java:2219)
at com.ibm.ws.wim.adapter.db.DBAdapter.get(DBAdapter.java:553)
at com.ibm.ws.wim.ProfileManager.retrieveEntityFromRepository(ProfileManager.java:2822)
at com.ibm.ws.wim.ProfileManager.retrieveEntity(ProfileManager.java:2935)
at com.ibm.ws.wim.ProfileManager.getImpl(ProfileManager.java:1616)
at com.ibm.ws.wim.ProfileManager.genericProfileManagerMethod(ProfileManager.java:366)
at com.ibm.ws.wim.ProfileManager.get(ProfileManager.java:419)
at com.ibm.websphere.wim.ServiceProvider.get(ServiceProvider.java:410)
at com.ibm.ws.wim.registry.util.SecurityNameBridge.getUserSecurityName(SecurityNameBridge.java:224)
at com.ibm.ws.wim.registry.WIMUserRegistry$7.run(WIMUserRegistry.java:818)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5486)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5612)
at com.ibm.ws.wim.security.authz.jacc.JACCSecurityManager.runAsSuperUser(JACCSecurityManager.java:438)
at com.ibm.ws.wim.env.was.JACCAuthorizationService.runAsSuperUser(JACCAuthorizationService.java:1086)
at com.ibm.ws.wim.security.authz.ProfileSecurityManager.runAsSuperUser(ProfileSecurityManager.java:285)
at com.ibm.ws.wim.registry.WIMUserRegistry.getUserSecurityName(WIMUserRegistry.java:806)
at com.ibm.ws.security.registry.UserRegistryImpl.getUserSecurityName(UserRegistryImpl.java:569)
at com.ibm.ws.security.ltpa.LTPAServerObject.getSecurityName(LTPAServerObject.java:1762)
at com.ibm.ws.security.ltpa.LTPAServerObject.validate(LTPAServerObject.java:1584)
at com.ibm.ws.security.ltpa.LTPAServerObject.validate(LTPAServerObject.java:1508)
at com.ibm.ws.security.server.lm.ltpaLoginModule.login(ltpaLoginModule.java:922)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:781)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:215)

at javax.security.auth.login.LoginContext$4.run(LoginContext.java:706)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:704)
at java.security.AccessController.doPrivileged(AccessController.java:492)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:703)
at javax.security.auth.login.LoginContext.login(LoginContext.java:609)
at com.ibm.ws.security.auth.JaasLoginHelper.jaas_login(JaasLoginHelper.java:243)
at com.ibm.ws.security.auth.ContextManagerImpl.login(ContextManagerImpl.java:3635)
at com.ibm.ISecurityLocalObjectTokenBaseImpl.WSSecurityContextLTPAImpl.acceptSecContext(WSSecurityContextLTPAImpl.java:397)
at com.ibm.ISecurityLocalObjectTokenBaseImpl.WSSecurityContextLTPAImpl.acceptSecContext(WSSecurityContextLTPAImpl.java:235)
at com.ibm.ws.management.connector.ipc.CallRouter.tokenBasedAuth(CallRouter.java:565)
at com.ibm.ws.management.connector.ipc.CallRouter.route(CallRouter.java:118)
at com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink.doWork(IPCConnectorInboundLink.java:360)
at com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink$IPCConnectorReadCallback.complete(IPCConnectorInboundLink.java:602)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$QueuedWork.run(SSLReadServiceContext.java:1987)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.ibm.ws.wim.dao.AbstractDAO.getDirectAccessConnection(AbstractDAO.java:375)
… 43 more
Caused by: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12516, TNS:listener could not find available handler with matching protocol stack

at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:673)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:715)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:385)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:30)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:564)
… 47 more
Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
ORA-12516, TNS:listener could not find available handler with matching protocol stack

at oracle.net.ns.NSProtocolStream.negotiateConnection(NSProtocolStream.java:272)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:263)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1360)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:486)
… 51 more

 

RESOVLED:

  1. You need to kill nodeagent process ID. (You can’t use the stop node command)
  2. Force manual sync with deployment manager
  3. Start nodeagent
  •  
  •  
  •  
  •  

Viet Luu has written 210 articles

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

We are thankful for your never ending support.

Leave a Reply