Hi

basically ORB instance you get is the one from ORB.init() so by
default you get ORBSingleton which doesn't work as you expected, just
configure ORB (it is done through system properties IIRC) and it
should work.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014/1/5 Frank Wilson <[email protected]>:
> Hi All,
>
> The statement:
>
> org.omg.CORBA.Object root = orb.resolve_initial_references("RootPOA");
>
>
> always seems to fail with a container-injected ORB.
>
>
> Please could someone explain why?
>
>
> I uploaded a self-contained example maven project to demonstrate the
> problem here:
>
>
> https://bitbucket.org/zenlambda/tomee-orbtest
>
>
> Thanks,
>
>
> Frank

Reply via email to