Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

AES 7.1 throws exception while reading the alert message

SA-8761

Summary



 AES 7.1 throws
FirstUseAssemblerException and PRRuntimeError while monitoring the PRPC instance and reading the alerts.

Error Messages



2015-04-07 11:52:38,163 [http-apr-8090-exec-8] [ STANDARD] [ ] [ AES:07.10] ( internal.services.ServiceAPI) ERROR demoserver|1.1.1.1|SOAP|PegaAES|Events|logAlert|AEA49138592CAAB02BE0A9A356C962019 - SOAP service [PegaAES][Events][logAlert] failed:PRRuntimeError:com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:706)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:433)
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.runActivities(ServiceAPI.java:1859)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:402)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1203)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:930)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:815)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:348)
at com.pega.pegarules.integration.engine.internal.services.soap.SOAPService.invoke(SOAPService.java:551)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:312)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:240)
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:485)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:290)
at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:419)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:460)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:509)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3284)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10265)
at com.pegarules.generated.activity.ra_action_processproblemcorrelation_5a3e982ed8b8021ad100dd982ca0cd27.step8_circum0(ra_action_processproblemcorrelation_5a3e982ed8b8021ad100dd982ca0cd27.java:1856)
at com.pegarules.generated.activity.ra_action_processproblemcorrelation_5a3e982ed8b8021ad100dd982ca0cd27.perform(ra_action_processproblemcorrelation_5a3e982ed8b8021ad100dd982ca0cd27.java:224)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3275)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10265)
at com.pegarules.generated.activity.ra_action_parsealertline_c7db1f8ddbb5751904fea7f934814bc9.step20_circum0(ra_action_parsealertline_c7db1f8ddbb5751904fea7f934814bc9.java:2016)
at com.pegarules.generated.activity.ra_action_parsealertline_c7db1f8ddbb5751904fea7f934814bc9.perform(ra_action_parsealertline_c7db1f8ddbb5751904fea7f934814bc9.java:451)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3275)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10265)
at com.pegarules.generated.activity.ra_action_parsealertlinesoap_d900b59ea1dc9d4662eb340ef26369f0.step3_circum0(ra_action_parsealertlinesoap_d900b59ea1dc9d4662eb340ef26369f0.java:311)
at com.pegarules.generated.activity.ra_action_parsealertlinesoap_d900b59ea1dc9d4662eb340ef26369f0.perform(ra_action_parsealertlinesoap_d900b59ea1dc9d4662eb340ef26369f0.java:103)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3275)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:640)
... 48 more
Caused by: com.pega.pegarules.pub.generator.FirstUseAssemblerException: Failed to compile generated Java com.pegarules.generated.activity.ra_action_processpcfsql_47e4592fdb1d89b4da6bd07288c8a014: ----------
1. ERROR in com/pegarules/generated/activity/ra_action_processpcfsql_47e4592fdb1d89b4da6bd07288c8a014.java (at line 245)
com.pega.aes.utils.sql.SQLParser parser = new com.pega.aes.utils.sql.SQLParser();
^^^^^^^^^^^^
com.pega.aes cannot be resolved to a type


Steps to Reproduce



1. Setup Pega7.1.6 and AES 7.1
.
2. Configure AES7.1 to monitor one PRPC instance.

Root Cause



During PRPC and AES installation, AES imports five JAR files into the PegaRULES database with the codeset name as pegaaes.
You can find these jar file entries in PegaRULES table by running the query - select distinct pzjar from pr_engineclasses where pzcodeset='pegaaes';). 
Pega-provided activity PegaAES-Data-UtilityObject fails to compile because it does not find the SQLParser class.

Resolution



For the PRPC engine to load these JAR files, you must add the following Dynamic System Setting (DSS):

properties/com.pega.pegarules.bootstrap.codeset.version.pegaaes/defaultvalue: 07-20-01

Owning ruleset: Pega-Engine (The Autonomic Event Services, Enterprise Edition, Installation and Upgrade Guide, Pega 7.1 is updated with this information.)

Published May 5, 2015 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us