You can try two simple tests, to better localize where the problem could be:
- put a jboss-ejb3.xml deployment descriptor with security domain configured to your bundle, which contains EJBs
- META-INF/jboss-ejb3.xml if you use JAR
- WEB-INF/jboss-ejb3.xml in case of WAR
- replace the DatabaseServerLoginModules with UsersRolesLoginModule and put following line to users.properties:
rmarini=rmarini1
and the one with your requested role to the roles.properties:rmarini=rmarini1