[jacorb-developer] ipv6 corba loc url

Rakesh Dronamraj rakesh.dronamraj at ericsson.com
Mon Dec 3 17:19:26 CET 2012


Hi,

In my demo I am using following code:

final String corbaLocUrl = 
"corbaloc:iiop:1.2@[2012:1a70:12a1::800:37:1]:50073/NameService"; //as per omg
final org.omg.CORBA.Object ns = orb.string_to_object(corbaLocUrl);
System.out.println("ns = " + ns.toString());
final NamingContextExt root = NamingContextExtHelper.narrow(ns);
System.out.println("root = " + root.toString());
final NamingContext rootNc = root;
    
return rootNc.resolve(root.to_name(serviceName));

I always get ns = IOR:00 line printed but never get later printout.
Mostly it hangs or sometimes crashes completely.
I am using jacorb.


Rakesh D.



More information about the jacorb-developer mailing list