AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OPENORB applet orb initialization problem

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and CORBA
View previous topic :: View next topic  
Author Message
Julien Piaser
Guest





PostPosted: Tue Aug 05, 2003 9:21 am    Post subject: OPENORB applet orb initialization problem Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and CORBA All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.