Using David, I need to build an object connected to two different ORB. 
With Jonathan_2_0_5, I could do something like that :

Properties prop_loc = new Properties();
Properties prop_dis = new Properties();
prop_loc.setProperty("david.naming.default_method","0");
prop_loc.setProperty("david.naming.default_host",machine_loc);
prop_loc.setProperty("david.naming.default_port",port_loc);
prop_dis.setProperty("david.naming.default_method","0");
prop_dis.setProperty("david.naming.default_host",machine_dist);
prop_dis.setProperty("david.naming.default_port",port_dist);
orb_dist = ORB.init(args2,prop_dis);
orb_local = ORB.init(args2,prop_loc);
org.omg.CORBA.Object ns_ref_dist =
                     
orb_dist.resolve_initial_references("NamingService");
org.omg.CORBA.Object ns_ref_loc =
                     
orb_local.resolve_initial_references("NamingService");


Trying this with Jonathan_3_0_a(2), it fails with an
org.omg.CORBA.COMM_FAILURE
exception : everything happens as if my properties are not taken into
account !

To my opinion the problem comes from the 
org.objectweb.david.ORBClass.set_parameters(String[] args, Properties
props) 
method which don't use its argument props !

Am I right ? If not, what should I do ?


-- 
Cyril LABBE
France Telecom R&D : DTL/ASR        Tel.: (33) 4 76 76 43 08       
mailto:[EMAIL PROTECTED]
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonathan".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to