Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 73845 invoked from network); 14 Jun 2007 03:27:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 03:27:52 -0000 Received: (qmail 96537 invoked by uid 500); 14 Jun 2007 03:27:53 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 96526 invoked by uid 500); 14 Jun 2007 03:27:53 -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 96515 invoked by uid 99); 14 Jun 2007 03:27:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 20:27:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 20:27:48 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Hyfzc-0007bQ-0j for user@geronimo.apache.org; Wed, 13 Jun 2007 20:27:28 -0700 Message-ID: <11113134.post@talk.nabble.com> Date: Wed, 13 Jun 2007 20:27:27 -0700 (PDT) From: Avorcor To: user@geronimo.apache.org Subject: Unable to resolve resource reference on 3.0 with annotations MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jpmorgenthal-signup@spamarrest.com X-Virus-Checked: Checked by ClamAV on apache.org Okay, I tried to find a similar situation as this on this forum and on the web, but have not had any luck. I am using Geroimo 2.0M5 I have deployed a new ActiveMQ Resource Adapter with 2 queues and 1 topic. The factory name is Factory1 I have a single session bean that publishes to a JMS queue. The bean has one method publishAsset(), which performs the publishing act to the queue. This is a stateless session bean. it is declared with @Stateless @Remote( { AssetRecordRemote.class }) I have a connection factory object declared in my code: @Resource(mappedName = "java:/comp/env/jms/Factory1") ConnectionFactory connectionFactory; The package this is in is called com.avorcor.fm The bean name is AssetSessionBean I jar this up with my remote interface and call deploy AssetSessionBean.jar I get an error deploying: Error: Unable to distribute AssetSessionBean.jar: org.apache.geronimo.common.DeploymentException: Unable to resolve resource reference com.avorcor.fm.AssetSessionBean/connectionFactory' (Could not auto-map to resource. Try adding a resource-ref mapping to your Geronimo deployment plan. If I remove all references to JMS, this will deploy just fine. Although, it deploys in the default package instead of com.avorcor.fm . I would like to hear thoughts on this as well if anyone knows, but my primary concern is for trying to understand why Geronimo cannot find the resource reference and what I could try to correct this situation. Thank you. -- View this message in context: http://www.nabble.com/Unable-to-resolve-resource-reference-on-3.0-with-annotations-tf3919298s134.html#a11113134 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.