This issue has been brought up within the community.jboss.org forums at
https://community.jboss.org/message/535641. I wanted to reach out to this community to see if anyone has any insight. The issue:
Server: jboss-6.0.0.20100216-M2
login-config.xml snipit
local-tx-datasource
1) If I deploy an
EJB with a persistence.xml that references the data source which references a security domain, I get the following type of error message:
2) If I do not deploy anything but bring up the
JBOSS AS admin console, and try to complete a
test connection under Local Tx Datasources, I get the following type of error - this is for the MySQL datasource.
Another person experiencing the same issue has tried this type of configuration in JBOSS AS 4 and 5 and the problem do
not happen.
The outstanding question is: Is this a bug in 6.0 M2 or is there something within the way the configuration files have been set up that does not seem to allow the security principal to flow appropriately.
Thanks in advance.