Due to a hard disk failure, I had to reinstall Tomcat 5.0.28 and MySQL 5.0.8 on my WindowsXP development machine.
I have updated sever.xml and context.xml using the parameters from my production Linux Ubuntu server, adding Global Naming Resources to server.xml and creating context.xml (which both reside in etc/Tomcat5.5 on the server). I located both files in Tomcat5.0/conf directory. I am using Eclipse to develop code to be deployed to the Linux server. When I start Tomcat, I don't get any errors, but when I try to access MySQL in get the Name jdbc... error. I have been tweaking the parameters, following many Q&A sites via Goggling. At one point I moved the context.xml to the Catalina/localhost directory. That time I could see context.xml being read, but it also threw a 'path not found' exception. From the Tomcat 5 documentation it seems that it should not matter whether context.xml is in ... conf or ... localhost directories, so I can't explain the different behavior. If context.xml needs to be in localhost, then what should the path= parameter be. I did not have it coded, then added path="/", which did not seem to make any difference. Thanks for any advice. I had hoped to find a "sample" of server.xml and context.xml for WindowsXP. Thanks in advance for any help steering me in the right direction. Part of the problem is that I did the original Windows XP installation in 2006, and I have lost a few brain cells since then.