Oracle Form Builder 显示空白页

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5782942/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 23:28:27  来源:igfitidea点击:

Oracle Form Builder displaying blank page

oracleoracleforms

提问by Iustin

I am trying to make a form using Oracle form Builder. I can connect to the database and create a basic form. The problem arises when I try to run the form. It opens my default browser and just displays a blank page. Currently am running a VM with Windows Server 2003. I have tried the following:

我正在尝试使用 Oracle 表单生成器制作表单。我可以连接到数据库并创建一个基本表单。当我尝试运行表单时出现问题。它打开我的默认浏览器,只显示一个空白页面。目前正在使用 Windows Server 2003 运行 VM。我尝试了以下操作:

  • Firefox 2/3 (downgrades and upgrades). Also tried installing IE Tab 2 because someone said it might help.
  • Downgrade to Internet Explorer 6.
  • Install Oracle JInitiator.
  • Modify the tnsnames.ora files.
  • Firefox 2/3(降级和升级)。还尝试安装 IE Tab 2,因为有人说它可能有帮助。
  • 降级到 Internet Explorer 6。
  • 安装 Oracle JInitiator。
  • 修改 tnsnames.ora 文件。

The server is on the same VM. I have lost too many hours to this. Any suggestion?

服务器在同一个虚拟机上。我为此失去了太多时间。有什么建议吗?

Edit: By request my formsweb.cfg : http://pastebin.com/A4Zqaqxu. The only thing I changed in it (based on internet suggestion) is baseHTMLjinitiator from jinitiator to jpi.

编辑:通过请求我的 formsweb.cfg :http://pastebin.com/A4Zqaqxu 。我在其中更改的唯一内容(基于互联网建议)是将 baseHTMLjinitiator 从 jinitiator 更改为 jpi。

采纳答案by Ian Carpenter

I've moved our discussion to an answer as it makes it easier to read!

我已将我们的讨论移至答案,因为它更易于阅读!

Which version of Oracle Forms are you using?

您使用的是哪个版本的 Oracle Forms?

Oracle Developer Suite 10.1.2.0.2.

Oracle 开发人员套件 10.1.2.0.2。

Thanks, are you using OC4J or the full Oracle Application Server to run the form?

谢谢,您是使用 OC4J 还是完整的 Oracle 应用服务器来运行表单?

The OC4J instance

OC4J 实例

Can you try compiling and running the test.fmb. In case of need it can be found @ oracle_developer_home\forms What happens?

您可以尝试编译并运行 test.fmb。有需要的可以在@oracle_developer_home\forms 找到它会发生什么?

Still white page. More so, recently (after how knows what I changed), the OracleDBConsoleorcl service fails to start. I read I needed to be in the same state of network connection as when I installed it for it to run. I can do this by cutting net to the vm.

还是白页。更重要的是,最近(在知道我更改了什么之后),OracleDBConsoleorcl 服务无法启动。我读到我需要处于与安装它时相同的网络连接状态才能运行。我可以通过将网络切割到 vm 来做到这一点。

Ok when the white page is showing - is there a java console icon in the windows system tray?

好的,当显示白页时 - Windows 系统托盘中是否有 java 控制台图标?

No, there isn't one

不,没有一个

Can you add to your question the contents of the formsweb.cfg? In case of need this can be found @ oracle_developer_home\forms\server

您能否将 formsweb.cfg 的内容添加到您的问题中?如果需要,可以在@oracle_developer_home\forms\server 中找到

By request my formsweb.cfg : http://pastebin.com/A4Zqaqxu. The only thing I changed in it (based on internet suggestion) is baseHTMLjinitiator from jinitiator to jpi.

通过请求我的 formsweb.cfg :http://pastebin.com/A4Zqaqxu 。我在其中更改的唯一内容(基于互联网建议)是将 baseHTMLjinitiator 从 jinitiator 更改为 jpi。

Ok - that parameter is one of several that controls which client JRE you are going to use, jpi is for the Oracle Sun JRE. From your original question it looked like you were using Jinitiator? Can you change it back to basejini.htm. Is the browser that is opening up, IE6?

好的 - 该参数是控制您要使用的客户端 JRE 的几个参数之一,jpi 用于 Oracle Sun JRE。从您最初的问题来看,您似乎在使用 Jinitiator?你能把它改回basejini.htm吗?正在打开的浏览器是 IE6 吗?

Update 27/04/2011 Sticking with IE6 and Jinitator, Exit Form Builder and stop the OC4J. Is JInitiator installed? If it is can you uninstall it using add\remove programs (or similar I don't have a copy of Windows Server 2003). Once it has been removed, Start Forms Developer and the OC4J instance and try running the test form again. What happens now? Are you automatically prompted to install JInitator?

2011 年 4 月 27 日更新坚持使用 IE6 和 Jinitator,退出 Form Builder 并停止 OC4J。是否安装了 JInitiator?如果可以,您可以使用添加\删除程序(或类似的,我没有 Windows Server 2003 的副本)卸载它。删除后,启动 Forms Developer 和 OC4J 实例,然后再次尝试运行测试表单。现在会发生什么?是否自动提示安装 JInitator?

回答by user3154699

I fixed this issue by starting OC4J via start menu instead of using the cmd.exe. :)

我通过开始菜单而不是使用 cmd.exe 启动 OC4J 解决了这个问题。:)