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? 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e961561f-afde-4bfe-8335-5b41821c3588%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to