I have got a MDB, some SessionBeans and some EntityBeans. All these beans are under a security domain. Well, if I try to use the MDB I am getting an AuthenticationException with principal=null, when JBossMQ tries to call the MDB. I have declared in my ejb-jar.xml, that the MDB schould run as local, like the SessionBeans so that they can call all the EntityBeans. The same configuration I also made for the MDB however, I is not possible to use it under a securtiy domain. With that, everything works super.
Has anybody of you a solution or is it maybe a bug in JBoss??