Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-19526

CXF JBoss EAP Integration Missing Module Dependency for Module org.wildfly.security.elytron

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • fuse-7.10-GA
    • CXF, Fuse EAP
    • None
    • False
    • None
    • False
    • % %
    • Todo
    • Hide

      1. Extract JBoss EAP 7.4 and apply patch CR 7.4.5
      2. Install the Fuse distribution
      3. Start JBoss with:

      ./standalone.sh -b 0.0.0.0 -c standalone.xml -secmgr

      Show
      1. Extract JBoss EAP 7.4 and apply patch CR 7.4.5 2. Install the Fuse distribution 3. Start JBoss with: ./standalone.sh -b 0.0.0.0 -c standalone.xml -secmgr

    Description

      It appears that the CXF integration for Fuse on JBoss EAP is missing a module dependency for:

      <module name="org.wildfly.security.elytron" />
      

      with the result that when JBoss is started with the -secmgr flag, CXF fails to start with the following exception:

      21:08:48,773 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.wildfly.camel.ContextCreateHandlerRegistry: org.jboss.msc.service.StartException in service jboss.wildfly.camel.ContextCreateHandlerRegistry: Failed to start service
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731)
              at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
              at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
              at java.lang.Thread.run(Thread.java:750)
      Caused by: java.lang.NoClassDefFoundError: org/wildfly/security/manager/action/GetContextClassLoaderAction
              at org.apache.cxf.transport.undertow.wildfly.subsystem.extension.SecurityActions.getContextClassLoader(SecurityActions.java:41)
              at org.apache.cxf.transport.undertow.wildfly.subsystem.extension.CxfDefaultBusHandler$CxfDefaultBusEndpointStrategy.<init>(CxfDefaultBusHandler.java:65)
              at org.apache.cxf.transport.undertow.wildfly.subsystem.extension.CxfDefaultBusHandler.<init>(CxfDefaultBusHandler.java:48)
              at org.apache.cxf.transport.undertow.wildfly.subsystem.extension.CxfSubsytemExtension.getContextCreateHandler(CxfSubsytemExtension.java:38)
              at org.wildfly.extension.camel.service.ContextCreateHandlerRegistryService$ContextCreateHandlerRegistryImpl$1.accept(ContextCreateHandlerRegistryService.java:93)
              at org.wildfly.extension.camel.service.ContextCreateHandlerRegistryService$ContextCreateHandlerRegistryImpl$1.accept(ContextCreateHandlerRegistryService.java:90)
              at java.util.ArrayList$Itr.forEachRemaining(ArrayList.java:901)
              at org.wildfly.extension.camel.parser.SubsystemState.processExtensions(SubsystemState.java:95)
              at org.wildfly.extension.camel.service.ContextCreateHandlerRegistryService$ContextCreateHandlerRegistryImpl.<init>(ContextCreateHandlerRegistryService.java:90)
              at org.wildfly.extension.camel.service.ContextCreateHandlerRegistryService.start(ContextCreateHandlerRegistryService.java:71)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
              ... 6 more
      Caused by: java.lang.ClassNotFoundException: org.wildfly.security.manager.action.GetContextClassLoaderAction from [Module "org.wildfly.extension.camel.cxf.undertow" from local module loader @610694f1 (finder: local module finder @43814d18 (roots: /path/to/jboss-eap-7.4/modules,/path/to/jboss-eap-7.4/modules/system/layers/fuse,/path/to/jboss-eap-7.4/modules/system/layers/base/.overlays/layer-base-jboss-eap-7.4.5.CP,/path/to/jboss-eap-7.4/modules/system/layers/base))]
              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
              ... 18 more
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-dhawkins Duane Hawkins
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: