Question
Citigroup Inc
IN
Last activity: 29 Mar 2019 1:38 EDT
Agent management without SMA
HI Team,
Since we have problem accessing the SMA could you please help suggest, if there is an option or channel available to stop/start Agent and monitor activity logs for a newly created Agent.
please suggest..
regards
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
You can connect to the remote PegaRULES server JVM using JDK's standard JConsole utility. Navigate to AgentManagement MBean under com.pega.PegaRULES tree under the "MBeans" tab once successfully connected. There are two operations "StopQueues" and "StopQueue" that you can execute for your specific application ruleset and agent queue number. See attached screenshot (Capture.jpg) for reference.
Citigroup Inc
IN
Thank you !
let me try.
Larsen & Toubro Ltd
IN
Hey, which version of PRPC are you using. You can now manage the Agents via the developer portal itself.
Cognizant Technologies
CA
Hi Imthiyaz,
Which version of PEGA you are referring here where you can see Agent Management, we are using 7.2.1
Thanks
Vinod Manavi
Larsen & Toubro Ltd
IN
Hi Vinod, the screenshots are from Pega V 7.3.1
Thanks
Citigroup Inc
IN
Thanks Imthiyaz,
We are on PRPC ver 7.2.1. somehow we are getting exception error while starting agent as highlighted below -
2018-03-26 02:49:24,727 [ WebContainer : 0] (ctionWrapper._baseclass.Action) ERROR hostname.xx.xxxx.net|local_desktop.xxx.xxxxx.xxx operator_ID - Activity pzStartStopAgent failed to execute
java.lang.NullPointerException
at com.pega.pegarules.session.internal.async.Agent.getQueue(Agent.java:1065)
at com.pega.pegarules.session.internal.async.Agent.restartQueue(Agent.java:2266)
at com.pega.pegarules.session.internal.async.AgentUtilsImpl.startQueue(AgentUtilsImpl.java:630)
at com.pega.pegarules.session.internal.async.AgentUtilsImpl.startQueue(AgentUtilsImpl.java:568)
at com.pegarules.generated.activity.ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.step3_3_circum0(ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.java:599)
at com.pegarules.generated.activity.ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.step3_0_circum0(ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.java:407)
at com.pegarules.generated.activity.ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.perform(ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.java:115)
Thanks Imthiyaz,
We are on PRPC ver 7.2.1. somehow we are getting exception error while starting agent as highlighted below -
2018-03-26 02:49:24,727 [ WebContainer : 0] (ctionWrapper._baseclass.Action) ERROR hostname.xx.xxxx.net|local_desktop.xxx.xxxxx.xxx operator_ID - Activity pzStartStopAgent failed to execute
java.lang.NullPointerException
at com.pega.pegarules.session.internal.async.Agent.getQueue(Agent.java:1065)
at com.pega.pegarules.session.internal.async.Agent.restartQueue(Agent.java:2266)
at com.pega.pegarules.session.internal.async.AgentUtilsImpl.startQueue(AgentUtilsImpl.java:630)
at com.pega.pegarules.session.internal.async.AgentUtilsImpl.startQueue(AgentUtilsImpl.java:568)
at com.pegarules.generated.activity.ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.step3_3_circum0(ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.java:599)
at com.pegarules.generated.activity.ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.step3_0_circum0(ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.java:407)
at com.pegarules.generated.activity.ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.perform(ra_action_pzstartstopagent_e3215d923e16c3065e201e7c1fb37d9c.java:115)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.step1_circum0(ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.java:318)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.perform(ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:466)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3093)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:390)
at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1277)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1015)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:848)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:817)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:327)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:270)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:247)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:574)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:374)
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:367)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:408)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:223)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:272)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1114)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:949)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Larsen & Toubro Ltd
IN
Hello Krishna, not very sure if any of the agent queues are corrupted. Can you delete the Data-Agent-Queue, and let the system re-create those instances.
Also, do you have any other FW's installed on top of Pega V7.2.1 ?