首页 > 数据库 > mysql教程 > 访问Weblogic中部署的ADF应用时,报ORA-01005错误

访问Weblogic中部署的ADF应用时,报ORA-01005错误

WBOY
发布: 2016-06-07 17:28:36
原创
2513 人浏览过

今天在将Oracle Summit Demo 部署到独立的Weblogic中时,一直报ORA-01005异常;在Integrated Weblogic中运行则是一直正常。

今天在将Oracle Summit Demo 部署到独立的Weblogic中时,,一直报ORA-01005异常;在Integrated Weblogic中运行则是一直正常。

主要异常Log如下:

#### > WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = Apr 29, 2013 3:16:39 PM CST SERVER = AdminServer MESSAGE = [ServletContext@29859202[app:SummitADF_application1 module:SummitADF-ViewController-context-root path:/SummitADF-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=Id, 2=Id}
 at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:552)
 ... ...
 ... ...

Caused By: oracle.jbo.DMLException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-26061.
 at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:207)
 ... ...
 ... ...
 
Caused By: java.sql.SQLException: ORA-01005: null password given; logon denied
 at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
 ... ...
 ... ...

不理解为何密码会是空,还好有谷哥,解决方案:
 
在FMW_HOME/user_projects/domains/yourdomain/bin/setDomainEnv.sh中的JAVA_PROPERTIES中加如下参数:

-Djps.app.credential.overwrite.allowed=true

结果为:

JAVA_PROPERTIES="-Dplatform.home=${WL_HOME} -Dwls.home=${WLS_HOME} -Dweblogic.home=${WLS_HOME} -Djps.app.credential.overwrite.allowed=true "

然后重启Weblogic,再访问应用,一切正常。。。

 

linux

来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板