This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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