壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2191|回复: 0

[OAF] OAF JBO-26001 错误

[复制链接]
发表于 2009/8/26 12:25:48 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
本帖最后由 sunny_swufe 于 2009/8/26 12:27 编辑

oracle.jbo.NoXMLFileException:JBO-26001


问题现象:


页面显示:
ExceptionDetails.
oracle.apps.fnd.framework.OAException:Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE =javax.naming.NamingException [Root exception is oracle.jbo.NoXMLFileException:JBO-26001: ????? /ExtendLabSolutions.jpx ? XML ??];
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.createStaticAKApplicationModule(UnknownSource)
at ….

##Detail 0 ##
javax.naming.NamingException[Root exception is oracle.jbo.NoXMLFileException: JBO-26001: ?????/ExtendLabSolutions.jpx ? XML ??]
at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:59)
at …


JDeveloper的控制台中显示:
09/08/2611:18:22 TIME: runregion: session and transaction creation [1578 ms]
2009-8-2611:18:22 oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
信息: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found





问题背景:

Exercise: Extending OA Framework Applications,做测试的时候,我在ExtendLabSolutions这个project中添加了一个页面MyCompanyPoSummaryCreatePG(复制
oracle\apps\fnd\framework\toolbox\tutorial\webui\PoSummaryCreatePG.xml,改了一下Title属性),如下图:
SpxImage60.jpg

运行页面MyCompanyPoSummaryCreatePG,报上面的错误。

问题分析:



JBO-26001: NoXMLFileException


Cause:Could not open the named XML file for read.


Action:1. Make sure that the file is present. In particular, ifthe file is to be found in a zip/jar file, make surethat the Zip/JAR file is included in the CLASSPATH.


2.This error is also reported if the name of the XML file does not match theobject Name specified in the XMLfile. If the file system support case insensitive file names (e.g., WindowsNT), make sure that the filename matches the object Name in the XML file in case-sensitive fashion.


3.For a .JPX file, this error is reported if the JPX file is missing theJboProject XML tag. Check the JPX fileto make sure that the valid tag is in there.


4.One XML file may be extending another XML file (specified by the Extendselement in this XML file). Thiserror is reported if the base XML file is not found.


5.When loading the XML file for a package (JboPackage tag), this error is reportedif some unexpected erroroccurs while loading a containee.



Inall of the above cases, a more descriptive message may be printed onDiagnostic. If you are not seeingDiagnostic messages, you can run your application with Diagnostic turned on, asin "java -Djbo.debugoutput=console...", to see Diagnostic messages.


问题解决:
[Root exception isoracle.jbo.NoXMLFileException: JBO-26001: ????? /ExtendLabSolutions.jpx ? XML??] 错误提示好像是说找不到文件ExtendLabSolutions.jpx,于是,我将<JDEV_USER_HOME>\myprojects\ExtendLabSolutions.jpx 复制到
<JDEV_USER_HOME>\myclasses\ 问题解决。


还有疑问:
问题解决了,总觉得有点郁闷,JDeveloper为什么就这么笨呢?它为什么不自己将JPX复制到<JDEV_USER_HOME>\myclasses\中去,还需要我手动完成!我在<JDEV_USER_HOME>\myclasses\还找到一个文件ExtendLabSolutions.cdi,猜测是将ExtendLabSolutions.jpx或者是ExtendLabSolutions.jpr编译之后的文件,那为什么还需要手动复制ExtendLabSolutions.jpx呢?请高手大虾些指点。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 07:04 , Processed in 0.012713 second(s), 15 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表