-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
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
-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
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
> 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.
-
>>
>> ---
>> Gurumoorthy Raghupathy
>> Email : [EMAIL PROTECTED]
>>
>> ---
>> -Origina
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
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
: 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
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
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
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
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
13 matches
Mail list logo