WebLogic ERROR: No credential mapper entry found for password indirection user=db_user?

喜夏-厌秋 提交于 2019-12-05 12:36:33

The Oracle forums have posted a solution for this, if you are deploying to another Weblogic server other than the Integrated one with JDeveloper.

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.

  1. Right click on Application drop down select Application properties
  2. Click on Deployment
  3. Uncheck “Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment”

In JDeveloper 11.1.2.3 +
9.3.4.2.1 Applications with JDBC Data Source for WebLogic

If your application uses application-level JDBC data sources with password indirection for database connections, you may need to create credential maps in WebLogic Server to enable the database connection. For more information, see Section 9.3.7, "What You May Need to Know About JDBC Data Source for Oracle WebLogic Server."

OR

  1. Open 'Application properties'
  2. Uncheck 'Auto Generate and Synchronize Weblogic JDBC Description During Deployment'

For this problem process as below mentioned

1-create a connection data source in weblogic and copy JNDI name.

2-Open Appmadule.xml file goto configuration and click AppmoduleLocal and paste JNDI name as DataSource name. Same as for AppModuleShare. Save the file

3-Go To Applicaton property and uncheck the option 'Auto Generate and Synchronize Weblogic JDBC Description During Deployment'.

4-Now go to deploy and run your application.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!