无法在Oracle EBS R12中的JDeveloper中运行OAF页面 [英] Unable to run OAF page in JDeveloper in Oracle EBS R12

查看:194
本文介绍了无法在Oracle EBS R12中的JDeveloper中运行OAF页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在关注此视频教程: https://www.youtube.com/观看吗?v = _xTfRIRPsNU 在Oracle E-Business Suite R12的JDeveloper中运行OAF页面

I've been following this Video tutorial: https://www.youtube.com/watch?v=_xTfRIRPsNU to run a OAF page in JDeveloper in Oracle E-Business Suite R12

如视频中所示,我通过正确的DBC文件成功建立了从JDeveloper到Oracle EBS的数据库连接,我打开了使用JDeveloper获得的示例项目,并设置了所有必需的Runtime Connection信息.重建了包含的教程"项目之后,我到达了最后一步,即运行"HomePG.xml",但是我无法运行该页面,并且在消息日志中得到了以下内容:

As shown in the video I made a successful database connection from JDeveloper to Oracle EBS through the correct DBC file, I opened the sample projects I got with JDeveloper and set all necessary Runtime Connection information. After rebuilding the included 'tutorial' project, I reached the final step, ie, running 'HomePG.xml', but I'm unable to run the page and I'm getting the following in the message log:

16/07/18 12:37:47 WARNING: Code-source /home/qbuser/jdev10g_install/jdevbin/jdev/appslibrt/xml.jar (from <library> in /home/qbuser/jdev10g_install/jdevhome/jdev/system/oracle.j2ee.10.1.3.43.6/embedded-oc4j/config/application.xml) has the same filename but is not identical to /home/qbuser/jdev10g_install/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /home/qbuser/jdev10g_install/jdevbin/j2ee/home/oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
16/07/18 12:37:47 WARNING: Code-source /home/qbuser/jdev10g_install/jdevbin/jdev/appslibrt/jazn.jar (from <library> in /home/qbuser/jdev10g_install/jdevhome/jdev/system/oracle.j2ee.10.1.3.43.6/embedded-oc4j/config/application.xml) has the same filename but is not identical to /home/qbuser/jdev10g_install/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in /home/qbuser/jdev10g_install/jdevbin/j2ee/home/oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
16/07/18 12:37:47 WARNING: Code-source /home/qbuser/jdev10g_install/jdevbin/jdev/appslibrt/jazncore.jar (from manifest of /home/qbuser/jdev10g_install/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /home/qbuser/jdev10g_install/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in /home/qbuser/jdev10g_install/jdevbin/j2ee/home/oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 3907 ms.

Target URL -- http://127.0.1.1:8989/OA_HTML/runregion.jsp
16/07/18 12:37:48 Oracle Containers for J2EE 10g (10.1.3.5.0)  initialized

,页面打开如下:

注意:要执行上述操作,请在嵌入式​​OC4J服务器首选项"->"Java编译器"->编译器"下:ojc,Bin目录:/home/user/jdev10g_install/jdevbin/jdev/bin/

Note: For above execution, under Embedded OC4J Server Preferences->Java Compiler-> Compiler: ojc, Bin Directory: /home/user/jdev10g_install/jdevbin/jdev/bin/

将Bin目录更改为JDK的bin并没有任何好处,并且产生了类似的错误页面,区别在于:'ojc在/usr/lib/jvm/jdk1.5.0_22下找不到,请指定正确的位置使用标签'

Changing the Bin Directory to the JDK's bin, didn't do any good and produced a similar error page with the difference : 'ojc not found under /usr/lib/jvm/jdk1.5.0_22, specify the correct location of ojc in server.xml using the tag '

然后我尝试在Java Compiler-> Compiler中更改以下内容:javac,Bin目录:/usr/lib/jvm/jdk1.5.0_22/bin

Then I tried changing the following in Java Compiler-> Compiler: javac, Bin Directory: /usr/lib/jvm/jdk1.5.0_22/bin

并生成了另一个消息日志:

And produced a different message log:

16/07/18 11:49:55 WARNING: Code-source /home/qbuser/jdev10g_install/jdevbin/jdev/appslibrt/xml.jar (from <library> in /home/qbuser/jdev10g_install/jdevhome/jdev/system/oracle.j2ee.10.1.3.43.6/embedded-oc4j/config/application.xml) has the same filename but is not identical to /home/qbuser/jdev10g_install/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /home/qbuser/jdev10g_install/jdevbin/j2ee/home/oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
16/07/18 11:49:55 WARNING: Code-source /home/qbuser/jdev10g_install/jdevbin/jdev/appslibrt/jazn.jar (from <library> in /home/qbuser/jdev10g_install/jdevhome/jdev/system/oracle.j2ee.10.1.3.43.6/embedded-oc4j/config/application.xml) has the same filename but is not identical to /home/qbuser/jdev10g_install/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in /home/qbuser/jdev10g_install/jdevbin/j2ee/home/oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
16/07/18 11:49:55 WARNING: Code-source /home/qbuser/jdev10g_install/jdevbin/jdev/appslibrt/jazncore.jar (from manifest of /home/qbuser/jdev10g_install/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /home/qbuser/jdev10g_install/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in /home/qbuser/jdev10g_install/jdevbin/j2ee/home/oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 3571 ms.
16/07/18 11:49:56 Oracle Containers for J2EE 10g (10.1.3.5.0)  initialized

Target URL -- http://127.0.1.1:8989/OA_HTML/runregion.jsp
16/07/18 11:49:57 TIME: runregion: initialization [1 ms] 
18 Jul, 2016 11:49:58 AM oracle.jsp.logger.JspMessages infoCannotDispatchJspPage
INFO: Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: <H3>Errors compiling:/home/qbuser/jdev10g_install/jdevhome/jdev/myclasses/.jsps//_OAErrorPage.java</H3><TABLE BORDER=1 WIDTH=100%><TR><TH ALIGN=CENTER>Line #</TH><TH ALIGN=CENTER>Error</TH></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>9</TD><TD>[jsp src:line #:16]<br> cannot access oracle.apps.fnd.common.WebRequestUtil
bad class file: /home/qbuser/jdev10g_install/jdevbin/jdev/appslibrt/atg.zip(oracle/apps/fnd/common/WebRequestUtil.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import oracle.apps.fnd.common.WebRequestUtil;
                              </TD></TR></TABLE> 

页面错误:

我的Oracle EBS版本是12.2.4,我正在通过VirtualBox 5.1(用于Linux主机)运行.我的JDeveloper版本是10.1.3.5,它是上述Oracle Apps版本的兼容版本.

My Oracle EBS version is 12.2.4 which I'm running through VirtualBox 5.1 for Linux hosts. My JDeveloper version is 10.1.3.5, which is the compatible version for the above mentioned Oracle Apps version.

我想知道导致我无法运行页面的原因是什么.我已经来这几天了.帮助将不胜感激.

I want to know what the reason might be that I can't run the page. I've been at this for days now. Help would be greatly appreciated.

推荐答案

您已在EBS中为用户分配了相关职责,并已在jDeveloper运行时属性中配置了正确的职责短代码.如果是,那么它还应该与您的DBA一起检查以验证您所使用的DBC文件,有时DBC文件有问题.

have you assigned the relevant responsibilities to your user in EBS and have you configured the correct responsibility short code in jDeveloper run time properties. If yes it should work additionally check with your DBA to verify the DBC file you are using, sometimes the DBC file has an issue.

这篇关于无法在Oracle EBS R12中的JDeveloper中运行OAF页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆