Servlet Caching

2007-03-16 Thread Natasha N Wright
Hi, I have a servlet which connects to a database; once the connection is made I pass a connection object into another class which uses this object to execute queries on the database. When i run the servlet my queries are executed fine, when i try to run the application for a second time my

Re: Cannot create resource instance

2007-03-08 Thread Natasha N Wright
and commons-pool.jar are not necessary in WEB-INF. --David Natasha N Wright wrote: I am using Tomcat version 4. with JDK 1.4 (quite old i know!) David Smith wrote: Before we can offer any relevant advice, please let us know which version of tomcat you are working with. There are configuration

Re: Cannot create resource instance

2007-03-08 Thread Natasha N Wright
--- Gurumoorthy Raghupathy Email : [EMAIL PROTECTED] --- -Original Message- From: Natasha N Wright [mailto:[EMAIL PROTECTED] Sent: 08 March 2007 15:39

Re: Cannot create resource instance

2007-03-08 Thread Natasha N Wright
--- Gurumoorthy Raghupathy Email : [EMAIL PROTECTED] --- -Original Message- From: Natasha N Wright [mailto:[EMAIL PROTECTED] Sent: 08 March 2007 15:39

Cannot create resource instance

2007-03-07 Thread Natasha N Wright
Hi, I am trying to create a servlet which connects to a oracle database. My servlet is called from an HTML form. When it is called i recieve a javax naming exception Cannot create resource instance error. Please can someone advise me what I need to configure? I get no tomcat errors on

Re: Cannot create resource instance

2007-03-07 Thread Natasha N Wright
I am using Tomcat version 4. with JDK 1.4 (quite old i know!) David Smith wrote: Before we can offer any relevant advice, please let us know which version of tomcat you are working with. There are configuration differences between 5.0.x and 5.5.x. --David Natasha N Wright wrote: Hi, I

Tomcat Compiler probs

2007-03-05 Thread Natasha N Wright
I am trying to compile a java file(a.java) which creates instances of other classes(b.java c.java) i have created. all files compile run fine when using java 1.5, but when i attempt to compile with TomCat 4: b.java c.java compile fine a.java throws errors, it throws 'cannot resolve symbol'

Re: Tomcat Compiler probs

2007-03-05 Thread Natasha N Wright
I am creating a servlet which connects to a database so I am using the: tomcat4 javac filename.java command to compile my java files. regards natasha Caldarale, Charles R wrote: From: Natasha N Wright [mailto:[EMAIL PROTECTED] Subject: Tomcat Compiler probs all files compile run fine

Re: [OT] Tomcat Compiler probs

2007-03-05 Thread Natasha N Wright
Caldarale, Charles R wrote: From: Natasha N Wright [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Compiler probs I am creating a servlet which connects to a database so I am using the: tomcat4 javac filename.java command to compile my java files. Is tomcat4 a script that someone has placed