This content has been marked as final.
Show 1 reply
-
1. Re: Persistence unit not loaded if security-domain item pres
peterj Apr 13, 2009 12:32 PM (in response to shrimad)The security-domain entry is there so that you can provide a a means to log into the database other than by providing a user-name and password in the *-ds.xml file. If you use the security-domain entry, the user-name and password entries are ignored (at least, as far as I know - I have not used both at once and I am not going to look in the source to come up with a definitive answer).
Also, I think you need to only have "MyTestSec", and not "java:/jaas/MyTestSec" (based on the one I have done, once again I have not looked at the source).
Finally, please post the MyTestSec application-policy from login-config.xml.