Question

2
Replies
358
Views
X
Akash Member since 2017 12 posts
Vodafone
Posted: 2 years ago
Last activity: 2 years 6 months ago
Closed

Error When Queuing to agent

I have a standard agent to which we queue items. The items are queued from service jms activity.

Whenever I do manual testing and run the service jms rule, I can see the following error logged in log file-

[ Application:01.45.07] (ternal.mgmt.StreamBuilderTools) ERROR site.web.com|121.0.0.1 Akash - Could not find a rule when appending a stream

com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find instance @baseclass.pzActivityStep of type Rule-HTML-Section.
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getRules(FUAInstance.java:2123)
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getRules(FUAInstance.java:2007)
at com.pega.pegarules.generation.internal.assembly.FUAInstance.getClassSource(FUAInstance.java:2306)
at com.pega.pegarules.generation.external.assembly.Assembler.getClassSource(Assembler.java:945)
at com.pega.pegarules.generation.internal.cache.AssemblerFunctions.assembleRule(AssemblerFunctions.java:143)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.buildAndOrLoadJavaClass(AssemblyCacheBase.java:1659)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheBase.getGeneratedJava(AssemblyCacheBase.java:3070)
at com.pega.pegarules.generation.internal.cache.appcentric.RACacheAppCentricImpl.addEntryToMemoryCache(RACacheAppCentricImpl.java:1142)
at com.pega.pegarules.generation.internal.cache.appcentric.RACacheAppCentricImpl.find(RACacheAppCentricImpl.java:989)
at com.pega.pegarules.generation.internal.cache.AssemblyCacheWrapper.find(AssemblyCacheWrapper.java:799)
at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.getInternal(FUAManagerImpl.java:1408)
at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.get(FUAManagerImpl.java:1296)
at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:476)
at com.pega.pegarules.session.internal.mgmt.StreamBuilderTools.appendStreamKeepProperties(StreamBuilderTools.java:700)
at com.pega.pegarules.session.internal.mgmt.autostreams.IncludeStreamRuntime.getStream(IncludeStreamRuntime.java:332)
Also the standard agent does not commit the deffered saves. I have checked couple of hours after queuing the item, but the entries are not updated in table.
I have added explicit commit step in the agent but it still does not work.
If I run the agent activity directly from service activity, instead of queuing to agent, the commit works and all entries including earlier queued to agent are updated in Database.
Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn