Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 84334 invoked from network); 30 May 2006 16:49:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2006 16:49:32 -0000 Received: (qmail 41072 invoked by uid 500); 30 May 2006 16:49:26 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 41050 invoked by uid 500); 30 May 2006 16:49:26 -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 41039 invoked by uid 99); 30 May 2006 16:49:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 09:49:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mehtanirav@gmail.com designates 64.233.162.194 as permitted sender) Received: from [64.233.162.194] (HELO nz-out-0102.google.com) (64.233.162.194) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 09:49:25 -0700 Received: by nz-out-0102.google.com with SMTP id m7so766143nzf for ; Tue, 30 May 2006 09:49:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=neKSTU/qmKaDfBxCGlP7MLfnaipJcHqGX9SgA3VwBM8OTLsa2v+izZj5LIUqqA2K7kcts4FdWtQwqdgr9/Xbp3u3EnlxKd8lh3liJFMfCsOsVQNVxVsEdht6VM+1A6fOQTwYgsGeLFh2E7/4UChteOFbvM14k3JR31bYg/3rPAk= Received: by 10.36.43.11 with SMTP id q11mr4804523nzq; Tue, 30 May 2006 09:49:05 -0700 (PDT) Received: by 10.37.12.18 with HTTP; Tue, 30 May 2006 09:49:05 -0700 (PDT) Message-ID: <602b59a00605300949u3cbc298akc63d9c9ba25a5ffe@mail.gmail.com> Date: Tue, 30 May 2006 22:19:05 +0530 From: "Nirav Mehta" To: user@geronimo.apache.org Subject: Re: EJB trouble In-Reply-To: <4690875E336998438DF43A78B8E38CF2E4F5CC@BLRKECMSG01.ad.infosys.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5683_25186775.1149007745030" References: <4690875E336998438DF43A78B8E38CF2E4F5CC@BLRKECMSG01.ad.infosys.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5683_25186775.1149007745030 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > JNDI problems can be resolved by having a resource =96ref smething like = : > > > > ----Begin------------ > > > > testbank > > testbank > > > > > > --End---------------- > > > > in ur code it shd be like -> =85=85 > > =85=85ctx.lookup("testbank") > Hi Santosh, What is a resource ref? Also, is the way I am trying to access the bean correct, i.e. using JNDI name i.e. "HelloWorld" or the component name i.e. "java:comp/env/ejb/HelloWorld". What is the difference? ------=_Part_5683_25186775.1149007745030 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

JNDI prob= lems can be resolved by having a resource =96ref  smething like :

 

----Begin------------

      <= ;resource-ref>

     &nbs= p;          <ref-name>testbank</ref-name>

     &nbs= p;          <resource-link>testbank</resource-link>

     </resource-ref>

 

--End----------------

 

in ur code it shd be like= -> =85=85

     &nbs= p;            &= nbsp;           &nbs= p;      =85=85ctx.lookup("testbank")



Hi Santosh,
What  is a resource ref?  Also,&nbs= p; is the way I am trying to access the bean correct, i.e. using JNDI name = i.e. "HelloWorld" or the component name=20 i.e. "java:comp/env/ejb/HelloWorld". What is the difference?
<= /div>
------=_Part_5683_25186775.1149007745030--