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 while importing RAP file through



You import a RAP file through command line into a Pega 7.1.7 instance by using The build is successful and all the rules are imported, but there is one SQL exception which is related to the execution of stored procedure (PRPCDATA.sppr_aggregate_usage ()). 

Error Messages

[java] 2015-04-08 22:02:56,428 [ <Host>] [ STANDARD] [ ] (l.access.ConnectionManagerImpl) ERROR - Not returning connection 3 for database "pegarules" to the pool as it previously encountered the following error
[java] User ID:
[java] Last SQL: {call DATA.sppr_aggregate_usage ()}
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at com.pega.pegarules.monitor.internal.license.LicenseDaemonImpl.callUsageAggregationStoredProcedure(
[java] at com.pega.pegarules.monitor.internal.license.InvocationTrackerImpl.initializeAtStartup(
[java] at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(
[java] at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(
[java] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(
[java] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(
[java] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(
[java] at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngineImpl(
[java] at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngine(
[java] at com.pega.pegarules.session.internal.mgmt.EngineImpl.startEngine(
[java] at com.pega.pegarules.deploy.external.util.ImportUtility.main(
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
[java] at java.lang.reflect.Method.invoke(
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(
[java] at
[java] 2015-04-08 22:02:56,430 [] [ STANDARD] [ ] (rnal.license.LicenseDaemonImpl) ERROR - problem while running the procedure in License Database-General Problem encountered executing a stored procedure -206 42703 DB2 SQL Error: SQLCODE=-206, SQLSTATE=42703, SQLERRMC=PR_USAGE_SUMMARY.PYPERIODSTARTS, DRIVER=3.62.56
[java] From: (B99C5736C1832B16F87CFE919F593A64F:(License Daemon))
[java] SQL: {call DATA.sppr_aggregate_usage ()}
[java] SQL Inserts:
[java] Caused by SQL Problems.
[java] Problem #1, SQLState 42703, Error code -206: DB2 SQL Error: SQLCODE=-206, SQLSTATE=42703, SQLERRMC=PR_USAGE_SUMMARY.PYPERIODSTARTS, DRIVER=3.62.56

Steps to Reproduce

Import a RAP file using to a PRPC 7.1.7 instance.

Root Cause

When starting the PRPC engine from command line, there are agents that should be disabled as they are not needed. The prconfig.xml file that is generated by in Pega 7.1.7 does not include the settings to disable these agents.


This error can be safely ignored.

Published June 12, 2015 - Updated October 8, 2020

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