Re: Problem with locating Datasource using servlet as ROOT in tomcat 6

2007-12-17 Thread Alan Chaney
Thanks Gabe, That seemed to solve the problem in the 'real' deployment. Specifically, it seems that you must delete the old ROOT app. I did a rm -Rf ROOT in webapps and then my jar deployed properly and created the ROOT.xml file in conf/Catalina/localhost as required. Now seems to work perfec

Re: Problem with locating Datasource using servlet as ROOT in tomcat 6

2007-12-17 Thread Gabe Wong
Alan Chaney wrote: Hi I am using Eclipse 3.3, tomcat 6.0.14, linux and Java 1.5 I have a web app which uses a JNDI data source. I wrote a very simple test servlet to access the data source and display some values from the database. First time around I used a local application context in /MET

Problem with locating Datasource using servlet as ROOT in tomcat 6

2007-12-17 Thread Alan Chaney
Hi I am using Eclipse 3.3, tomcat 6.0.14, linux and Java 1.5 I have a web app which uses a JNDI data source. I wrote a very simple test servlet to access the data source and display some values from the database. First time around I used a local application context in /META-INF/context.xml. T