-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
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 roles.
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paulo,
Paulo Vivacqua wrote:
> I copied the Mysql Driver's jar into $CATALINA_HOME/common/lib.
Ok.
> I already created the database with the required tables user,
> user-roles and roles.
Ok.
> I configured JNDI DataSource in Tomcat by adding a dec
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 tabl
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
d.java:619)
On 5/29/07, David Short <[EMAIL PROTECTED]> wrote:
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 U
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.
I restarted
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.
I restarted tomcat and what I am getting a login window
-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 u
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
sage-
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
Hi David,
The "j_security_check is not a real page it´s a key for communicating
with tomcat. I lookup all my code an
12 matches
Mail list logo