Hide Forgot
Date of First Response: 2009-12-18 04:19:24 project_key: SOA Server is not able to load OpenSSOLoginModule class even though it is in jbossesb.sar/lib/jbosssoa-opensso.jar. How to reproduce: 1) change to samples/quickstarts/opensso 2) ant deploy 3) ant runtest Server complaints that the needed class which is correctly defined in conf/login-config.xml cannot be loaded: 09:56:43,453 INFO [SecurityServiceFactory] Using [org.jboss.internal.soa.esb.services.security.JaasSecurityService] as the SecurityService implementation. 09:56:43,458 ERROR [ActionProcessingPipeline] SecurityService exception : org.jboss.soa.esb.services.security.SecurityServiceException: Exception while trying to login: at org.jboss.internal.soa.esb.services.security.JaasSecurityService.authenticate(JaasSecurityService.java:102) at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:532) at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:420) at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.soa.security.opensso.OpenSSOLoginModule at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at org.jboss.internal.soa.esb.services.security.JaasSecurityService.authenticate(JaasSecurityService.java:94) ... 6 more
Link: Added: This issue depends JBESB-3066
Hi Martin, could you move the jbosssoa-opensso.jar and openssoclientsdk.jar from jbossesb.sar/lib to jbossesb.sar. It seems that in ESB 4.7, the jars in jbossesb.sar/lib doesn't get into the classpath. Could you try that and to see if the example works? I don't have the opensso env at hand. If it is the case, I will try to move these two jar's location. Regards Jeff
As Kevin suggested, the libs on jbossesb.sar were ported into esb.deployers, so I will move these two jars (jbosssoa-opensso.jar,openssoclientsdk.jar) into the esb.deployer/lib. I will update this in the soa-p build script.
added by Ryan, revision 4580
Verified in ER7.