Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 79163 invoked from network); 6 Nov 2003 23:26:26 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Nov 2003 23:26:26 -0000 Received: (qmail 8092 invoked by uid 500); 6 Nov 2003 23:25:53 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 8050 invoked by uid 500); 6 Nov 2003 23:25:52 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 8037 invoked from network); 6 Nov 2003 23:25:52 -0000 Received: from unknown (HELO rwcrmhc12.comcast.net) (216.148.227.85) by daedalus.apache.org with SMTP; 6 Nov 2003 23:25:52 -0000 Received: from comcast.net (pcp725580pcs.arlngt01.va.comcast.net[68.49.187.119]) by comcast.net (rwcrmhc12) with SMTP id <2003110623255901400k1tpre> (Authid: christopher.d.schultz); Thu, 6 Nov 2003 23:25:59 +0000 Message-ID: <3FAAD9A4.20602@comcast.net> Date: Thu, 06 Nov 2003 18:30:44 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: jndi problem References: <018201c3a485$97cd0fb0$9be75ea0@OMWL201BAV> In-Reply-To: <018201c3a485$97cd0fb0$9be75ea0@OMWL201BAV> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bill, > Am I missing something here? I have successfully(???) configured a > connection pool, which I can use when accessing my app via port 8080. Well, if you can use it then you have been successful. Can you use it or can't you? > However, when I try to do the same using apache/mod_webapp, I am unable > to get a connection. The use of mod_webapp should not interfere with any CP stuff. > Is this a problem with mod_webapp, or do I simply need to relocate my > resource in server.xml (it is currently at the level) If you are using a Realm with your JNDI datasource, then you'll have to have the DataSource defined at the global level. That's what I found while doing the same thing. You can define the Realm at the Context level, but you'll need a reference to the global datasource in the context, and then another reference in your web.xml to the same thing. -chris --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org