Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 87945 invoked from network); 21 Sep 2008 16:49:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2008 16:49:14 -0000 Received: (qmail 14726 invoked by uid 500); 21 Sep 2008 16:49:11 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 14356 invoked by uid 500); 21 Sep 2008 16:49:10 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 14339 invoked by uid 99); 21 Sep 2008 16:49:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Sep 2008 09:49:10 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [62.13.136.26] (HELO outmail136026.authsmtp.com) (62.13.136.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Sep 2008 16:48:09 +0000 Received: from mail-c188.authsmtp.com (mail-c188.authsmtp.com [62.13.128.25]) by punt5.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m8LGmc7m039229 for ; Sun, 21 Sep 2008 17:48:38 +0100 (BST) Received: from [172.16.35.20] (p5B2B865E.dip0.t-ipconnect.de [91.43.134.94]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m8LGmaPs056928 for ; Sun, 21 Sep 2008 17:48:37 +0100 (BST) Message-ID: <48D67AF7.9050509@apache.org> Date: Sun, 21 Sep 2008 18:48:55 +0200 From: Thomas Vandahl User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Apache Torque Users List Subject: Anybody used Torque successfully with Apache Geronimo? X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Server-Quench: 22f1e89e-87fd-11dd-aecc-001871e930f4 X-AuthRoute: OCdyaAgQClZJUiwT EioPDCIGTh8qMAFL GwYeIE5HO1cTfQhb dE9CJ1FTPRsbX15P AWcUOAEUT19xWWtl ag1baQ1XYU0AVgR0 VEtXQ1FWCgxsHh4E GR5QDxEOAFgXGD1w YEBrXHgVXURzdwh/ QBhVQGUPMHpobzZL TUFZI1dJIVYZLQJF alF3U3JYaGYHMH4u NgkiNTc9LH1CMylZ Cj0KN0sPTA4QAzU3 SgsZEygrGVxNWCQv L1QPMlcXHEtZHUgo Nl0gXFVPW3Vp X-Authentic-SMTP: 61633138303539.cat.dmpriest.net.uk:1186/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Checked: Checked by ClamAV on apache.org Hi folks, I have trouble migrating my Torque based application from Tomcat to Geronimo. Obviously, the JNDI configuration is somewhat different. I followed the instructions given in the Geronimo documentation to provide a database pool as jdbc/MyDataSource, including deployment plan and all. But I still get ---8<--- org.apache.torque.TorqueException: javax.naming.NotContextException: comp/env/jdbc/MyDataSource org.apache.torque.dsfactory.JndiDataSourceFactory.getDataSource(JndiDataSourceFactory.java:116) org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:912) ... ---8<--- Has anybody got this combination to work? What am I doing wrong? Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org