本文介绍了WebLogic错误:找不到密码间接登录用户= db_user的凭据映射器条目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次尝试将EJB服务应用程序部署到Weblogic 10.3服务器时,都会出现以下错误:

Every time I try to deploy my EJB service app to Weblogic 10.3 server, I get following error:


的密码间接登录user = db_user找不到凭据映射器条目

如何解决这个问题?

How to solve this??

推荐答案

已针对此问题发布了解决方案,如果您要部署到集成服务器以外的其他Weblogic服务器上

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

从JDev生成应用程序的耳文件时,它将为应用程序资源中的每个DB连接生成一个* -jdbc.xml文件,设置间接密码属性,更新weblogic-application.xml以将每个* -jdbc.xml文件添加为mo复制并更新web.xml(如果存在)以向每个jdbc jndi名称添加资源引用。但是,由于没有要部署到的服务器,因此Jdev不会将密码放在ear文件中。 EAR文件将不会按原样部署。在应用程序正确运行之前,必须在服务器上设置数据源的密码。

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. 右键单击在应用程序下拉列表中,选择应用程序属性

  2. 单击部署

  3. 取消选中在部署过程中自动生成和同步weblogic-jdbc.xml描述符


这篇关于WebLogic错误:找不到密码间接登录用户= db_user的凭据映射器条目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-05 05:44