-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Claudio,
On 5/19/2009 11:42 AM, Claudio80 wrote: > After looking for that soultion i found the class PerUserPoolDataSource. > The tomcat's website describes how to deploy a PerUserPoolDataSource > datasource. > > I followed all the instructions but the lookup method of the context object > returned me always null. This is an indication that your setup is incorrect. Where is the PerUserPoolDataSource.class file in your setup? > That's why i decided to define a <Resource> element for each user role. > > Have you ever succeeded in using the PerUserPoolDataSource? Do you think > there are other solutions to connect to the database using different users? No, I've never even tried to do this. I just use JOINs to make sure that my users have access to appropriate data. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkoS3YkACgkQ9CaO5/Lv0PDBzgCfSqpEuLQkVXxQYEB6OIzAtmdN qFMAoKBbSbAEx4ApWPm5EfMejUuZVKnV =8Y8Q -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org