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"