The problem is the invalid dsJiniName module-option name in the RestaurantSecurityRealm config. This should be dsJndiName which defaults to java:/DefaultDS and hence hypersonic.
-- xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx
Jack Lauman wrote:
Scott:...
Sorry, forgot the files.
Thanks again,
Jack
Jack Lauman wrote:
<?xml version='1.0'?> <!DOCTYPE policy PUBLIC "-//JBoss//DTD JBOSS Security Config 3.0//EN" "http://www.jboss.org/j2ee/dtd/security_config.dtd">
<policy> <!-- Used by clients within the application server VM such as mbeans and servlets that access EJBs. --> <application-policy name = "RestaurantSecurityRealm"> <authentication> <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required"> <module-option name = "dsJiniName">java:/RestaurantDS</module-option> <module-option name = "principalsQuery"> SELECT Password FROM User WHERE UserID = ? </module-option> <module-option name = "rolesQuery"> SELECT Role, 'Roles' FROM User WHERE UserID = ? </module-option> <module-option name = "hashAlgorithm">MD5</module-option> <module-option name = "hashEncoding">HEX</module-option> </login-module> </authentication> </application-policy>
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user