I'm sure I'm missing something, although I read the chapter about security in the JBoss book twice. I have
a simple web-app configured with DatabaseServerLoginModule security, and I get: java:comp/env/security does not appear to be correctly set up. This is my config
jndiName = jdbc/DeBugITDS
Form based login, realm = DeBugIT
principalsQuery="select password from user where userid = ?"
rolesQuery="select groupname, 'Roles' from membership where userid = ?"
(this holds the same info as auth.conf, but in XML format.
What do I forget?
Even when I do a db2stop, JBoss fully starts, shows the login.jsp (FORM based login), but refuses to access the database.....