Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Hello chris, Thanks again for the help.I will try to be more clear so that maybe you could help figure out what I am doing wrong. Like I said before I am trying to setup a DataSourceRealm to authenticate users by pull out the user information from a MySQL database. 1- I already created the

RE: Configuring a DataSourceRealm

2007-05-29 Thread David Short
In your code where you reference JNDI jdbc, reference jdbc/oaso instead. -Original Message- From: Paulo Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 8:37 AM To: Tomcat Users List Subject: Re: Configuring a DataSourceRealm Hello chris, Thanks again for the help.I

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
- From: Paulo Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 8:37 AM To: Tomcat Users List Subject: Re: Configuring a DataSourceRealm Hello chris, Thanks again for the help.I will try to be more clear so that maybe you could help figure out what I am doing wrong. Like I said before I

RE: Configuring a DataSourceRealm

2007-05-29 Thread David Short
AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Configuring a DataSourceRealm Hi David, Thanks for the help. I don´t have a reference to JNDI jdbc on my code. What I have is a login page with a form that´s sent to tomcat for authentication. form method=POST action=j_security_check

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
:46 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Configuring a DataSourceRealm Hi David, Thanks for the help. I don´t have a reference to JNDI jdbc on my code. What I have is a login page with a form that´s sent to tomcat for authentication. form method=POST action=j_security_check

Re: Configuring a DataSourceRealm

2007-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paulo, Paulo Vivacqua wrote: Like I said before I am trying to setup a DataSourceRealm to authenticate users by pull out the user information from a MySQL database. You should remove the MemoryRealm from your configuration if you are going to use

RE: Configuring a DataSourceRealm

2007-05-29 Thread Propes, Barry L
I don't believe you can have both, Paulo...i believe it's one realm or the other if I'm not mistaken. -Original Message- From: Paulo Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 1:07 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Configuring a DataSourceRealm

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 1:07 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Configuring a DataSourceRealm Hi David, The j_security_check is not a real page it´s a key for communicating with tomcat. I lookup all my code and there is no reference to JNDI

Configuring a DataSourceRealm

2007-05-24 Thread Paulo Vivacqua
Hello there, I am having difficulty implementing a Datasource realm for my application. I followed some tutorials but could not make it to work.I already posted this issue on other forums but I got no answer. The application Instead of pulling out data from the MySQL database it´s getting the

Re: Configuring a DataSourceRealm

2007-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paulo, Paulo Vivacqua wrote: I am having difficulty implementing a Datasource realm for my application. I followed some tutorials but could not make it to work.I already posted this issue on other forums but I got no answer. The application

Re: Configuring a DataSourceRealm

2007-05-24 Thread Paulo Vivacqua
Hello Chris, Thanks very much for your answer. Yes I am currently using MemoryRealm and I want to use DataSourceRealm instead. I am using tomcat 5.0 I copied the Mysql Driver's jar into $CATALINA_HOME/common/lib. I already created the database with the required tables user, user-roles and

Re: Configuring a DataSourceRealm

2007-05-24 Thread David Smith
Hi Paulo. We'll need to know what version of Tomcat you are working with. --David Paulo Vivacqua wrote: Hello there, I am having difficulty implementing a Datasource realm for my application. I followed some tutorials but could not make it to work.I already posted this issue on other forums