You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Jürgen Weber <ju...@jwi.de> on 2014/11/06 18:00:09 UTC

java:comp/ORB

Hi,

I tried to look up the ORB from within a jsp,

javax.naming.Context ctx = new javax.naming.InitialContext(); Object o =
ctx.lookup("java:comp/ORB");

This fails with javax.naming.NameNotFoundException: No ORB registered with
the OpenEJB system

Do you have to configure something to get the ORB? This should be Yoko,
isn't it ? (https://issues.apache.org/jira/browse/OPENEJB-266)

Thanks, Juergen

Re: java:comp/ORB

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

IIRC you need to put it in openejb component. In conf/system.properties:

org.omg.CORBA.ORB=org.superbiz.MyORBImpl


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2014-11-06 17:00 GMT+00:00 Jürgen Weber <ju...@jwi.de>:
> Hi,
>
> I tried to look up the ORB from within a jsp,
>
> javax.naming.Context ctx = new javax.naming.InitialContext(); Object o =
> ctx.lookup("java:comp/ORB");
>
> This fails with javax.naming.NameNotFoundException: No ORB registered with
> the OpenEJB system
>
> Do you have to configure something to get the ORB? This should be Yoko,
> isn't it ? (https://issues.apache.org/jira/browse/OPENEJB-266)
>
> Thanks, Juergen