Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 97632 invoked from network); 19 Mar 2007 09:15:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2007 09:15:15 -0000 Received: (qmail 49222 invoked by uid 500); 19 Mar 2007 09:15:20 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 49203 invoked by uid 500); 19 Mar 2007 09:15:19 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 49192 invoked by uid 99); 19 Mar 2007 09:15:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2007 02:15:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of rickmcg@gmail.com designates 66.249.82.239 as permitted sender) Received: from [66.249.82.239] (HELO wx-out-0506.google.com) (66.249.82.239) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2007 02:15:10 -0700 Received: by wx-out-0506.google.com with SMTP id s18so1142195wxc for ; Mon, 19 Mar 2007 02:14:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Gm/QqpGar+7hPYAIsRy2/uAcA2YDN3h15wZoZJhI8UrYVfJss8mEbChGLfuWvVMUhBZiopW9EQtU/lmkSXTME2oJy+HUgM8OHCcwVqge4UErBcVaM7nUf8ZnojSpcqmco9Cxq5JwekCSgj8TfGKldmnu22GuHUu3NTbYl7SMa6s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=YufPhuR1cRX03FmrifhB4bndYyCvhpUELDUOGt1DmhHYZ66c5ZXFLtGY1x14cOzhXt0rw5wFviQo1Wgc2iCtsdk9FNCGpkEnYytvZ1jG3LQpXH+PqzQKVm0R/WY47PprcUkOE0s1k9SbcituIHTdSPN9UKbPrBjJYZl0dg/GYkE= Received: by 10.90.99.20 with SMTP id w20mr3578571agb.1174295689383; Mon, 19 Mar 2007 02:14:49 -0700 (PDT) Received: from ?192.168.1.104? ( [68.191.49.248]) by mx.google.com with ESMTP id 6sm5593839agd.2007.03.19.02.14.47; Mon, 19 Mar 2007 02:14:47 -0700 (PDT) Message-ID: <45FE54A5.8050506@gmail.com> Date: Mon, 19 Mar 2007 05:15:17 -0400 From: Rick McGuire Reply-To: rickmcg@gmail.com User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: java:comp/ORB References: <9533637.post@talk.nabble.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org David Jencks wrote: > > On Mar 17, 2007, at 5:34 PM, Andres wrote: > >> >> We are porting an application from Websphere 6.1 to Geronimo 1.1.1. >> We have >> a CORBA component (not EJB) that used to obtain the ORB by looking up >> java:comp/ORB. Is there a way to do this in the present release >> using JNDI >> or will this be available in 1.2./2.0 when global JNDI support is >> completed? > > > if this is a corba service that runs in a thread started by the orb, > and doesn't go through any j2ee components, I'm not sure you will be > able to bind the orb under java:comp even in 1.2/2.0. In 1.2 you'll > be able to write some extra code to bind an orb anywhere you want in > global jndi, but I'm not sure whether you can bind into the > "java:comp" context since that is pretty heavily specified for use by > j2ee components. It might work, I don't know. In 2.0 this will be at > least as possible and the orb may be pre-bound (although AFAIK that > isn't implemented yet) > > If the thread this runs on went through a j2ee component before > getting to your code, there should be an orb bound to java:comp/ORB > already so long as the orb module is actually running. We've > generally shipped with the orb turned off and turn it on when we > detect an app using corba transport for ejbs. So one thing you want > to do is look in var/config/config.xml or the admin console and see if > its on. In 1.2/2.0 I think the module is called > org.apache.geronimo.configs.corba-yoko/${version}/car, and in 1.1.1 > probably geronimo/openejb-corba-sun/1.1.1/car. 1.1.1 predates the yoko split, so is known as just geronimo/j2ee-corba. The 1.2 module is geronimo/j2ee-corba-yoko. Rick > > Hope this helps, feel free to ask more. > > david jencks > >> >> Thanks. >> --View this message in context: >> http://www.nabble.com/java%3Acomp-ORB-tf3420569s134.html#a9533637 >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > >