Hi Everyone,
I'm trying to use the deploy plugin with Jenkins and trying to deploy to a remote JBoss 6.x. But I keep hitting the
javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.ClientLoginModule
error. I read through the documentation and understand that all the JBoss/client jars need to be in the classpath - which I promptly added to the plugin/WEB-INF/lib directory. But still got the error.
A bit of googling suggested that I also need the jbosssx.jar file in the classpath which I added, still nothing.
However, if I add the jbosssx jar file to Jenkins' WEB-INF/lib and not the plugin's, then I'm getting a
java.lang.NoClassDefFoundError: Could not initialize class org.jboss.security.ClientLoginModule
which to me sounds like the class is being found but not being able to load. I've been going in circles trying to get Jenkins to load the ClientLoginModule which is inside the jbosssx.jar file but so far no luck.
Am I looking in the wrong direction or missed a turn somewhere to get this to work?