From user-return-5883-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Wed Feb 07 22:40:49 2007 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 60352 invoked from network); 7 Feb 2007 22:40:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 22:40:48 -0000 Received: (qmail 249 invoked by uid 500); 7 Feb 2007 22:40:52 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 233 invoked by uid 500); 7 Feb 2007 22:40:52 -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 Delivered-To: moderator for user@geronimo.apache.org Received: (qmail 10125 invoked by uid 99); 7 Feb 2007 09:03:57 -0000 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 lasco@arcor.de designates 151.189.21.43 as permitted sender) Message-ID: <13013731.1170839005665.JavaMail.ngmail@webmail11> Date: Wed, 7 Feb 2007 10:03:25 +0100 (CET) From: Carsten Lange To: user@geronimo.apache.org Subject: Problems with access a datasource from a stateless session bean via JNDI lookup MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ngMessageSubType: MessageSubType_MAIL X-WebmailclientIP: unknown, 141.77.225.60 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I 'm trying to access a datasource from a stateless session bean via JNDI lookup. I tried everything I could find at any documentation. But I can not access the datasource because the JNDI name could not be found. I deployed the application in an EAR and have the reference to it at web.xml and geronimo-web.xml. If I deploy the WAR single and outside of the EAR the problem is solved and the access to the datasource works. But deployed at the EAR it does not work. I'm using geronimo 1.1.1. Please help me. You can reach me under: lasco@arcor.de Thanks Carsten ________________________ Lange Software Consulting Carsten Lange 0177 870 82 88