search cancel

ERROR with AGENT: Exception caused while sending service request message to a node... Unidentified UUID while resolving node

book

Article ID: 215702

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager

Issue/Introduction

Some operator failing to run on an Agent.

Found that on the PAM Server, the TMP directory is around 95 GB in size.

How to clear this folder?

Environment

Release : 17.2

Component : SERVICE DESK MANAGER

PROCESS AUTOMATION 04.3.03

Cause

PAM Server Logs:
===============

2021-05-24 08:44:48,342 ERROR [com.ca.pam.frontcontroller.C2OSoapControllerServlet] [04.184-8080-304] C2OSoapControllerServlet:404No SOAP Action specifiedPOST
2021-05-24 08:44:52,265 ERROR [com.optinuity.c2o.c2oserver.ServerManager] [ssion Task-7045] Exception caused while sending service request message to a node.
com.optinuity.c2o.util.C2OException: Unidentified UUID while resolving node
 at com.optinuity.c2o.transport.Resolver.getNodeURL(Resolver.java:417)
 at com.optinuity.c2o.c2oserver.ServerManager.sendMessageToNode(ServerManager.java:5148)
 at com.optinuity.c2o.c2oserver.ServerManager.deliverRequest(ServerManager.java:3967)
 at com.optinuity.c2o.server.mdb.RequestListener.onMessage(RequestListener.java:124)
 at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1401)
 at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
 at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
 at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
 at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)
2021-05-24 08:44:56,421 ERROR [com.optinuity.c2o.c2oserver.ServerManager] [ssion Task-7045] Exception caused while sending service request message to a node.
com.optinuity.c2o.util.C2OException: Unidentified UUID while resolving node
 at com.optinuity.c2o.transport.Resolver.getNodeURL(Resolver.java:417)
 at com.optinuity.c2o.c2oserver.ServerManager.sendMessageToNode(ServerManager.java:5148)
 at com.optinuity.c2o.c2oserver.ServerManager.deliverRequest(ServerManager.java:3973)
 at com.optinuity.c2o.server.mdb.RequestListener.onMessage(RequestListener.java:124)
 at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1401)
 at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
 at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
 at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
 at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)

AGENT LOGs:
=================

2021-05-23 11:49:26,924 WARN  [com.optinuity.c2o.util.RepositoryUtil] [        Timer-2] Failed to unmarshall Mapping object
java.net.SocketException: No buffer space available (maximum connections reached?): connect
 at java.net.DualStackPlainSocketImpl.connect0(Native Method)
 at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
 at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
 at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at sun.net.NetworkClient.doConnect(Unknown Source)
 at sun.net.www.http.HttpClient.openServer(Unknown Source)
 at sun.net.www.http.HttpClient.openServer(Unknown Source)
 at sun.net.www.http.HttpClient.<init>(Unknown Source)
 at sun.net.www.http.HttpClient.New(Unknown Source)
 at sun.net.www.http.HttpClient.New(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
 at java.net.URL.openStream(Unknown Source)
 at com.optinuity.c2o.util.RepositoryUtil.loadC2OURLResourceMapping(RepositoryUtil.java:34)
 at com.optinuity.c2o.util.MirrorDomain.updateIndex(MirrorDomain.java:236)
 at com.optinuity.c2o.util.MirrorDomain.mirrorFiles(MirrorDomain.java:278)
 at com.optinuity.c2o.util.MirrorDomain.run(MirrorDomain.java:1097)
 at java.util.TimerThread.mainLoop(Unknown Source)
 at java.util.TimerThread.run(Unknown Source)
2021-05-23 11:49:26,924 ERROR [com.optinuity.c2o.util.MirrorDomain] [        Timer-2] Unable to create index file by reading from the domain of urldue to exception
com.optinuity.c2o.util.C2OException: Error caused while unmarshalling the C2O Mapping object
 at com.optinuity.c2o.util.ExceptionUtil.createException(ExceptionUtil.java:67)
 at com.optinuity.c2o.util.ExceptionUtil.createException(ExceptionUtil.java:60)
 at com.optinuity.c2o.util.RepositoryUtil.loadC2OURLResourceMapping(RepositoryUtil.java:39)
 at com.optinuity.c2o.util.MirrorDomain.updateIndex(MirrorDomain.java:236)
 at com.optinuity.c2o.util.MirrorDomain.mirrorFiles(MirrorDomain.java:278)
 at com.optinuity.c2o.util.MirrorDomain.run(MirrorDomain.java:1097)
 at java.util.TimerThread.mainLoop(Unknown Source)
 at java.util.TimerThread.run(Unknown Source)
2021-05-23 12:26:14,388 ERROR [com.optinuity.c2o.installer.LaunchAgentJnlp] [erSimpleAppMain] LaunchAgentJnlp.main: agent startup failed: 
netx.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file.
 at netx.jnlp.Launcher.launchApplication(Launcher.java:313)
 at netx.jnlp.Launcher$TgThread.run(Launcher.java:466)
Caused by: java.lang.ClassNotFoundException: com.optinuity.c2o.c2oagent.AgentManager
 at netx.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:541)
 at netx.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:498)
 at netx.jnlp.Launcher.launchApplication(Launcher.java:297)
 ... 1 more
Caused by: 
java.lang.ClassNotFoundException: com.optinuity.c2o.c2oagent.AgentManager
 at netx.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:541)
 at netx.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:498)
 at netx.jnlp.Launcher.launchApplication(Launcher.java:297)
 at netx.jnlp.Launcher$TgThread.run(Launcher.java:466)

Resolution

Follow the below steps to clear the data on the server i.e.

1. Stop the PAM Server

2. Can safely delete below folders: "data, scripts, TMP,  temp" from \PAM\Server\c2o
Note: On starting the service, the above folders will be created again based on workflow execution the content will be generated

3. Once service is up and running on PAM server, restart the Agent service (If any).

Attachments