Jenkins Deploy plugin for Jboss 6.x class loading issue

56 views
Skip to first unread message

Prabaharan Gopalan

unread,
Jul 14, 2015, 12:58:05 AM7/14/15
to jenkins...@googlegroups.com
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? 

Barun Vishwakarma

unread,
Jul 14, 2015, 5:22:11 AM7/14/15
to jenkins...@googlegroups.com
If you find the solution please let me know..I have also posted this question but  i did not get any reply

--
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 jenkinsci-use...@googlegroups.com.
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 all
Reply to author
Forward
0 new messages