I got following error
2003-08-11 10:40:56,722 ERROR [org.jboss.security.auth.spi.DatabaseServerLoginModule] Query failed
java.sql.SQLException: Refcursor value is invalid
Whats wrong in my jboss configuration
Your security configuration. The attempt to retrieve authentication and authorization information from a database table fails.
Check your database, and the login module configuration (in case you're using a custom query). 'Refcursor' sounds very specific to the DBMS you're using.