Re: Cannot create resource instance

2007-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amol, Amol Chaudhari wrote: > jndiContextRoot.lookup("java:comp/UserTransaction"); Did you ever setup this JNDI object? Where is the configuration for that? (Please excuse my ignorance... I don't use transations in such a manner). > If I comment out

Re: Cannot create resource instance

2007-07-30 Thread Amol Chaudhari
Chris, Thanks for the reply. Here's my complete btnSave_action method :- public String btnSave_action() { System.out.println("in btnSave_action..."); UserTransaction userTransaction = null; try { Context jndiContextRoot = new InitialContext(); userTra

Re: Cannot create resource instance

2007-07-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amol, Amol Chaudhari wrote: > Can't any of the gurus help me on this? Perhaps. Can you post the code you are using near this line of code: test.Student.btnSave_action(Student.java:593) Also describe how you are configuring your JNDI DataSource. In

Re: Cannot create resource instance

2007-07-27 Thread Amol Chaudhari
Can't any of the gurus help me on this? I tried to follow the steps given in one thread: http://www.nabble.com/UserTransaction%2C-JOTM-and-Tomcat-5.5.x-tf1073172.html#a10830695 but now the problem has worsened. Now my Navigation is also not working leave alone the adding of new record. I am stuck

RE: Cannot create resource instance

2007-03-08 Thread Caldarale, Charles R
> From: Natasha N Wright [mailto:[EMAIL PROTECTED] > Subject: Re: Cannot create resource instance > > classes.zip is the file listed in my classpath. Do not add any extra .zip or .jar files to the Tomcat classpath - that is guaranteed to cause problems with the classloaders. -

Re: Cannot create resource instance

2007-03-08 Thread David Smith
>> >> --- >> Gurumoorthy Raghupathy >> Email : [EMAIL PROTECTED] >> >> --- >> -Origina

Re: Cannot create resource instance

2007-03-08 Thread Natasha N Wright
March 2007 15:39 To: Tomcat Users List Subject: Re: Cannot create resource instance Thanks, but i followed the examples on the tomcat site. I have removed the factory declaration from server.xml but this still doesnt help I'm still getting a Cannot create resource instance error, i have

Re: Cannot create resource instance

2007-03-08 Thread Natasha N Wright
March 2007 15:39 To: Tomcat Users List Subject: Re: Cannot create resource instance Thanks, but i followed the examples on the tomcat site. I have removed the factory declaration from server.xml but this still doesnt help I'm still getting a Cannot create resource instance error, i have

RE: Cannot create resource instance

2007-03-08 Thread Raghupathy, Gurumoorthy
: Cannot create resource instance Thanks, but i followed the examples on the tomcat site. I have removed the factory declaration from server.xml but this still doesnt help I'm still getting a Cannot create resource instance error, i have pasted the stack dump to offer more clarity. C

Re: Cannot create resource instance

2007-03-08 Thread Natasha N Wright
Thanks, but i followed the examples on the tomcat site. I have removed the factory declaration from server.xml but this still doesnt help I'm still getting a Cannot create resource instance error, i have pasted the stack dump to offer more clarity. Cheers, Natasha STACK DUMP --- Erro

Re: Cannot create resource instance

2007-03-07 Thread David Smith
Then I would point you to http://tomcat.apache.org/tomcat-4.1-doc/jndi-resources-howto.html and http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html for some excellent information on setting up this stuff. I don't think you have to spec a resource factory as the built-in

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 a

Re: Cannot create resource instance

2007-03-07 Thread David Smith
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 am trying to create a servlet which connects to a oracle database. My servlet is cal