-
Bug
-
Resolution: Done
-
Blocker
-
8.0.0.Beta-CR1
Scenario: we use the new SAML feature pack (see EAP7-1999) to build and run an application on OpenShift using s2i;
When not using the ejb-lite layer everything works fine;
When we add the ejb-lite layer, the build process is OK but the server starts with the following error:
[0m[0m16:05:43,973 INFO [org.jboss.weld.Version] (MSC service thread 1-3) WELD-000900: 5.1.1 (redhat) [0m[31m16:05:44,449 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."simple-webapp-example.war".undertow-deployment.UndertowDeploymentInfoService: org.jboss.msc.service.StartException in service jboss.deployment.unit."simple-webapp-example.war".undertow-deployment.UndertowDeploymentInfoService: Failed to start service at org.jboss.msc@1.5.1.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1609) at org.jboss.msc@1.5.1.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.IllegalStateException: ELY01148: A SecurityDomain has already been associated with the specified ClassLoader at org.wildfly.security.elytron-base@2.2.2.Final-redhat-00001//org.wildfly.security.auth.server.SecurityDomain.registerWithClassLoader(SecurityDomain.java:152) at org.wildfly.security.elytron-web.undertow-server-servlet@4.0.0.Final-redhat-00001//org.wildfly.elytron.web.undertow.server.servlet.AuthenticationManager.configure(AuthenticationManager.java:93) at org.wildfly.extension.undertow@8.0.0.GA-redhat-00009//org.wildfly.extension.undertow.ApplicationSecurityDomainDefinition$ApplicationSecurityDomainService.apply(ApplicationSecurityDomainDefinition.java:499) at org.wildfly.extension.undertow@8.0.0.GA-redhat-00009//org.wildfly.extension.undertow.ApplicationSecurityDomainDefinition$ApplicationSecurityDomainService.apply(ApplicationSecurityDomainDefinition.java:430) at org.wildfly.extension.undertow@8.0.0.GA-redhat-00009//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.applyElytronSecurity(UndertowDeploymentInfoService.java:1153) at org.wildfly.extension.undertow@8.0.0.GA-redhat-00009//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:900) at org.wildfly.extension.undertow@8.0.0.GA-redhat-00009//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:287) at org.jboss.msc@1.5.1.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1617) at org.jboss.msc@1.5.1.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1580) ... 6 more
Server config in standalone.xml.txt , complete server log in saml-app-7fd4c4945-js67v-saml-app.log