0 Replies Latest reply on May 15, 2019 4:52 PM by gcrookie

    JBoss EAP 7.2 + picketlink 2.7.1.Final causes org.jboss.modules.ModuleLoadError

    gcrookie Newbie

      Hey,

       

      i use a just unpacked Version of JBoss 7.2. Added

       

       

            <extension module="org.wildfly.extension.picketlink"/>

       

      to standalone.xml

       

      Start out of the box works.

       

      Then i use Picketlink installer:

      Buildfile: /Users/xxx/name/apps/picketlink-installer-2.7.1.Final/build.xml
      
      prepare:
          [mkdir] Created dir: /Users/xxx/name/apps/picketlink-installer-2.7.1.Final/tmp
           [echo] 
           [echo]       ####################################################################################
           [echo]       Welcome to the PicketLink Installer
           [echo] 
           [echo]       This installer will update your JBoss Application Server installation with the
           [echo]       following libraries and their dependencies:
           [echo] 
           [echo]       - PicketLink Core 2.7.1.Final
           [echo]       - PicketLink Identity Management 2.7.1.Final
           [echo]       - PicketLink Federation 2.7.1.Final
           [echo] 
           [echo]       New modules will be added to your installation.
           [echo]       ####################################################################################
           [echo]     
          [input] Which JBoss Application Server are you using ? ([eap], wildfly)
      
          [input] Please enter the path to your JBoss Application Server installation: 
      /Users/xxx/name/apps/jboss-eap-7.1                                              
         [script] Warning: Nashorn engine is planned to be removed from a future JDK release
      
      re-install-check:
      
      backup-as7-files:
      
      eap.check.test:
      
      pre-install-picketlink:
           [echo] Updating PicketLink Modules ...
        [copydir] DEPRECATED - The copydir task is deprecated.  Use copy instead.
        [copydir] Copying 18 files to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink.bkp
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/standalone/configuration
        [copydir] DEPRECATED - The copydir task is deprecated.  Use copy instead.
        [copydir] Copying 10 files to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink/common/main
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink/config/main
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink/core/api/main
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink/core/main
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink/idm/api/main
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink/idm/main
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink/idm/schema/main
      
      install-picketlink-eap:
           [echo] Updating PicketLink Module for JBoss Enterprise Application Platform 6...
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink/federation/main
           [copy] Copying 1 file to /Users/xxx/name/apps/jboss-eap-7.1/modules/system/layers/base/org/picketlink/federation/bindings/main
      
      wildfly.check.test:
      
      install-picketlink-wildfly:
      
      install:
           [echo] 
           [echo]       ################################################################
           [echo]                       Thanks for using PicketLink.
           [echo]       ################################################################
           [echo]     
      
      BUILD SUCCESSFUL
      Total time: 10 seconds
      
      
      
      install:
           [echo] 
           [echo]       ################################################################
           [echo]                       Thanks for using PicketLink.
           [echo]       ################################################################
           [echo]     
      
      BUILD SUCCESSFUL
      Total time: 1
      
      BUILD SUCCESSFUL
      Total time: 10 seconds
      0 seconds
      
      

      If i Try to Start JBoss i'll get:

      22:39:07,864 INFO  [org.jboss.modules:1094] [] []  (main) JBoss Modules version 1.6.0.Final-redhat-1
      22:39:08,714 INFO  [org.jboss.msc:91] [] []  (main) JBoss MSC version 1.2.7.SP1-redhat-1
      22:39:08,901 INFO  [org.jboss.as:102] [] []  (MSC service thread 1-7) WFLYSRV0049: JBoss EAP 7.1.0.GA (WildFly Core 3.0.10.Final-redhat-1) startet
      22:39:10,620 WARN  [org.jboss.modules:454] [] []  (ServerService Thread Pool -- 13) Failed to define class org.picketlink.identity.federation.web.handlers.saml2.SAML2IssuerTrustHandler in Module "org.picketlink.federation" from local module loader @709ba3fb (finder: local module finder @3d36e4cd (roots: /Users/joerg.kethur/tim/apps/jboss-eap-7.1/modules,/Users/joerg.kethur/tim/apps/jboss-eap-7.1/modules/system/layers/base)): org.jboss.modules.ModuleLoadError: org.jboss.common-core
          at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:74)
          at org.jboss.modules.Module.getPathsUnchecked(Module.java:1559)
          at org.jboss.modules.Module.loadModuleClass(Module.java:708)
          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
          at java.lang.ClassLoader.defineClass1(Native Method)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
          at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:358)
          at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437)
          at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
          at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)
          at org.jboss.modules.Module.loadModuleClass(Module.java:713)
          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
          at org.wildfly.extension.picketlink.federation.model.handlers.HandlerTypeEnum.(HandlerTypeEnum.java:47)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at java.lang.Class.getEnumConstantsShared(Class.java:3320)
          at java.lang.System$2.getEnumConstantsShared(System.java:1249)
          at java.util.EnumSet.getUniverse(EnumSet.java:407)
          at java.util.EnumSet.noneOf(EnumSet.java:110)
          at java.util.EnumSet.allOf(EnumSet.java:131)
          at org.jboss.as.controller.operations.validation.EnumValidator.(EnumValidator.java:107)
          at org.wildfly.extension.picketlink.federation.model.handlers.HandlerResourceDefinition.(HandlerResourceDefinition.java:50)
          at org.wildfly.extension.picketlink.federation.model.idp.IdentityProviderResourceDefinition.registerChildren(IdentityProviderResourceDefinition.java:101)
          at org.jboss.as.controller.registry.NodeSubregistry.registerChild(NodeSubregistry.java:111)
          at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:231)
          at org.wildfly.extension.picketlink.common.model.AbstractResourceDefinition.addChildResourceDefinition(AbstractResourceDefinition.java:157)
          at org.wildfly.extension.picketlink.federation.model.FederationResourceDefinition.registerChildren(FederationResourceDefinition.java:63)
          at org.jboss.as.controller.registry.NodeSubregistry.registerChild(NodeSubregistry.java:111)
          at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:231)
          at org.wildfly.extension.picketlink.federation.FederationSubsystemRootResourceDefinition.registerChildren(FederationSubsystemRootResourceDefinition.java:51)
          at org.jboss.as.controller.registry.NodeSubregistry.registerChild(NodeSubregistry.java:111)
          at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:231)
          at org.jboss.as.controller.extension.ExtensionRegistry$SubsystemRegistrationImpl.registerSubsystemModel(ExtensionRegistry.java:706)
          at org.wildfly.extension.picketlink.federation.FederationExtension.initialize(FederationExtension.java:68)
          at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131)
          at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:104)
          at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144)
          at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:748)
          at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      
      22:39:10,696 ERROR [org.jboss.as.controller.management-operation:1015] [] []  (Controller Boot Thread) WFLYCTL0013: Operation ("parallel-extension-add") fehlgeschlagen - Adresse: ([]): java.lang.RuntimeException: WFLYCTL0079: Initialisierung des Moduls org.wildfly.extension.picketlink fehlgeschlagen 
          at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:115)
          at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:982)
          at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726)
          at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450)
          at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402)
          at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:490)
          at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:468)
          at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:430)
          at org.jboss.as.server.ServerService.boot(ServerService.java:437)
          at org.jboss.as.server.ServerService.boot(ServerService.java:396)
          at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:370)
          at java.lang.Thread.run(Thread.java:748)
      Caused by: java.util.concurrent.ExecutionException: org.jboss.modules.ModuleLoadError: org.jboss.common-core
          at java.util.concurrent.FutureTask.report(FutureTask.java:122)
          at java.util.concurrent.FutureTask.get(FutureTask.java:192)
          at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:107)
          ... 11 more
      Caused by: org.jboss.modules.ModuleLoadError: org.jboss.common-core
          at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:74)
          at org.jboss.modules.Module.getPathsUnchecked(Module.java:1559)
          at org.jboss.modules.Module.loadModuleClass(Module.java:708)
          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
          at java.lang.ClassLoader.defineClass1(Native Method)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
          at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:358)
          at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437)
          at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
          at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)
          at org.jboss.modules.Module.loadModuleClass(Module.java:713)
          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
          at org.wildfly.extension.picketlink.federation.model.handlers.HandlerTypeEnum.(HandlerTypeEnum.java:47)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at java.lang.Class.getEnumConstantsShared(Class.java:3320)
          at java.lang.System$2.getEnumConstantsShared(System.java:1249)
          at java.util.EnumSet.getUniverse(EnumSet.java:407)
          at java.util.EnumSet.noneOf(EnumSet.java:110)
          at java.util.EnumSet.allOf(EnumSet.java:131)
          at org.jboss.as.controller.operations.validation.EnumValidator.(EnumValidator.java:107)
          at org.wildfly.extension.picketlink.federation.model.handlers.HandlerResourceDefinition.(HandlerResourceDefinition.java:50)
          at org.wildfly.extension.picketlink.federation.model.idp.IdentityProviderResourceDefinition.registerChildren(IdentityProviderResourceDefinition.java:101)
          at org.jboss.as.controller.registry.NodeSubregistry.registerChild(NodeSubregistry.java:111)
          at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:231)
          at org.wildfly.extension.picketlink.common.model.AbstractResourceDefinition.addChildResourceDefinition(AbstractResourceDefinition.java:157)
          at org.wildfly.extension.picketlink.federation.model.FederationResourceDefinition.registerChildren(FederationResourceDefinition.java:63)
          at org.jboss.as.controller.registry.NodeSubregistry.registerChild(NodeSubregistry.java:111)
          at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:231)
          at org.wildfly.extension.picketlink.federation.FederationSubsystemRootResourceDefinition.registerChildren(FederationSubsystemRootResourceDefinition.java:51)
          at org.jboss.as.controller.registry.NodeSubregistry.registerChild(NodeSubregistry.java:111)
          at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:231)
          at org.jboss.as.controller.extension.ExtensionRegistry$SubsystemRegistrationImpl.registerSubsystemModel(ExtensionRegistry.java:706)
          at org.wildfly.extension.picketlink.federation.FederationExtension.initialize(FederationExtension.java:68)
          at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131)
          at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:104)
          at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144)
          at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:748)
          at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      
      22:39:10,710 FATAL [org.jboss.as.server:421] [] []  (Controller Boot Thread) WFLYSRV0056: Hochfahren des Servers fehlgeschlagen aufgrund nicht behebarer Fehler; Abbuch! Siehe vorangegangene Meldungen für Details.
      22:39:10,724 INFO  [org.jboss.as:206] [] []  (MSC service thread 1-8) WFLYSRV0050: JBoss EAP 7.1.0.GA (WildFly Core 3.0.10.Final-redhat-1) in 5ms gestoppt
      
      

       

       

      Please help me out...

       

      Running on Mac OS vith OpenJDK 1.8.0_131