I found a solution for this by modifying the pom.xml fille. It looked like
the configuration was not read from login.conf
the modification is to add the
<systemVariables>
<java.security.auth.login.config>${project.build.directory}/apache-tomee/conf/login.conf</java.security.auth.login.config>
</systemVariables>
like on
https://rmannibucau.wordpress.com/2012/10/18/create-a-tomee-accessible-through-ssh-with-tomee-maven-plugin/
<https://rmannibucau.wordpress.com/2012/10/18/create-a-tomee-accessible-through-ssh-with-tomee-maven-plugin/>
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Jaas-issue-with-Maven-Tomee-plugin-tp4676308p4676309.html
Sent from the TomEE Users mailing list archive at Nabble.com.