I am having this weird error when trying to login in using container-managed security using a JDBC Realm, basically was happens is that even though the JDBC realm is set to my login config, it still uses the file realm.
I searching the internet for help, they didn't work for me.
Here's my configuration:
My Login Page:
web.xml security definition:
sun-web.xml security role mapping:
my database table:
My realm configuration:
My Connection Pool Settings:
Here's the exception:
I was expecting to receive a LoginException: Failed jdbc login for admin