This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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