Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-29899

[GSS](7.4.z) Application deployment with container-interceptors fails with 'IllegalArgumentException: WFLYEE0079: Can't add ..., priority 0x249 is already taken by ...'

XMLWordPrintable

    • False
    • None
    • False
    • +
    • Hide

      The [^WFLY-20557-reproducer.zip] contains a README.txt with the steps needed to reproduce the issue.

      Show
      The [^WFLY-20557-reproducer.zip] contains a README.txt with the steps needed to reproduce the issue.

      In case an application is providing it's own set of container-interceptors configured in jboss-ejb3.xml, while at the same time the server is configured with container-interceptors in the ejb3 subsystem, the deployment of the application is failing.

      09:49:10,534 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."application.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."application.war".INSTALL: 
      WFLYSRV0153: Failed to process phase INSTALL of deployment "application.war"                                                                                                                                                                                  
              at org.jboss.as.server@27.0.1.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
              at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1617)
              at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1580)
              at org.jboss.msc@1.5.5.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
              at java.base/java.lang.Thread.run(Thread.java:1583)
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0024: Could not configure component HelloBean
              at org.jboss.as.ee@35.0.1.Final//org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:79)
              at org.jboss.as.server@27.0.1.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
              ... 8 more
      Caused by: java.lang.IllegalArgumentException: WFLYEE0079: Can't add org.jboss.as.ee.component.interceptors.UserInterceptorFactory@781eaf19, priority 0x249 is already taken by org.jboss.as.ee.component.interceptors.UserInterceptorFactory@4a1808c
              at org.jboss.as.ee@35.0.1.Final//org.jboss.as.ee.component.interceptors.OrderedItemContainer.add(OrderedItemContainer.java:42)
              at org.jboss.as.ee@35.0.1.Final//org.jboss.as.ee.component.ViewConfiguration.addViewInterceptor(ViewConfiguration.java:119)
              at org.jboss.as.ejb3@35.0.1.Final//org.jboss.as.ejb3.component.ServerInterceptorsViewConfigurator.configure(ServerInterceptorsViewConfigurator.java:61)
              at org.jboss.as.ee@35.0.1.Final//org.jboss.as.ee.component.DefaultComponentViewConfigurator.configure(DefaultComponentViewConfigurator.java:92)
              at org.jboss.as.ee@35.0.1.Final//org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:65)
              ... 9 more
      
      09:49:10,537 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "application.war")]) - failure description: {
          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"application.war\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"application.war\"
          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0024: Could not configure component HelloBean
          Caused by: java.lang.IllegalArgumentException: WFLYEE0079: Can't add org.jboss.as.ee.component.interceptors.UserInterceptorFactory@781eaf19, priority 0x249 is already taken by org.jboss.as.ee.component.interceptors.UserInterceptorFactory@4a1808c"},
          "WFLYCTL0412: Required services that are not installed:" => [
              "jboss.deployment.unit.\"application.war\".beanmanager",
              "jboss.deployment.unit.\"application.war\".WeldStartService"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "service jboss.deployment.unit.\"application.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"application.war\".WeldStartService, jboss.deployment.unit.\"application.war\".beanmanager]",
              "service jboss.deployment.unit.\"application.war\".batch.artifact.factory is missing [jboss.deployment.unit.\"application.war\".beanmanager]"
          ]
      }
      

              lvydra Lukas Vydra
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: