问题描述
我正在尝试调试oracle表单应用程序。
在生产中,当我加载应用程序时,我收到一个错误:
java.lang.ClassNotFoundException:oracle.forms.engine.Main
I'm trying to debug an oracle forms application.In production, when I load the application I get an error:java.lang.ClassNotFoundException: oracle.forms.engine.Main
I我不确定导致这个问题的原因。
我现在一直在搜索论坛半天,看起来它可能与java版本问题有关。
I'm uncertain as to what is causing this issue.I've been searching forums for a bout half a day now, and it seems like it may have something to do with a java versioning issue.
I已经包含了(略微修改以保护我的公司)java控制台输出,如果我正确读取它,看起来需要重新打包证书。
但是,当我查看证书时对于该网站,它说它已通过verisign验证。
I've included the (slightly modified to protect my company) java console output, and if I'm reading it right, it looks like a certificate needs to be repackaged.
But, when I look at the certificate for the site it says that it's verified by verisign.
我正在使用IE 9来尝试查看表单应用程序,我得到一个:
java .lang.ClassNotFoundException:oracle.forms.engine.Main
I'm using IE 9 to try to view the forms app, and I get a :java.lang.ClassNotFoundException: oracle.forms.engine.Main
在Java控制台中,我得到以下输出:
In the Java console I get the following output:
Java插件1.6.0_45
使用JRE版本1.6.0_45-b06 Java HotSpot(TM)客户端VM
用户主目录= C:\ Users \ my_username
network:找不到缓存条目[url:https://company_site.ca:4446 /forms / java / famall.jar,version:null]
network:连接https://company_site.ca: 4446 / forms / java / frmall.jar with proxy = DIRECT
network:连接http://company_site.ca:4446/与proxy = DIRECT
javax.net.ssl.SSLException:收到致命警报:unexpected_message
at com.sun.net.ssl .internal.ssl.Alerts.getSSLException(未知来源)
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal .ssl.SSLSocketImpl.recvAlert(未知来源)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl .SSLSocketImpl.performInitialHandshake(未知来源)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(未知来源)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl .startHandshake(未知来源)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)在sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(未知来源)
at sun.plugin.PluginURLJarFileCallBack.connect(未知来源)
at sun.plugin.PluginURLJarFileCallBack.retrieve(未知来源)
at sun.net.www.protocol.jar.URLJarFile.retrieve (未知来源)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(未知来源)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(未知来源)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(未知来源)
at sun.plugin .net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath $ JarLoader.getJarFile(未知来源)
at com.sun.deploy.security.DeployURLClassPath $ JarLoader.access $ 1000(未知来源)
at com.sun.deploy.security.DeployURLClassPath $ JarLoader $ 1.run (未知来源)
a t java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath $ JarLoader.ensureOpen(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath $ JarLoader 。< init>(未知来源)
at com.sun.deploy.security.DeployURLClassPath $ 3.run(未知来源)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath .getResource(未知来源)
at sun.plugin2.applet.Plugin2ClassLoader $ 2.run(未知来源)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2。 applet.Plugin2ClassLoader.findClassHelper(未知来源)
at sun.plugin2.applet.Applet2ClassLoader.findClass(未知来源)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass 0(未知来源)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(未知来源)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(未知来源)
at sun.plugin2。 applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun。 plugin2.applet.Plugin2ClassLoader.loadCode(未知来源)
at sun.plugin2.applet.Plugin2Manager.createApplet(未知来源)
at sun.plugin2.applet.Plugin2Manager $ AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
... 3 more javax.net.ssl.sslexceptions
network:找不到缓存条目[url:https:// company_site。 ca:4446 / forms / java /,version:null]
network:找不到缓存条目[url:https://company_site.ca:4446 /forms / java / oracle / forms / engine / Main.class, version:null]
network:连接https://company_site.ca:4446/fo rms / java / oracle / forms / engine / Main.class with proxy = DIRECT
network:连接http://company_site.ca:4446/ with proxy = DIRECT
network:找不到缓存条目[url :https://company_site.ca:4446/forms/java/oracle/forms/engine/Main.class,version:null]
network:Connecting https://company_site.ca:4446/forms/java/ oracle / forms / engine / Main.class with proxy = DIRECT
network:连接http://company_site.ca:4446/ with proxy = DIRECT
basic:load:class oracle.forms.engine.Main未找到。
load:class oracle.forms.engine.Main not found。
java.lang.ClassNotFoundException:oracle.forms.engine.Main
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(未知来源)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader。 loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2。 applet.Plugin2Manager $ AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
异常:java.lang.ClassNotFoundException:oracle.forms.engine.Main
忽略异常:java.lang.ClassNotFoundException:oracle.forms.engine.Main
basic:加载Java Applet失败...
这是一个Java版本问题,还是有问题的服务器端?
是否有一个明显的原因导致java无法找到oracle表单引擎?
Is this a Java versioning issue, or is something amiss on the server side?Is there an apparent reason why java can't find the oracle forms engine?
对长而粗略的文本表示抱歉,但我猜需要弄清楚这里发生了什么。
Apologies for the long, gross-looking text, but I'm guessing that it's needed to figure out what going on here.
非常感谢你能给予任何帮助或指导!
Many thanks for any help or direction you can give!
推荐答案
我找到了解决这个问题的方法 - 不是真正的解决方案,但我在IT方面已经足够接近。
I found a workaround for this issue - not really a solution, but I'm in IT so it's close enough.
我使用的是Java 7u51。
我进入 - > - >
I was using Java 7u51.
I went into -> ->
在我选择的高级安全设置下:
Under Advanced Security settings I selected:
Use SSL 2.0 ClientHello format
Use SSL 3.0
Use TLS 1.0
(那些恰好是连接的类型服务器已接受)
(those happen to be the types of connections the server accepted)
我也进入安全选项卡并将网站添加到例外网站列表
I also went into the security tab and added the site to the Exception Site List
最后,我进入Java选项卡并单击View。
然后我从已安装的JRE中取消选择Java 1.7.0_51。
Lastly, I went into the Java tab and clicked View.I then deselected Java 1.7.0_51 from my installed JREs.
我还不完全清楚在卸载和卸载时如何/为什么这一切都有效?禁用其他版本的java没有。但我很高兴让网站重新开始工作。
I'm not entirely clear on how/why all of this worked when uninstalling & disabling other versions of java didn't. But I'm glad to have the site up and working again.
希望将来有人帮助别人。
Hope this helps someone else in future.
这篇关于查看oracle app并获取:java.lang.ClassNotFoundException:oracle.forms.engine.Main的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!