View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821407#3821407

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821407

Hi All:



I am having some issued with the DatabaseServerLoginModule. I have two datasources 
defined:



java:/MySqlDS

java:/OracleDS



I can connect and retreive data from both sources from a test JSP page. Both databases 
have identical "user" and "roles" tables and identical data.



When I create an DatabseServerLoginModule application-policy in login-config.xml using 
the mysql source authentication works fine:



<module-option name="dsJndiName">java:/MySqlDS</module-option>



but when I switch to the Oracle datasource it does not work:



<module-option name="dsJndiName">java:/OracleDS</module-option>



With the Oracle datasource I can't log into my application (always get access denied).



Am I missing something obvious?



Also, is there a way to turn on debugging or logging on in the 
DatabaseServerLoginModule?



Thanks!




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to