 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Julien Piaser Guest
|
Posted: Tue Aug 05, 2003 9:21 am Post subject: OPENORB applet orb initialization problem |
|
|
Hello all,
I am trying to create an applet as a CORBA client using openORB.
I tried the same code in a Java application, it works fine.
Here is the minimal code in my applet (this in the init method is my
applet) :
try
{
orbprops.put("org.omg.CORBA.ORBClass","org.openorb.CORBA.ORB");
orbprops.put("org.omg.CORBA.ORBSingletonClass","org.openorb.CORBA.ORBSingleton");
orbprops.put("NameService","corbaloc::10.91.0.82:2809");
System.out.println("orb will be initialized");
mOrb = org.omg.CORBA.ORB.init(this,orbprops);
System.out.println("orb is now initialized");
}
Here is the error I get :
Warning: Security settings do not allow this process to set system
properties (org.omg.CORBA.ORBSingletonClass).
ORB intialization Error : org.omg.CORBA.INITIALIZE: Unable to complete
init orb singleton is not openorb singleton.
Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass",
"org.openorb.CORBA.ORBSingleton");
As the first statement in your application. minor code: 0 completed:
No
Any idea ? Is openorb able to work within an applet ?
Does my applet need to be signed ? I would like not to sign it if
possible...
Thanks in advance,
Julien
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|