Dear all,
Like several persons, I got this "null DataSource". I read several
mails, but i didn't find any answer.(example:
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg44065.html).
So I am trying to define the problem as accurate as possible :
Environment definition :
-
when trying to get JNDI InitialContext
"George M. Coles" presuntamente escribió:
>Hi all,
>I am using tomcat for the firs time. I have v. 4.02, using jdk 1.4.
>
>I am attempting to deploy my app, which uses JNDI to look up a connection
>for its data access. I am using D
"George M. Coles" presuntamente escribió:
>Hi all,
>I am using tomcat for the firs time. I have v. 4.02, using jdk 1.4.
>
>I am attempting to deploy my app, which uses JNDI to look up a connection
>for its data access. I am using DB2 I have placed the db2 jdbc zip file
in
>my WEB-INF/libs dir.
when trying to get JNDI InitialContext
On Thu, 14 Feb 2002, George M. Coles wrote:
> Date: Thu, 14 Feb 2002 15:53:17 -0500
> From: George M. Coles <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
>
On Thu, 14 Feb 2002, George M. Coles wrote:
> Date: Thu, 14 Feb 2002 15:53:17 -0500
> From: George M. Coles <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: null DataSource when try
Yes, I caught that directly after posting. Careless. I get the same result,
though, after that edit.
-Original Message-
From: Yoav Shapira [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 4:12 PM
To: Tomcat Users List
Subject: Re: null DataSource when trying to get JNDI
Hi,
I'm not sure if it matters, but did you try giving the name
of the driver class separated by periods instead of slashes, e.g.
com.ibm.db2.jdbc.app.DB2Driver
?
Yoav Shapira
"George M. Coles" wrote:
>
> Hi all,
> I am using tomcat for the firs time. I have v. 4.02, using jdk 1.4.
>
>
Hi all,
I am using tomcat for the firs time. I have v. 4.02, using jdk 1.4.
I am attempting to deploy my app, which uses JNDI to look up a connection
for its data access. I am using DB2 I have placed the db2 jdbc zip file in
my WEB-INF/libs dir. My server.xml looks like this: