I am trying to deploy a ear file in JB3.0 that previously works correctly in 2.4.6-Tomcat. I believe I have everything is correctly configured, however, when it gets to the point of actually deploying the beans, I am presented with this output to the console:
...
17:08:31,084 INFO [EjbModule] Deploying References
17:08:31,114 INFO [EjbModule] Deploying ReferenceStatus
17:08:31,144 INFO [EjbModule] Deploying ServiceArea
17:08:31,164 INFO [EjbModule] Deploying Location
17:08:31,185 INFO [EjbModule] Deploying LocationStatus
17:08:31,205 INFO [EjbModule] Deploying ReferenceManager
17:08:31,235 INFO [EjbModule] Deploying UserManager
17:08:31,255 INFO [EjbModule] Deploying GroupManager
...
at this point, it the login() of DatabaseServerLoginModule is invoked like 40 times, of course failing each time because it says the principal = null.
This is the start of the error that I eventually get:
17:15:45,800 ERROR [EjbModule] Initialization failed
java.lang.SecurityException: Invalid authentication attempt, principal=null
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubjec
t(BaseConnectionManager2.java:707)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
onnection(BaseConnectionManager2.java:531)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
My first question is: How can I fix this problem.
My second question is: Why, at this point of the deploy, would JBoss need to login()?
Your help is greatly appreciated, please let me know if you need any more information.
Thanks!
BCOT.