The example David attached to the JBAS-5980 is still reproduced in the latest 5.X currently (5.1.0.GA). Can somebody tell if it is in plans to fix in some following 5.X?
if you tuning by
then remove file profileservice-jboss-beans.xml from deploy folder