Question

30
Replies
3287
Views
chars1 Member since 2015 46 posts
PEGA
Posted: 4 years ago
Last activity: 4 years 5 months ago
Closed

AES Enterprise Health is not showing up and other issues

Hello,

    My client is currently implementing AES with AES 07.01.jar and has a few issues

AES_07.01-2013-12-20.png

1. The Enterprise Health is not showing any nodes (there should be 3 nodes listed in the Dropdown)?

Enterprise Health Clusters.png

I checked the pegaam_cluster_data and PegaAES-Data-Nodes class, both contain all the valid node name and id

pegaam_cluster_data.png

PeagaAES-Data-Nodes.png

What I can see the cluster query statement is per below and the PegaAES-Data-Indicator has no data.

SELECT "PC0".ClusterName AS "ClusterName" , "PC0".ProductionLevel AS "ProductionLevel" , "PC0".ClusterURL AS "ClusterURL" , "PC0".pyLabel AS "pyLabel" , "PC0".pzInsKey AS "pzInsKey" FROM rules.pegaam_cluster_data "PC0" INNER JOIN ( SELECT DISTINCT "CLINFO".ClusterName AS "SRCOL1" FROM rules.pegaam_indicator "CLINFO" WHERE ( UPPER("CLINFO".ClusterName) IN ('DEV' , 'SIT' , 'SANDPIT' ) ) AND "CLINFO".pxObjClass = 'PegaAES-Data-Indicator' ) "CLINFO" ON ( ( "CLINFO".SRCOL1 = "PC0".ClusterName ) AND "PC0".pxObjClass = 'PegaAES-Data-Cluster' ) ORDER BY 1 ASC

<DEV> <SANDPIT> <SIT> <PegaAES-Data-Indicator> <PegaAES-Data-Cluster>

Why are there no records for Indicators ? When are these created ? Auto or Manual ?

2. Only Alert messages show up in the dashboard, not exception messages?.  The

Hightest-Alert but no Exception.png

I can see the pegaam_exception table contains data sent from the monitored nodes.  But why the "High-Return Exception Action Items" shows no data.

3. The call back to get snapshot also fails.   From what I read up AES reaches back to monitored nodes via MBean operations to get info about alert origins, daily perf stats (LogUsage), production level, etc

Do we need to have the monitored node open up specific port for JMX, how does the call back work?

AES connectivity.png

2016-01-08 00:01:14,180 [   PegaRULES-Batch-2] [  STANDARD] [                    ] [           AES:07.10] (      internal.mgmt.Executable) ERROR Rule-Connect-SOAP.PegaAES-Data-RSSnapshot.GetRuleSetSnapshot  - Exception

com.pega.pegarules.pub.services.RemoteApplicationException: SOAP service failed

at com.pegarules.generated.activity.ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.step9_circum0(ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.java:1385)

at com.pegarules.generated.activity.ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.perform(ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.java:205)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)

at com.pegarules.generated.activity.ra_action_invoke_5e9e0cecbbfdfa9a2b1306e703ec4af8.step8_circum0(ra_action_invoke_5e9e0cecbbfdfa9a2b1306e703ec4af8.java:1032)

at com.pegarules.generated.activity.ra_action_invoke_5e9e0cecbbfdfa9a2b1306e703ec4af8.perform(ra_action_invoke_5e9e0cecbbfdfa9a2b1306e703ec4af8.java:189)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)

at com.pegarules.generated.activity.ra_action_getrulesetsnapshot_2850390d5b1ce36cbd89eb174287f69f.step4_circum0(ra_action_getrulesetsnapshot_2850390d5b1ce36cbd89eb174287f69f.java:473)

at com.pegarules.generated.activity.ra_action_getrulesetsnapshot_2850390d5b1ce36cbd89eb174287f69f.perform(ra_action_getrulesetsnapshot_2850390d5b1ce36cbd89eb174287f69f.java:137)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)

at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)

at com.pegarules.generated.activity.ra_action_collectrulesetsnapshotsforcluster_ee9ed2c085f153dbdbe4aa0cfbb483fd.step3_circum0(ra_action_collectrulesetsnapshotsforcluster_ee9ed2c085f153dbdbe4aa0cfbb483fd.java:540)

at com.pegarules.generated.activity.ra_action_collectrulesetsnapshotsforcluster_ee9ed2c085f153dbdbe4aa0cfbb483fd.perform(ra_action_collectrulesetsnapshotsforcluster_ee9ed2c085f153dbdbe4aa0cfbb483fd.java:103)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)

at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)

at com.pegarules.generated.activity.ra_action_collectrulesetsnapshots_82411a6742e20307c9e157e5a5f0e08f.step2_circum0_PegaAES_Data_Cluster(ra_action_collectrulesetsnapshots_82411a6742e20307c9e157e5a5f0e08f.java:324)

at com.pegarules.generated.activity.ra_action_collectrulesetsnapshots_82411a6742e20307c9e157e5a5f0e08f.perform(ra_action_collectrulesetsnapshots_82411a6742e20307c9e157e5a5f0e08f.java:106)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)

at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:719)

at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:600)

at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:885)

at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1177)

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:926)

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:825)

at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:618)

at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991)

at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532)

at java.lang.Thread.run(Thread.java:744)

Caused by: SOAP service [PegaAESRemote][RuleData][GetRulesetSnapshot] failed:PRRuntimeError

2016-01-08 00:01:14,183 [   PegaRULES-Batch-2] [  STANDARD] [                    ] [           AES:07.10] (PegaAES_Data_RSSnapshot.Action) ERROR   - GetRuleSetSnapshot: Failed for designated node 34b4a81266ca689bb5d1ee9160222d70 for cluster SANDPIT with connection string http://DRSDEVPGA702.tmc.rta.nsw.gov.au/prweb/PRSOAPServlet

4.  AES agents has error below (see the attached file) How do I resolve the exception?

Exception at 20160101T073036.329 GMT: java.lang.IllegalStateException: Internal state is compromised; cannot write out application hierarchy and/or rulesets at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.populateApplicationRuleHierarchy(GlobalContextCache.java:1631) at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.populateApplicationRuleHierarchy(GlobalContextCache.java:1939) at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.populateApplicationRuleHierarchy(GlobalContextCache.java:1960) at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.writeApplicationInfoToDatabase(GlobalContextCache.java:1298) at com.pega.pegarules.session.internal.authorization.context.custom.ManagedApplicationContext.updateDBRSLAndAppStack(ManagedApplicationContext.java:843) at com.pega.pegarules.session.internal.authorization.context.custom.ManagedApplicationContext.updateToParent(ManagedApplicationContext.java:425) at com.pega.pegarules.session.internal.authorization.context.custom.ManagedApplicationContext.getChangeCount(ManagedApplicationContext.java:385) at com.pega.pegarules.session.internal.authorization.context.AbstractApplicationContext.getAppInfo(AbstractApplicationContext.java:43) at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.populateApplicationRuleHierarchy(GlobalContextCache.java:1955) at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.writeApplicationInfoToDatabase(GlobalContextCache.java:1298) at com.pega.pegarules.session.internal.authorization.context.custom.ManagedApplicationContext.updateDBRSLAndAppStack(ManagedApplicationContext.java:843) at com.pega.pegarules.session.internal.authorization.context.custom.ManagedApplicationContext.&lt;init&gt;(ManagedApplicationContext.java:102) at com.pega.pegarules.session.internal.authorization.context.custom.CustomApplicationContext.&lt;init&gt;(CustomApplicationContext.java:75) at com.pega.pegarules.session.internal.authorization.context.ContextUtils.ensureCustomizable(ContextUtils.java:973) at com.pega.pegarules.session.internal.authorization.Authorization.alterRuleSetList(Authorization.java:1034) at com.pega.pegarules.session.internal.authorization.Authorization.alterRuleSetList(Authorization.java:1027) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:758) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1177) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:926) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:825) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:618) at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991) at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532) at java.lang.Thread.run(Thread.java:744) Caused by: com.pega.pegarules.pub.PRRuntimeException: caught exception during autocommit check at com.pega.pegarules.data.internal.access.ConnectionManagerImpl.returnConnection(ConnectionManagerImpl.java:2228) at com.pega.pegarules.data.internal.access.ThreadConnectionStoreImpl.returnConnection(ThreadConnectionStoreImpl.java:504) at com.pega.pegarules.data.internal.access.RDBPageResultPackager.close(RDBPageResultPackager.java:897) at com.pega.pegarules.data.internal.access.DatabaseImpl.executeRDB(DatabaseImpl.java:6496) at com.pega.pegarules.data.internal.access.DatabaseImpl.executeRDB(DatabaseImpl.java:6429) at com.pega.pegarules.data.internal.access.DatabaseImpl.executeRDB(DatabaseImpl.java:6410) at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.doesTopAppHashNeedToBeInsertedIntoFlattenedHierarchy(GlobalContextCache.java:1878) at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.populateApplicationRuleHierarchy(GlobalContextCache.java:1603) ... 23 more Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190) at com.microsoft.sqlserver.jdbc.SQLServerConnection.checkClosed(SQLServerConnection.java:388) at com.microsoft.sqlserver.jdbc.SQLServerConnection.getAutoCommit(SQLServerConnection.java:1909) at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.getAutoCommit(DelegatingConnection.java:337) at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.getAutoCommit(PoolingDataSource.java:235) at com.pega.pegarules.data.internal.access.DatabaseConnectionImpl.getAutoCommit(DatabaseConnectionImpl.java:806) at com.pega.pegarules.data.internal.access.ConnectionManagerImpl.returnConnection(ConnectionManagerImpl.java:2221) ... 30 more




5. Would upgrade to the AES 07.13 (AES_07_13_01.jar) resolve most of the issues above, if so can I simply import the new jar on top?

Thank you in advance...

Pega Customer Service Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn