Question

6
Replies
257
Views
DebrajB7 Member since 2012 12 posts
Cognizant
Posted: 1 year ago
Last activity: 1 year 6 months ago
Closed

Entry for AdminPegaRULES in prconfig.xml

I am trying to deploy R-A-P product using prpcUtils.sh from command line. I am getting the below errors in log:

-init:

[pega:propertyparser] Reading Properties from : /app/GPG/dyn/local/tmp/prpc7_install/scripts/utils/prpcUtils.properties

[pega:propertyparser] pega.jdbc.driver.jar=/app/ora/dbclient/jdbc/lib/ojdbc6.jar

[pega:propertyparser] pega.jdbc.driver.class=oracle.jdbc.OracleDriver

[pega:propertyparser] pega.database.type=oracledate

[pega:propertyparser] pega.jdbc.url=jdbc:oracle:thin:@localhost:24188:PGDBT

[pega:propertyparser] pega.jdbc.username=pgadmin

[pega:propertyparser] pega.jdbc.password=******

[pega:propertyparser] pega.user.username=

[pega:propertyparser] pega.user.password=

[pega:propertyparser] rules.schema.name=prpcrules

[pega:propertyparser] data.schema.name=prpcdata

[pega:propertyparser] pega.agents.enable=true

[pega:propertyparser] column.population.job.mode=COMMANDLINE_JOB

[pega:propertyparser] user.temp.dir=/app/GPG/dyn/local/tmp/prpc7_install/tmp

[pega:propertyparser] import.archive.path=/app/pega7/av/8.0.0.0/0324_all_P3Product.zip

[pega:propertyparser] import.mode=import

[pega:propertyparser] import.existing.instances=skip

[pega:propertyparser] import.nofailonerror=false

[pega:propertyparser] import.commit.count=100

[pega:propertyparser] import.compile.libraries=true

Here pgadmin is the Admin user(schema) which has both read-write access to prpcrules and prpcdata schemas. Oracle database is used.

..............

...............

[java] 2018-11-28 09:09:37,271 [ main] [ ] [ ] (ernal.access.DataSourceManager) ERROR - Unable to obtain DataSource for sample: j

ava:comp/env/jdbc/PegaRULES

[java] 2018-11-28 09:09:37,274 [ main] [ ] [ ] (ernal.access.DataSourceManager) ERROR - Unable to obtain DataSource for pegadata:

jdbc/PegaRULES

The below entries are there in prconfig.xml that is used by prpcUtils.sh:

<env name="database/databases/PegaRULES/defaultSchema" value="prpcrules" />
<env name="database/databases/PegaDATA/defaultSchema" value="prpcdata" />

Please inform if the below line needs to be included in prconfig.xml to get rid off the above mentioned error "Unable to obtain DataSource"?

<env name="database/databases/AdminPegaRULES/defaultSchema" value="pgadmin" />

What may be the other solution?

***Edited by Moderator Marissa to update SR Details***

Low-Code App Development Installation and Deployment SR Created
Moderation Team has archived post
Share this page LinkedIn