>데이터 베이스 >MySQL 튜토리얼 >访问Weblogic中部署的ADF应用时,报ORA-01005错误

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

WBOY
WBOY원래의
2016-06-07 17:28:362513검색

今天在将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

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.