Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 86281 invoked from network); 28 Apr 2006 04:02:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Apr 2006 04:02:07 -0000 Received: (qmail 8481 invoked by uid 500); 28 Apr 2006 04:02:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 8252 invoked by uid 500); 28 Apr 2006 04:02:03 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 8241 invoked by uid 99); 28 Apr 2006 04:02:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 21:02:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 21:02:02 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E30537142E0 for ; Fri, 28 Apr 2006 04:01:37 +0000 (GMT) Message-ID: <20100650.1146196897912.JavaMail.jira@brutus> Date: Fri, 28 Apr 2006 04:01:37 +0000 (GMT+00:00) From: "Aaron Mulder (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-1935) WAR with local EJB reference fails with complaints about remote interfaces In-Reply-To: <22088586.1146191257541.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-1935?page=comments#action_12376870 ] Aaron Mulder commented on GERONIMO-1935: ---------------------------------------- Two problems: 1) The exception generation is hardcoded to local=false, which is easy enough to fix (OpenEJBReferenceBuilder:207) 2) The web app configId had no version. The EJB AbstractNameQuery uses the actual configId with version in its query. All the GBeans that it's matching against have no version in the configId. Therefore there are no matches. e.g.: query=demo/LaptopStore/1146194174228/car?j2eeType=StatelessSessionBean,name=StoreManager# GBean=demo/LaptopStore//car?EJBModule=laptopstore-ejb-1.0-SNAPSHOT.jar,J2EEApplication=demo/LaptopStore//car,j2eeType=StatelessSessionBean,name=StoreManager I guess maybe we need to set the version in the configId sooner so that all the GBeans get the version in their names? > WAR with local EJB reference fails with complaints about remote interfaces > -------------------------------------------------------------------------- > > Key: GERONIMO-1935 > URL: http://issues.apache.org/jira/browse/GERONIMO-1935 > Project: Geronimo > Type: Bug > Security: public(Regular issues) > Components: deployment, OpenEJB > Versions: 1.1 > Reporter: Aaron Mulder > Assignee: Aaron Mulder > Priority: Blocker > Fix For: 1.1 > > web.xml contains: > > ejb/StoreManager > Session > dk.jaoo.geronimo.laptop.ejb.StoreManagerHome > dk.jaoo.geronimo.laptop.ejb.StoreManager > StoreManager > > ejb-jar.xml contains: > > Store Manager Session Bean > StoreManager > dk.jaoo.geronimo.laptop.ejb.StoreManagerHome > dk.jaoo.geronimo.laptop.ejb.StoreManager > dk.jaoo.geronimo.laptop.ejb.StoreManagerBean > Stateless > Container > > jdbc/LaptopDatabase > javax.sql.DataSource > Container > Shareable > > > Deployment error is: > Error: Unable to distribute laptopstore-ear-1.0-SNAPSHOT.ear: Could > not find an EJB for reference ejb/StoreManager to a remote session > bean that has the home interface > dk.jaoo.geronimo.laptop.ejb.StoreManagerHome and the remote > interface dk.jaoo.geronimo.laptop.ejb.StoreManager -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira