Question

5
Replies
557
Views
Kamalesh_mohanty Member since 2010 5 posts
Areteans
Posted: 4 years ago
Last activity: 3 years 2 months ago
Closed
Solved

issue in exporting a product using prpcUtils.sh

Hi Guys,

I am trying to export a product and create an archive in the server using prpcUtils.sh.

I am facing some issue in connection using jdbc driver.

I have added the jar path in the properties file and this is the right jar for DB & Pega version we are using.

Getting the below error while exporting.

Configuration:
[echo] Database Type: oracledate
[echo] JDBC Driver JAR: ./home/fclvappi002061/scripts/scripts/utils/ojdbc7.jar
[echo] Bootstrap Config: /tmp/PegaInstallTemp-27-July-2016-10.01.25/prbootstrap.properties
[echo] PegaRULES Config: /tmp/PegaInstallTemp-27-July-2016-10.01.25/prconfig.xml
[echo] PegaRULES Logging Config: /tmp/PegaInstallTemp-27-July-2016-10.01.25/prlogging.xml

-exportArchive:
[echo] about to Export Rules to : ./ProductArchive/exported-product.zip archive ...
[echo] arg line : -C Rule-
[java] Jul 27, 2016 10:01:30 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource
[java] 19830421: Loading bootstrap properties from file:////tmp/PegaInstallTemp-27-July-2016-10.01.25/prbootstrap.properties
[java] Jul 27, 2016 10:01:30 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
[java] 19830421: Could not find java:comp/env/prbootstrap/ in the local JNDI context, skipping prconfig setting lookup
[java] Jul 27, 2016 10:01:30 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI
[java] 19830421: Could not find prbootstrap in the local JNDI context, skipping prconfig setting lookup
[java] Jul 27, 2016 10:01:30 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource
[java] 19830421: Bootstrap datatables schema: DATAADM
[java] Jul 27, 2016 10:01:30 AM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource
[java] SEVERE: Unable to connect to database. Will only use properties from file.
[java] com.pega.pegarules.configdbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
[java] at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743)

***Updated by Moderator: Vidyaranjan. Removed user added Ask the Expert tag. Apologies for confusion, shouldn't have been an end-user option***

Moderation Team has archived post
Share this page LinkedIn