访问Weblogic中部署的ADF应用时,报ORA-01005错误
今天在将Oracle Summit Demo 部署到独立的Weblogic中时,一直报ORA-01005异常;在Integrated Weblogic中运行则是一直正常。
今天在将Oracle Summit Demo 部署到独立的Weblogic中时,,一直报ORA-01005异常;在Integrated Weblogic中运行则是一直正常。
主要异常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,再访问应用,一切正常。。。
上一篇: php执行时间较长任务,怎么在web端输出实时结果
下一篇: php根据日期判断星座的函数代码