Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1DF9ED42A for ; Wed, 7 Nov 2012 08:36:50 +0000 (UTC) Received: (qmail 29958 invoked by uid 500); 7 Nov 2012 08:36:49 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 29779 invoked by uid 500); 7 Nov 2012 08:36:48 -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 29717 invoked by uid 99); 7 Nov 2012 08:36:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 08:36:46 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.171] (HELO moutng.kundenserver.de) (212.227.126.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 08:36:38 +0000 Received: from r820dfv.hursley.ibm.com (host86-138-236-113.range86-138.btcentralplus.com [86.138.236.113]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0Ln0mX-1SrhUr0VLB-00h1mS; Wed, 07 Nov 2012 09:36:16 +0100 Message-ID: <509A1D7F.7020103@baylishome.me.uk> Date: Wed, 07 Nov 2012 08:36:15 +0000 From: Michael Baylis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Cannot Lookup EJBs in Geronim 3.0 References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------030405050104060708030906" X-Provags-ID: V02:K0:tLz1m1/rB7C76+Jdnv5VRjRvHRe/bjDkkuqJqugLfnW 267HsNxKK2mXvSGNYKpNc9phHwd0vUyyqmbsbJ4MxMUkmA0EUw sfhqinqmgQDxAiM6X9T04nOqVshm9yrP9MMjTcqKgyP41KSbFz q7yio+qX/jSzdZBU83FnEYIP421ibDHsOHAT4BCEnWgBvsxbOI +KM7OR6X/zouolzNN9WeNq1vw1wRApQ3/bpLaAKuMwbo/X+bLo IVDVfC/cJTKyckr+DLqYk6w7h8NcL6PWNQ53Bbzfbk6cuv3mDP XBkz1Ib9Mf8is/pLnsEJvf/KAmTsb1AG0DvVyonfbNulsy21Qq yajqyU5TX6QLe0pKAuN1jf53InDQZRVy76+RViPQ/BvxqHf/Uh zwjq0prWIrpAQ== X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------030405050104060708030906 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This is spookily looking like the problem I am having with a simple EJB lookup from within a wink rest service. I am also seeing the warning as listed below. By the way, EJB injection is a standard servlet is working perfectly. On 11/07/2012 03:04 AM, Ali wrote: > hi there, > > I have recently migrated from Geronimo 2.2 to Geronimo 3.0; there is > no issue in deployment yet my lookups are now failing > (javax.naming.NameNotFoundException) and I can see following WARN > messages in the log when application is deployed: > > /2012-11-07 13:47:22,843 WARN [AdminObjectRefBuilder] Failed to build > reference to resource env reference [java:comp/BeanManager, > java:comp/Validator, java:comp/ValidatorFactory] defined in plan file. > The corresponding entry in Geronimo deployment descriptor is missing./ > > I am really stuck and have no idea how to fix this after two weeks of > investigation; it used to work same application on G2.2! > > Can you please guide me on this? > > Thank you. > > Regards, > A. --------------030405050104060708030906 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
This is spookily looking like the problem I am having with a simple EJB lookup from within a wink rest service.  I am also seeing the warning as listed below.  By the way,  EJB injection is a standard servlet is working perfectly.


On 11/07/2012 03:04 AM, Ali wrote:
hi there,

I have recently migrated from Geronimo 2.2 to Geronimo 3.0; there is no issue in deployment yet my lookups are now failing (javax.naming.NameNotFoundException) and I can see following WARN messages in the log when application is deployed:

2012-11-07 13:47:22,843 WARN  [AdminObjectRefBuilder] Failed to build reference to resource env reference [java:comp/BeanManager, java:comp/Validator, java:comp/ValidatorFactory] defined in plan file. The corresponding entry in Geronimo deployment descriptor is missing.

I am really stuck and have no idea how to fix this after two weeks of investigation; it used to work same application on G2.2!

Can you please guide me on this?

Thank you.

Regards,
A.

--------------030405050104060708030906--