Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 60E7BEB2A for ; Sun, 20 Jan 2013 19:49:46 +0000 (UTC) Received: (qmail 7454 invoked by uid 500); 20 Jan 2013 19:49:43 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 7387 invoked by uid 500); 20 Jan 2013 19:49:42 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 7378 invoked by uid 99); 20 Jan 2013 19:49:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jan 2013 19:49:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of steveryder.com@gmail.com designates 209.85.219.42 as permitted sender) Received: from [209.85.219.42] (HELO mail-oa0-f42.google.com) (209.85.219.42) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jan 2013 19:49:36 +0000 Received: by mail-oa0-f42.google.com with SMTP id j1so5523481oag.29 for ; Sun, 20 Jan 2013 11:49:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:from:to:references:subject:date :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:x-mailer:x-mimeole; bh=5IIiQL0uq+NLPM4g8yLwx0qXEiI9b3SHNZ0DigVSwUw=; b=juDkJXMfAoFqlJAgxuyQsLzRaoRMRcqSunTLX/QSCe0MDxofXL8gaowg6Q5iQR1NdQ GOiFDJfIacQ2ruIY15fH4P3cIbUhIhG3bx4X5MKWMDn0oDshPLOhzCXmiTGsKMu9EtyG rwZBVzCrMNBAa1dG48gLnxXjyaHEF4yvTL+7TeJmA9OhSs3KoRoXemi7S3h2LS59PsTR y/13ktCqpQ7X5DQjukGCQE8J3kIJFKN9zkDmMfaYhi0nFItyOomvLnkJNTV0oAIzWCQ+ tIB6cGzWLwNDHzAZaavq8hV0MaebqCKuYkzIs9V7GTrVuW2V5+3FdwtgXQ/slNpY0p4g 1r2w== X-Received: by 10.182.77.230 with SMTP id v6mr12327870obw.66.1358711355426; Sun, 20 Jan 2013 11:49:15 -0800 (PST) Received: from JSR2006 (108-73-7-68.lightspeed.austtx.sbcglobal.net. [108.73.7.68]) by mx.google.com with ESMTPS id 4sm8881424oba.18.2013.01.20.11.49.13 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 20 Jan 2013 11:49:14 -0800 (PST) Sender: Steve Ryder Message-ID: From: sryder@jsrsys.com To: "Tomcat Users List" References: <85C377F26F3043D8A4596E6BB2E95A24@JSR2006> <50FAF704.50207@yahoo.com> <99C8B2929B39C24493377AC7A121E21FC49B3307D1@USEA-EXCH8.na.uis.unisys.com> <5807AEC9CB55411E914AFA11E717D21C@JSR2006> <50FC25BC.1010808@christopherschultz.net> Subject: Re: Fw: Tomcat 5.0.28 jdbc error "Name jdbc is not bound in this Context" on WindowsXP. Date: Sun, 20 Jan 2013 13:49:08 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Virus-Checked: Checked by ClamAV on apache.org "shouldn't it be easy to determine where the file should go in your development environment?" One would think so. On the linux environment it is under etc/Tomcat5.5/ the same directory as server.xml However, when I put it in the ...conf directory on Windows, it appears that it is ignored, in the eclipse console startup log I don't see any entry for context.xml. I have tried to find Tomcat5 documentation on placement of context.xml file. Even better would be sample code for jdbc context.xml. I don't want to have a copy for each webapp, just one that applies to all webapps. ----- Original Message ----- From: "Christopher Schultz" To: "Tomcat Users List" Sent: Sunday, January 20, 2013 11:13 AM Subject: Re: Fw: Tomcat 5.0.28 jdbc error "Name jdbc is not bound in this Context" on WindowsXP. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > To whom it may concern, > > On 1/19/13 10:54 PM, Gmail wrote: >> The production machine (Ubuntu) is Tomcat 5.0, which is why I need >> to keep my development machine at the same level so I can test >> changes to xml files, and then upload to the server. Only in this >> case I am going backwards due to a disk crash. I am confident >> the files are correct as they are working on the Ubuntu server. >> What I don't know is in which directory I need to put the >> context.xml file. According to the 5.0 doc it should not matter >> whether if the file in in ...conf or ... localhost, yet I get >> different behavior depending on which place I put it. I get no >> startup messages about context.xml when in ...conf (home of >> server.xml), I do see startup messages about other xml files in >> local host, which is why I moved it there, thus getting the path >> missing error. I know 5.0 is old, but it is what I am stuck with. > > If you have a running production instance with context.xml in the > right place, shouldn't it be easy to determine where the file should > go in your development environment? > > FWIW, I think your primary objective should be to get your webapp > running on a supported version of Tomcat: there are known security > vulnerabilities in 5.0 that will never be patched. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEAREIAAYFAlD8JbwACgkQ9CaO5/Lv0PCeIwCgwfKROCGal4IenW3vPWHqAmIi > hvIAn1vxCMQpNjzRkcuyxnQZ+84fKWKZ > =zaQ7 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org