JNDI problem with Tomcat start-up

2006-12-03 Thread Chris Hampson
This is bugging me because i'm almost certain I have done this before. I have a servlet which used a JNDI definition of a datasource to connect to a MySQL database. If I run the servlet by browsing to the URL it is mapped it all works fine. I am trying to get the servlet to run on Tomcat

Re: JNDI problem with Tomcat start-up

2006-12-03 Thread Mark Thomas
Chris Hampson wrote: This is bugging me because i'm almost certain I have done this before. I have a servlet which used a JNDI definition of a datasource to connect to a MySQL database. If I run the servlet by browsing to the URL it is mapped it all works fine. I am trying to get the servlet

Re: JNDI problem with Tomcat start-up

2006-12-03 Thread Chris Hampson
Sorry it v5.5.20 From: Mark Thomas [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: JNDI problem with Tomcat start-up Date: Sun, 03 Dec 2006 10:51:35 -0500 Chris Hampson wrote: This is bugging me because i'm

Re: JNDI problem with Tomcat start-up

2006-12-03 Thread Mark Thomas
Chris Hampson wrote: Sorry it v5.5.20 Looking at the source JNDI is up and running well before the load on start-up servlets are loaded so you should be fine. As far as I am aware, no trick is required. I would start with a simple test case in an empty webapp and a clean Tomcat install and see