Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15978

EAR deployed connector can not use domain security

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 27.0.0.Alpha1, 27.0.0.Final
    • 25.0.0.Final, 25.0.1.Final, 26.0.0.Final, 26.0.1.Final
    • None

      When try to deploy a resource adapter enclosed within a EAR deployment, domain security can not be activated as Elytron security is not taken into account here.

      21:32:07,190 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.subunit."demoear.ear"."ra.rar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."demoear.ear"."ra.rar".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of subdeployment "ra.rar" of deployment "demoear.ear"
      	at org.jboss.as.server@18.0.4.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189)
      	at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
      	at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
      	at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
      	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:833)
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJCA0126: Connection definition for demoear.ear#ra.rar is configured to require the legacy security subsystem, which is not present
      	at org.jboss.as.connector@26.0.1.Final//org.jboss.as.connector.deployers.ra.processors.ParsedRaDeploymentProcessor.process(ParsedRaDeploymentProcessor.java:228)
      	at org.jboss.as.connector@26.0.1.Final//org.jboss.as.connector.deployers.ra.processors.ParsedRaDeploymentProcessor.deploy(ParsedRaDeploymentProcessor.java:126)
      	at org.jboss.as.server@18.0.4.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
      	... 8 more
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJCA0126: Connection definition for demoear.ear#ra.rar is configured to require the legacy security subsystem, which is not present
      	at org.jboss.as.connector@26.0.1.Final//org.jboss.as.connector.deployers.ra.processors.ParsedRaDeploymentProcessor.process(ParsedRaDeploymentProcessor.java:223)
      	... 10 more
      

              reinhapa Patrick Reinhart (Inactive)
              reinhapa Patrick Reinhart (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: