RE: JNDI and DataSource

2004-04-13 Thread Freddy Villalba Arias
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

JNDI and DataSource

2004-04-12 Thread 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

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
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

Re: JNDI and DataSource

2004-04-12 Thread Sandy McArthur
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

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
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

Re: JNDI and DataSource

2004-04-12 Thread Sandy McArthur
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

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
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

Re: JNDI and DataSource

2004-04-12 Thread Guy Pardon
, 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

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
. -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

RE: JNDI and DataSource

2004-04-12 Thread Freddy Villalba Arias
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

RE: JNDI and DataSource

2004-04-12 Thread Daniel Huang
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

JNDI based Datasource - anybody got a working example?

2003-11-15 Thread Graham Leggett
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

Re: JNDI based Datasource - anybody got a working example?

2003-11-15 Thread Christopher Schultz
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

Re: JNDI based Datasource - anybody got a working example?

2003-11-15 Thread Graham Leggett
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

Re: Encrypt passwords for JNDI Resources (Datasource specifically)

2003-09-10 Thread Tim Funk
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

Encrypt passwords for JNDI Resources (Datasource specifically)

2003-09-09 Thread Jon Wilmoth
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.

Configuring JNDI LDAP Datasource - NOT USED FOR AUTHENTICATION

2003-02-20 Thread White, Joshua A (CASD, IT)
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

Re: encrypt passwords for JNDI Resources (Datasource specifically)

2002-08-02 Thread Jacob Kjome
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

Re: encrypt passwords for JNDI Resources (Datasource specifically)

2002-08-02 Thread Markus Bengts
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:

Re: encrypt passwords for JNDI Resources (Datasource specifically)

2002-08-02 Thread Phil Steitz
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

encrypt passwords for JNDI Resources (Datasource specifically)

2002-08-01 Thread Jacob Kjome
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

JNDI JDBC DataSource

2001-05-30 Thread Ben Sifuentes
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