I am able to authenticate the user successfully through realm first time when restart the server and deploy the application. But after few minutes when i try to open the webapp in different browser the i'am unable to authenticate the user..
With localhost mysql it works fine but when i try to connect the remote mysql authentication fails after sometime.
I have posted this question in
jdbc forum also ...
mysql connection pool issue
This is my glassfish-resources.xml
the stack trace of the error is as follows...
I am fed of this error search so many threads but unable to resolve this problem.