Re: ipv6 corba loc url

Rakesh Dronamraj <[email protected]> Tue, 4 Dec 2012 11:26:17 +0000
Newsgroups gmane.comp.corba.jacorb.devel
Message-ID <[email protected]>
I think, we are using 2.3.x but it is difficult for me to find out since this jar is a part of our common build package.
People responsible are on vacation.

Output: I am able to print first line in the output sequence. Ns = IOR: Some_ior.
But never the second line root = ??


R/ Rakesh D.

-----Original Message-----
From: Nick Cross [mailto:[email protected]] 
Sent: den 4 december 2012 11:44
To: Discussions concerning CORBA development with JacORB
Cc: Rakesh Dronamraj
Subject: Re: [jacorb-developer] ipv6 corba loc url




You would need to give more details such as the version of JacORB, the problems you are actually getting (output etc).

Regards

Nick

On 03/12/12 16:19, Rakesh Dronamraj wrote:
> 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.
>
> _______________________________________________
> jacorb-developer maillist  -  
> [email protected]
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-develope
> r
>

_______________________________________________
jacorb-developer maillist  -  [email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer