Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-666

ClassNotFoundException for IDM IdentityType on WildFly 8.2.0

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: PLINK_2.7.0.CR3
    • Fix Version/s: None
    • Component/s: IDM
    • Labels:
      None
    • Environment:

      WildFly 8.2.0.Final

    • Steps to Reproduce:
      Hide

      Clean-room test case will be supplied

      Show
      Clean-room test case will be supplied

      Description

      This is basically an attempt to reproduce logic behind picketlink-authentication-http-basic quickstart.

      2015-01-29 16:22:35,929 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-10) MSC000001: Failed to start service jboss.deployment.subunit."core-ear-1.0.0-SNAPSHOT.ear"."core-web.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."core-ear-1.0.0-SNAPSHOT.ear"."core-web.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "core-web.war" of deployment "core-ear-1.0.0-SNAPSHOT.ear"
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_31]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_31]
              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_31]
      Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class com.csc.sm.jbosspoc.rest.security.SecurityInitializer with ClassLoader ModuleClassLoader for Module "deployment.core-ear-1.0.0-SNAPSHOT.ear.core-web.war:main" from Service Module Loader
              at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
              at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
              at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
              at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
              at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
              ... 5 more
      Caused by: java.lang.NoClassDefFoundError: org/picketlink/idm/model/IdentityType
              at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.8.0_31]
              at java.lang.Class.privateGetDeclaredFields(Class.java:2575) [rt.jar:1.8.0_31]
              at java.lang.Class.getDeclaredFields(Class.java:1908) [rt.jar:1.8.0_31]
              at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
              at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
              ... 10 more
      Caused by: java.lang.ClassNotFoundException: org.picketlink.idm.model.IdentityType from [Module "deployment.core-ear-1.0.0-SNAPSHOT.ear.core-web.war:main" from Service Module Loader]
              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.3.Final]
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]
              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final]
              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final]
              ... 15 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pcraveiro Pedro Igor
                Reporter:
                arcivanov Arcadiy Ivanov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: