pondyprem

Greenhorn
+ Follow
since Apr 21, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by pondyprem

<PRE>

Hi JDBC Ranch !
We have an applet that communicates in the following sequence
Applet <-> RMIServlet <-> JDBC <-> Oracle
initially we had oracle8, and Applet<->RMI was working-fine .. binding to the registry ... fetching data .. saving data ..etc.,
However, after changing to 8i it is not connecting ..
Strange Obsrevation: All the other servlets are connecting to 8i using the same drivers ... but this applet is giving error ...
The applet communicates to RMI servlet which in turn communicates with 8i.
I tried the following:
  • Oracle8 driver is in class path (816Classes111.zip)
    (XOR)
  • Oracle8i driver is in class path (Classes111.zip)
  • changed the RMI ports to ensure that port number is not the problem

    Following is the error message(from Browser JavaConsole):


    Invalidating certificate principals in [ http://10.200.4.30:8080/servlet/,]
    Exception java.rmi.ConnectException: Connection refused to host: [10.200.4.30:1099]; nested exception is:
    java.net.ConnectException: Connection refused
    java.rmi.ConnectException: Connection refused to host: [10.200.4.30:1099]; nested exception is:
    java.net.ConnectException: Connection refused
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at java.rmi.RemoteException.<init>(Compiled Code)
    at java.rmi.ConnectException.<init>(Compiled Code)
    at sun.rmi.transport.tcp.TCPChannel.openSocket(Compiled Code)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Compiled Code)
    at sun.rmi.server.UnicastRef.newCall(Compiled Code)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Compiled Code)
    * at java.rmi.Naming.lookup(Compiled Code)
    at netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(Compiled Code)
    at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
    at java.awt.EventDispatchThread.run(Compiled Code)
    at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
    java.lang.NullPointerException
    * at netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(Compiled Code)
    at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
    at java.awt.EventDispatchThread.run(Compiled Code)
    at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
    # Applet lsi.editorInterface.UI.EIApplet did not shut down within 30 seconds -- killing it.

    Any clues ???
    </pre>
    ------------------
    pondyprem@yahoo.com