I'm trying to get JBoss to run under IBM z?OS Unix System Services. The server seems to come up OK, except for throwing the following exception:
19:06:30,433 ERROR [PersistenceManager] Starting failed
java.lang.SecurityException: Invalid authentication attempt, principal=null
After playing with the code a bit, I find that the null principal is coming from SecurityAssociation.getPrincipal(), and that SecurityAssociation.setPrincipal() is never being called.
All of this is server-side, with no client involved. If I try to hot-deploy an EAR file, I get the same exception for each of the EJBs.
Can anyone advise as to who should be calling setPrincipal() ? Or why the default JBoss security code that works on Linux gives different results here ?