Question

3
Replies
1215
Views
GeethaV4 Member since 2016 12 posts
UBS
Posted: 4 years ago
Last activity: 3 years 3 months ago
Closed

Issue configuring second data source in dual-user configuration

We are trying to install Pega7 on Tomcat Application Server. As per the guide, we updated context.xml for dual-user configuration. When we bring up Pega and try to login, it gives an error saying it could not bind/ find second datasource name in data schema. Can anyone advise. Below is the JDBC part in context.xml where we provide JDBC Resource names as PegaRULES and AdminPegaRULES (Second datasource).

1. Should we name resource as schema name or it could be as above?

2. Can we use admin user's username and password for configuring second datasource or Is it mandatory to use Data Schema credentials?

<!--
Creating JDBC resources for dual-user configuration.
-->

<Resource name="jdbc/PegaRULES"
auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@//[host]:[port]/[service-name-or-SID]"
username="username"
password="password"
maxActive="100"
maxIdle="30"
maxWait="10000"

<Resource name="jdbc/AdminPegaRULES"
auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@//[host]:[port]/[service-name-or-SID]"
username="username"
password="password"
maxActive="10"
maxIdle="5"
maxWait="5000"

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