ADF Code Deployment Error: No credential mapper entry found for password indirection user=???

When we are deploying ADF application code in integrated weblogic server, it will work as expected but when we make ear file and try to deploy on other weblogic server it will give “No credential mapper entry…” error.

Reason:

We have database connection created in our Model project.When we generate ear file from Application –> Deploy, it will generate %-jdbc.xml file for each Database connection. Set password attribute and update weblogic-application.xml and web.xml file.

We need to create credential mapper in weblogic server to enable the database connection.

Solution:

  • Click on Application –> Application Properties…
  • Expand Deployment and click on weblogic,
  • You need to DESELECT  ‘Auto Generate and Synchronize Weblogic JDBC Description During Deployment’Capture22

 

  • Regenerate your *.ear file and try to deploy it. It will resolve your No credential mapper error.

Also make sure you have jdbc data source instead of JDBC URL in application AppModule configuration.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s