Huang [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 12 de abril de 2004 20:57
Para: Tomcat Users List
Asunto: RE: JNDI and DataSource
Where did you put your db driver jar file? You want to put it under
$CATILINA/common/lib.
Regards,
Daniel
-Original Message-
From: Freddy Villalba Arias
Hi everybody,
This is a fairly simple problem, however this is one of those days a
huge truck could easily pass over you without you even noticing it...
anyway, here it goes!
The environment is: JBuilder X + Tomcat 4.1 + DBCP
The problem:
I want to obtain a DB connection through a
I MEANT OVER ME!!!
Sorry... as you can see, I'm a little burned-out here...
Thankx.
-Mensaje original-
De: Freddy Villalba Arias
Enviado el: lunes, 12 de abril de 2004 15:44
Para: [EMAIL PROTECTED]
Asunto: JNDI and DataSource
Hi everybody,
This is a fairly simple problem, however
You have a default context right after the wa context that doesn't
specify a Resource . Is that what you meant?
Sandy
On Apr 12, 2004, at 9:44 AM, Freddy Villalba Arias wrote:
[...]
/ResourceParams
/Context
Context path= docBase=..\..\Testing debug=5
2004 17:32
Para: Tomcat Users List
Asunto: Re: JNDI and DataSource
You have a default context right after the wa context that doesn't
specify a Resource . Is that what you meant?
Sandy
On Apr 12, 2004, at 9:44 AM, Freddy Villalba Arias wrote:
[...]
/ResourceParams
it).
HTH.
-Mensaje original-
De: Sandy McArthur [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 12 de abril de 2004 17:32
Para: Tomcat Users List
Asunto: Re: JNDI and DataSource
You have a default context right after the wa context that doesn't
specify a Resource . Is that what you meant?
Sandy
2004 18:29
Para: Tomcat Users List
Asunto: Re: JNDI and DataSource
This shouldn't be all that different, but this is the server.xml I'd
use on my setup.
?xml version=1.0 encoding=UTF-8?
Server debug=5 port=8081
shutdown=SHUTDOWN
GlobalNamingResources
Resource name=jdbc/cnid
scope
, the problem persists
Any other suggestion? (Ill keep looking at it, too obviously)
-Mensaje original-
De: Sandy McArthur [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 12de abril de 2004 18:29
Para: Tomcat Users List
Asunto: Re: JNDI and DataSource
This shouldn't be all that different
.
-Mensaje original-
De: Guy Pardon [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 12 de abril de 2004 19:02
Para: Tomcat Users List
Asunto: Re: JNDI and DataSource
Hi,
The fact that you get 'No suitable driver' could also mean that the
chosen properties are incompatible (as opposed
the factory builds
the DataSource object.
Regards,
Freddy.
-Mensaje original-
De: Guy Pardon [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 12 de abril de 2004 19:02
Para: Tomcat Users List
Asunto: Re: JNDI and DataSource
Hi,
The fact that you get 'No suitable driver' could also mean
Where did you put your db driver jar file? You want to put it under
$CATILINA/common/lib.
Regards,
Daniel
-Original Message-
From: Freddy Villalba Arias [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 10:19 AM
To: Tomcat Users List
Subject: RE: JNDI and DataSource
Tested it. Same
Hi all,
I am trying to configure tomcat to provide a JNDI Datasource, both so
that the container can provide Basic Authentication, and for the war
file to use (via Torque).
I have followed the instructions at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
Graham,
I am trying to configure tomcat to provide a JNDI Datasource, both so
that the container can provide Basic Authentication, and for the war
file to use (via Torque).
I have done this (including Torque!). It took a bit of playing around,
but I found that I had to do the following
Christopher Schultz wrote:
I was getting this same error and played around for the better part of
two days to get this working.
Finally, I can do all of these things:
1. Use the Realm the way I want to
2. Have Torque use the same JNDI DataSource
(Just so you know, this is what I use for my
From the default distribution of tomcat - there is no way.
Just make sure the file is secure.
-Tim
Jon Wilmoth wrote:
I'd like to be able to encrypt the database passwords used in the JDBC
pool configuration block. Is this possible in 4.1.27? 5.x? Something as
simple as base64 encoding would be
I'd like to be able to encrypt the database passwords used in the JDBC
pool configuration block. Is this possible in 4.1.27? 5.x? Something as
simple as base64 encoding would be fine, I just can't store it as easy
to read plain text.
How can I declare an LDAP datasource in the server.xml file without the need
to use it for authentication. The documentation I have read so far assumes
that I am using LDAP for authentication. When looking at the datasources
section of the JNDI docs, it assumes a relational database. Can
Can someone comment on this? I'd really like to know if I can digest
the passwords that I use for my configuration in the Server.xml for
DBCP Datasources. Is it possible? If not, is it planned?
Jake
Thursday, August 01, 2002, 1:00:16 PM, you wrote:
JK Seems to me someone wrote about this
On Fri, 2 Aug 2002, Jacob Kjome wrote:
Can someone comment on this? I'd really like to know if I can digest
the passwords that I use for my configuration in the Server.xml for
DBCP Datasources. Is it possible? If not, is it planned?
Thursday, August 01, 2002, 1:00:16 PM, you wrote:
Jacob Kjome wrote:
Can someone comment on this? I'd really like to know if I can digest
the passwords that I use for my configuration in the Server.xml for
DBCP Datasources. Is it possible? If not, is it planned?
Jake
I will leave it to one of the developers to comment on what may be
Seems to me someone wrote about this before, but I can't find it. I'm
wondering if passwords can be digested in JNDI Resource configuration
just like one can in the Realm configurations? I'd rather not store
the password for my database in cleartext. The Resource docs don't
seem to mention
Does Tomcat 3.2.1 support setting a JDBC DataSource I know that I've seen
messages about Tomcat 4.0 supporting it?
If so how do I go about setting this up Tomcat 3.2.1?
-Ben
22 matches
Mail list logo