Netscape-client
Lennart Holen
lennart.holen@agresso.no
Mon, 4 Aug 1997 16:26:25 +0200
Hi!
I'm trying to use a Java applet client in Netscape's Navigator
communicating with an ORB on server. The "problem" is that Netscape have
CORBA classes locally with the browser installation (It is very fine if
we get this thing working!).
The applet get these parameters:
<param name="org.omg.CORBA.ORBHost" value="lennartpc">
<param name="org.omg.CORBA.ORBInitialPort" value=1050>
And the code is:
public static org.omg.CORBA.ORB theOrb;
// create and initialize the ORB
theOrb = org.omg.CORBA.ORB.init(this, null);
// get the root naming context
org.omg.CORBA.Object objRef =
theOrb.resolve_initial_references("NameService");
And here it jumps out with invalidName exception. Does someone have any
clues?
This code works fine with Internet explorer naturally, because
classloader loads all CORBA-classes from the webserver.
Lennart