CORBA and Java Applet under Netscape 4.X.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Eder_Mathias
Posted On:   Monday, April 23, 2001 09:12 AM

I'm doing a distributed environment using CORBA concepts. The problem occur when the applet clients try to find the servers using the Name Service of CORBA. I'm using only JDK1.3 API, no Visibroker or other implementations of CORBA. I'm using tnameserv to registry the objects. When an applet is running in appletviewer no problems are related to it find the reference to the "NameService". The same thing occurs on Netscape 6 browser. The problem is the Netscape 4.X. This error is showed: "org.omg.CORBA.ORBPackage.InvalidName". This error ocourred in this line of source code: "org.omg.CORB   More>>

I'm doing a distributed environment using CORBA

concepts. The problem occur when the applet clients

try to find the servers using the Name Service of CORBA.



I'm using only JDK1.3 API, no Visibroker or other

implementations of CORBA. I'm using tnameserv to registry the objects.



When an applet is running in appletviewer no problems

are related to it find the reference to the "NameService".

The same thing occurs on Netscape 6 browser.



The problem is the Netscape 4.X. This error is showed:

"org.omg.CORBA.ORBPackage.InvalidName". This error ocourred in this line of source code:

"org.omg.CORBA.Object objRef = orb.resolve_initial_references ( "NameService" );"



I did this things and the same problem happens:

-> I installed the jdk1.2 plug-in. The plug-in is OK because it works with swing;

-> Copy the classes of API to CORBA and put it to my CODEBASE path.

-> Put all the properties need to run a CORBA client class:

properties.put ( "org.omg.CORBA.ORBInitialHost", "korn.linux" ); // domain of tnameserv, httpd.

properties.put ( "org.omg.CORBA.ORBInitialPort", "15000" ); // port of tnameserv

The server that the applet access is running on host "korn.linux".



What I need to run my environment on Nestacape 4.X?



Thank's

That's it.    <<Less
About | Sitemap | Contact