Wednesday, 4 December 2019

java.security.PrivilegedActionException: weblogic.common.ResourceException: ADF Ear Deployment

While during the deployment there is some error, which applcation.ear is been deployed.



java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=apps for data source ApplicationDB



After trying multiple options i find out that error is quite common and there is solution been given



While generating ear file for an application from JDev, it will generate a *-jdbc.xml file for each DB connection in the application resources, set the indirect password attribute, update weblogic-application.xml to add each *-jdbc.xml file as a module and update web.xml (if it exists) to add a resource reference to each jdbc jndi name. However, since there is no server to deploy to, Jdev will not place the passwords in the ear file. The EAR file will not deploy as is. The passwords for the data sources must be setup on the server before the application will run correctly.

Right click on Application drop down select Application properties

Click on Deployment
Uncheck “Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment”





No comments:

Post a Comment

Feature Selection in AI

In artifical intelegance/machine learning, everything start and end with data and in current world everyday by using facebook, insta we all ...