From tomcat-user-return-11024-qmlist-jakarta-archive-tomcat-user=jakarta.apache.org@jakarta.apache.org Thu Feb 14 21:08:44 2002 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 79414 invoked from network); 14 Feb 2002 21:08:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Feb 2002 21:08:44 -0000 Received: (qmail 4001 invoked by uid 97); 14 Feb 2002 21:08:26 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 3980 invoked by uid 97); 14 Feb 2002 21:08:25 -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 3959 invoked from network); 14 Feb 2002 21:08:25 -0000 Reply-To: From: "George M. Coles" To: Subject: null DataSource when trying to get JNDI InitialContext Date: Thu, 14 Feb 2002 15:53:17 -0500 Message-ID: <006a01c1b599$a175cc00$640ea8c0@gcoles> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, I am using tomcat for the firs time. I have v. 4.02, using jdk 1.4. I am attempting to deploy my app, which uses JNDI to look up a connection for its data access. I am using DB2 I have placed the db2 jdbc zip file in my WEB-INF/libs dir. My server.xml looks like this: driverClassName COM/ibm/db2/jdbc/app/DB2Driver driverName jdbc:db2:PATHLINE user db2admin password password When I do my context lookup, which should return a DataSource, the DataSource is null. I do not, however, get a naming exception, as I would expect if the resource could not be found. Has anyone had a similar experience? I am not quite knowlegeable enough about JNDI or Tomcat to see where my problem is. thanks, George Coles -- To unsubscribe: For additional commands: Troubles with the list: