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

Exception on running Extract rule

SA-99409

Summary

Exception occurs on running Extract rule.


Error Messages

PegaRULES-Batch-5][STANDARD][127.0.0.1][martQClaims:127.0.0.1] ERROR - Not returning connection 6 for database "uwdatabase" to the pool as it previously encountered the following error 
User ID: (unknown) 
Last SQL: select pyItemId from PEGRU.pr_log where pzInsKey = ? 
com.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=PEGRU.PR_LOG, DRIVER=127.0.0.1 
at com.db2.jcc.am.kd.a(kd.java:747) 
at com.db2.jcc.am.kd.a(kd.java:66) 
at com.db2.jcc.am.kd.a(kd.java:135) 
at comdb2.jcc.am.fp.c(fp.java:2788) 
at com.db2.jcc.am.fp.d(fp.java:2776) 
at com.db2.jcc.am.fp.a(fp.java:2209) 
at com.db2.jcc.am.gp.a(gp.java:7991) 
at com.db2.jcc.t4.bb.h(bb.java:141) 
at com.db2.jcc.t4.bb.b(bb.java:41) 
at com.db2.jcc.t4.p.a(p.java:32) 
at com.db2.jcc.t4.vb.i(vb.java:145) 
at com.db2.jcc.am.fp.lb(fp.java:2178) 
at com.db2.jcc.am.gp.yc(gp.java:3695) 
at com.db2.jcc.am.gp.b(gp.java:4514) 
at com.db2.jcc.am.gp.lc(gp.java:768) 
at com.db2.jcc.am.gp.executeQuery(gp.java:733) 
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport$StatementProxy.invoke(AbstractQueryReport.java:210) 
at com.sun.proxy.$Proxy8.executeQuery(Unknown Source) 
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport$StatementProxy.invoke(AbstractQueryReport.java:210) 
at com.sun.proxy.$Proxy8.executeQuery(Unknown Source) 
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114) 
at com.sun.proxy.$Proxy8.executeQuery(Unknown Source) 
at com.pega.pegarules.data.internal.store.DatabasePreparedStatementImpl.executeQuery(DatabasePreparedStatementImpl.java:395) 
at com.pega.pegarules.data.internal.access.ExtractImpl.processSequenceNumber(ExtractImpl.java:4384) 
at com.pega.pegarules.data.internal.access.ExtractImpl.doExtract(ExtractImpl.java:1494) 
at com.pega.pegarules.data.internal.access.ExtractImpl.runExtract(ExtractImpl.java:1141) 
at com.pega.pegarules.data.internal.access.ExtractImpl.run(ExtractImpl.java:979) 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1286) 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1034) 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:843) 
at com.pega.pegarules.data.internal.access.ExtractImpl.runEngineExtract(ExtractImpl.java:962) 
at com.pega.pegarules.data.internal.access.DatabaseImpl.executeExtract(DatabaseImpl.java:3391) 
at com.pega.pegarules.session.internal.mgmt.Executable.executeExtract(Executable.java:8420) 
com.pegarules.generated.activity.ra_action_runextract_7eb17a5ada24845605c3d982093ca8a6.step1_circum0(ra_action_runextract_7eb17a5ada24845605c3d982093ca8a6.java:170) 
at com.pegarules.generated.activity.ra_action_runextract_7eb17a5ada24845605c3d982093ca8a6.perform(ra_action_runextract_7eb17a5ada24845605c3d982093ca8a6.java:70) 
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553) 
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) 
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(ThreadRunner.java:572) 
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(PRThreadImpl.java:457) 
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.executeBatchTask(QueueProcessor.java:260) 
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:325) 
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1000) 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1286) 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1034) 
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:916) 
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:707) 
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(Unknown Source) 
446 [ PegaRULES-Batch-5] [ STANDARD] [ ] [martQClaims:127.0.0.1] (internal.util.MoveLog) INFO #Instances this thread updated: 0 
446 [ PegaRULES-Batch-5] [ STANDARD] [ ] [martQClaims:127.0.0.1] (internal.util.MoveLog) INFO CPU Time (this thread): 0.0 seconds
 


Steps to Reproduce

Extract Business Intelligence Exchange (BIX).


Root Cause

The sequence number generator changes to use the connection from the log extract. Sequence number generator should use the connection of the pr_log table instead of the class on which the extract is defined. 


Resolution

  1. Apply HFix-59252
  2. Apply HFix-59507 
  3. Apply HFix-59913 
 

 

Suggest Edit

Published January 23, 2020 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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