Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.net.ConnectException: Connection refused: connect

wilfredMar 25 2005
Hi,

We're starting to deploy Forms 10g. We've set up an Application Server with a test-form. I can access this from my home and so can a colleague. However, if I try to access it from my current site it won't work.

When opening the page, Internet Explorer first warns about the certificate being from an untrusted company (that's expected) and then warns about a page with both secure and nonsecure items.

If I acknowledge all of these, the Java applet loads but fails after a while (Applet main notinited).

If I look at the Java console, I see:

Trace level set to 5: basic, net, security, ext, liveconnect ... completed.

Connecting https://***.euro***.nl/forms90/java/f90all.jar with proxy=148.87.19.20

Connecting https://***.euro***.nl/forms90/java/f90all.jar with cookie "oracle.uix=0^^GMT+1:00"

Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)

at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

at sun.plugin.cache.FileCache.get(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)

at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

at sun.plugin.cache.FileCache.get(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

load: class oracle.forms.engine.Main not found.

java.lang.ClassNotFoundException: oracle.forms.engine.Main

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)

at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

... 10 more

Exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main




I'm using IESp1 with Sun's JRE 1.4.2. I can download the JAR file fine, so proxy setup doesn't seem te be the problem. I can visit any other website, but the Forms communication seems to fail.

Any help???
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2005
Added on Mar 25 2005
0 comments
3,099 views