According to my previous experience with MySql with JDBCRealm, setting up the resource correctly is the key. You may like to look up the resource and try to see if you can access the database. Using the ping datasource functionality in admin gui may not be enough in this case.
[Message sent by forum member 'swchan2' (swchan2)]