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

Unable to import through prpcUtils.sh

SA-26144

Summary



When attempting to import archives using prpcUtils.sh script, the import fails and the PegaEngine fails to load.


Error Messages



[java] Jul 25, 2016 11:30:43 AM com.pega.pegarules.internal.bootstrap.PRMiniLoader 
[java] 19830421: PRMiniLoader - unable to load classes from the database: ORA-00942: table or view does not exist
[java] 
[java] Jul 25, 2016 11:30:43 AM com.pega.pegarules.internal.bootstrap.PRBootstrap 
[java] 19830421: 
[java] ============ PegaRULES Bootstrap Configuration ============
[java]            Date: Mon Jul 25 11:30:43 UTC 2016
[java]    Java Version: Oracle Corporation 1.7.0_51
[java]   Configuration: file:////path/more_paths/tmp/PegaInstallTemp-25-July-2016-11.30.32/prbootstrap.properties
[java] Pega-EngineCode: 07-10-23
[java]        Database: Oracle Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
[java] With the Partitioning, OLAP, Data Mining and Real Application Testing options
[java]          Driver: Oracle JDBC driver 11.2.0.3.0
[java] 
[java] (!) Unable to use given database configuration
[java] (!) Unable to locate classes on filesystem
[java] =============== End Bootstrap Configuration ===============
[java] 
[java] Unable to load phase 2 bootstrap class: com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
[java] Jul 25, 2016 11:30:43 AM com.pega.pegarules.internal.bootstrap.PRBootstrap 
[java] SEVERE: Error initializing PRAppLoader
[java] java.lang.ClassNotFoundException: com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
[java]     at com.pega.pegarules.internal.bootstrap.PRMiniLoader.loadClass(PRMiniLoader.java:388)
[java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
[java]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.loadPhase2BootstrapClass(PRBootstrap.java:720)
[java]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:662)
[java]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:408)
[java]     at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
[java]     at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
[java]     at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java] 
[java] Jul 25, 2016 11:30:43 AM com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega 
[java] SEVERE: Problem during method invocation (main)
[java] java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to load class com.pega.pegarules.deploy.external.util.ImportUtility
[java]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:208)
[java]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:324)
[java]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstrap.java:304)
[java]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:409)
[java]     at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
[java]     at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
[java]     at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java] 
[java] Exception in thread "main" java.lang.RuntimeException: Problem during method invocation (main)
[java]     at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:279)
[java]     at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java] Caused by: java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to load class com.pega.pegarules.deploy.external.util.ImportUtility
[java]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:208)
[java]     at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:324)


Steps to Reproduce



1) Update prpcUtils.properties to include the database connection details.
2) Invoke the prpcUtils.sh script.


Root Cause



A software use or operation error. In prpcUtils.properties, the parameter of rules.schema.name and data.schema.name contains no values. These parameters are required so the system can access the database to retrieve the Java classes to initialise the engine.

Resolution



Update rules.schema.name and data.schema.name to point to rules and data schema respectively.

 

Published August 4, 2016 - 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