Ronali Pradhan (RonaliP9)
NCS Pte. Ltd
Application Developer
NCS Pte. Ltd
RonaliP9 Member since 2013 15 posts
NCS Pte. Ltd
Posted: June 16, 2021
Last activity: June 30, 2021
Posted: 16 Jun 2021 4:52 EDT
Last activity: 30 Jun 2021 0:03 EDT

Issue in prconfig.xml & while creating custom cipher

Hi All,

We have a requirement to create custom cipher and I followed the below article

As mentioned in the 2nd step of the article, I updated prconfig.xml and files but while deploying war file getting "Unable to obtain DataSource for java:comp/env/jdbc/PegaDATA; javax.naming.NameNotFoundException: java:comp/env/jdbc/PegaDATA" and unable to bring up the app server.

prconfig.xml code snippet:

<env name="database/databases/AdminPegaRULES/dataSource" value="java:comp/env/jdbc/AdminPegaRULES" /> <env name="database/databases/PegaRULES/dataSource" value="java:comp/env/jdbc/PegaRULES" /> <env name="database/databases/PegaDATA/dataSource" value="java:comp/env/jdbc/PegaDATA" /> <env name="database/databases/XXXXX/dataSource" value="java:comp/env/jdbc/XXXXX" /> code snippet: oracle.jdbc.class=oracle.jdbc.OracleDriver

com.pega.pegarules.bootstrap.allclasses.schema=PegaRULES com.pega.pegarules.bootstrap.datatables.schema=PegaDATA

Any help is greatly appreciated!!!

Thanks Ronali

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.3 Security