"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" <ch...@christopherschultz.net>
To: "Tomcat Users List" <users@tomcat.apache.org>
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org