Issue in prconfig.xml & prbootstrap.properties while creating custom cipher
Hi All,
We have a requirement to create custom cipher and I followed the below article
https://community.pega.com/knowledgebase/articles/security/85/creating-custom-cipher
As mentioned in the 2nd step of the article, I updated prconfig.xml and prbootstrap.properties 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" />
prbootstrap.properties code snippet:
com.pega.pegarules.bootstrap.allclasses.dbcpsource=example.oracle example.oracle.url=XXXXXXX example.oracle.username=PEGARULES example.oracle.password=XXXX 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