This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
A.ear file and B.ear file. And two Data Source files for each of the respective A,B ear files, pointing to same DataBase , but with diff DataSource names and diff user ids, diff JNDI names but with same passwords.
I encrypted the password for A.datasource.xml file and added that policy in login-config.xml. did the same with B.DataSource file(under conf directory). I restarted the jboss instance, but I am unable to connect to the database.
But if I revert the changes and use the same Data Source file without encrypting the Data source passwords I could connect to the Data Base.