-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
PLINK_2.7.1.Final
-
None
Hi,
we have a problem with picketlink 2.7.1 after Jboss upgrade.
We update Jboss EAP to 6.4.14 version (from Jboss 6.4.0) and after this we receive an error on start regarding picket link.
After jboss patch we install again the picketlink 2.7.1 as indicated in the picketlink guide.
We use a SAML2AttributeManager class to add a parameter in SAML request.
18:26:54,062 WARN [org.jboss.modules] (ServerService Thread Pool – 61) Failed to define class org.picketlink.identity.hpe.impl.saml2.UserAttributeManager in Module "deployment.SSO-ERMidp.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/picketlink/identity/hpe/impl/saml2/UserAttributeManager (Module "deployment.SSO-ERMidp.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:485) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:275) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:90) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:203) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.SecurityActions.loadClass(SecurityActions.java:96) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.SecurityActions.loadClass(SecurityActions.java:66) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve.initIDPConfiguration(AbstractIDPValve.java:1443) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve.startPicketLink(AbstractIDPValve.java:1563) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve.start(IDPWebBrowserSSOValve.java:93) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:223) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3716) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0.04]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0.04]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0.04]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0.04]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0.04]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0.04]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: java.lang.NoClassDefFoundError: org/picketlink/identity/federation/core/saml/v2/interfaces/SAML2AttributeManager
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0.04]
at java.lang.ClassLoader.defineClass(ClassLoader.java:791) [rt.jar:1.7.0.04]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:359) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:480) [jboss-modules.jar:1.3.8.Final-redhat-1]
... 25 more
Caused by: java.lang.ClassNotFoundException: org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2AttributeManager from [Module "deployment.SSO-ERMidp.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:211) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.8.Final-redhat-1]
... 29 more
18:26:54,070 ERROR [org.apache.catalina.core] (ServerService Thread Pool – 61) JBWEB001097: Error starting context /erm-idp: java.lang.LinkageError: Failed to link org/picketlink/identity/hpe/impl/saml2/UserAttributeManager (Module "deployment.SSO-ERMidp.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:485) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:275) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:90) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:203) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.SecurityActions.loadClass(SecurityActions.java:96) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.SecurityActions.loadClass(SecurityActions.java:66) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve.initIDPConfiguration(AbstractIDPValve.java:1443) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve.startPicketLink(AbstractIDPValve.java:1563) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.picketlink.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve.start(IDPWebBrowserSSOValve.java:93) [picketlink-jbas7-2.5.4.SP11-redhat-1.jar:2.5.4.SP11-redhat-1]
at org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:223) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3716) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0.04]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0.04]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0.04]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0.04]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0.04]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0.04]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: java.lang.NoClassDefFoundError: org/picketlink/identity/federation/core/saml/v2/interfaces/SAML2AttributeManager
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0.04]
at java.lang.ClassLoader.defineClass(ClassLoader.java:791) [rt.jar:1.7.0.04]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:359) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:480) [jboss-modules.jar:1.3.8.Final-redhat-1]
... 25 more
Caused by: java.lang.ClassNotFoundException: org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2AttributeManager from [Module "deployment.SSO-ERMidp.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:211) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.8.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.8.Final-redhat-1]
... 29 more
This is jboss-deployment-structure.xml
<jboss-deployment-structure>
<deployment>
<!-- You must configure the PicketLink dependency to your deployment. The dependency above is a reference to a static module
from JBoss EAP modules directory. -->
<dependencies>
<module name="org.picketlink">
<imports>
<include path="org/picketlink/*"/>
</imports>
</module>
</dependencies>
</deployment>
</jboss-deployment-structure>
Anyone have similar problema?