-
Bug
-
Resolution: Done
-
Blocker
-
28.0.0.Beta1
-
None
Just adding this snippet into /undertow/servlet-container="default"
<welcome-files>
<welcome-file name="welcome.html"/>
</welcome-files>
(Or calling /subsystem=undertow/servlet-container=default/welcome-file=welcome.html:add())
so configuration will looks like this
<servlet-container name="default"> <jsp-config/> <websockets/> <welcome-files> <welcome-file name="welcome.html"/> </welcome-files> </servlet-container>
Makes server to fail on startup
./standalone.sh ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /home/mchoma/git-repo/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT JAVA: java JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED --add-exports=jdk.naming.dns/com.sun.jndi.dns=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED -Djava.security.manager=allow ========================================================================= 19:15:02,976 INFO [org.jboss.modules] (main) JBoss Modules version 2.1.0.Final 19:15:03,298 INFO [org.jboss.msc] (main) JBoss MSC version 1.5.0.Beta4 19:15:03,302 INFO [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final 19:15:03,363 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 28.0.0.Beta1-SNAPSHOT (WildFly Core 20.0.0.Beta5) starting 19:15:03,781 INFO [org.wildfly.security] (ServerService Thread Pool -- 23) ELY00001: WildFly Elytron version 2.0.0.Final 19:15:04,104 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 5) WFLYCTL0028: Attribute 'cluster' in the resource at address '/subsystem=ejb3/service=remote' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. 19:15:04,156 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 19:15:04,167 INFO [org.xnio] (MSC service thread 1-4) XNIO version 3.8.8.Final 19:15:04,173 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.8.8.Final 19:15:04,204 INFO [org.wildfly.extension.elytron.oidc._private] (ServerService Thread Pool -- 54) WFLYOIDC0001: Activating WildFly Elytron OIDC Subsystem 19:15:04,209 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 58) WFLYRS0016: RESTEasy version 6.2.2.Final 19:15:04,208 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 56) WFLYCLINF0001: Activating Infinispan subsystem. 19:15:04,211 INFO [org.wildfly.extension.health] (ServerService Thread Pool -- 55) WFLYHEALTH0001: Activating Base Health Subsystem 19:15:04,217 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 45) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 2.1) 19:15:04,220 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 63) WFLYJSF0007: Activated the following Jakarta Server Faces Implementations: [main] 19:15:04,221 INFO [org.wildfly.extension.microprofile.config.smallrye] (ServerService Thread Pool -- 66) WFLYCONF0001: Activating MicroProfile Config Subsystem 19:15:04,229 INFO [org.wildfly.extension.microprofile.jwt.smallrye] (ServerService Thread Pool -- 67) WFLYJWT0001: Activating MicroProfile JWT Subsystem 19:15:04,229 INFO [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 68) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem 19:15:04,234 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 69) WFLYNAM0001: Activating Naming Subsystem 19:15:04,239 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 57) WFLYIO001: Worker 'default' has auto-configured to 16 IO threads with 128 max task threads based on your 8 available processors 19:15:04,239 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 76) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique. 19:15:04,244 INFO [org.wildfly.extension.metrics] (ServerService Thread Pool -- 65) WFLYMETRICS0001: Activating Base Metrics Subsystem 19:15:04,249 INFO [org.jboss.as.connector] (MSC service thread 1-6) WFLYJCA0009: Starting Jakarta Connectors Subsystem (WildFly/IronJacamar 3.0.0.Final) 19:15:04,250 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0018: Started Driver service with driver-name = h2 19:15:04,256 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.27.Final 19:15:04,305 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 78) WFLYWS0002: Activating WebServices Extension 19:15:04,315 INFO [org.jboss.as.naming] (MSC service thread 1-5) WFLYNAM0003: Starting Naming Service 19:15:04,321 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default] 19:15:04,326 WARN [org.wildfly.extension.elytron] (MSC service thread 1-1) WFLYELY00023: KeyStore file '/home/mchoma/git-repo/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/standalone/configuration/application.keystore' does not exist. Used blank. 19:15:04,326 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0003: Undertow 2.3.0.Final starting 19:15:04,347 WARN [org.wildfly.extension.elytron] (MSC service thread 1-1) WFLYELY01084: KeyStore /home/mchoma/git-repo/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/standalone/configuration/application.keystore not found, it will be auto-generated on first use with a self-signed certificate for host localhost 19:15:04,395 INFO [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing. 19:15:04,396 INFO [org.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from the number of CPUs on this host. 19:15:04,423 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 77) WFLYCTL0013: Operation ("add") failed - address: ([ ("subsystem" => "undertow"), ("servlet-container" => "default") ]): java.lang.IllegalArgumentException at org.jboss.dmr@1.6.1.Final//org.jboss.dmr.ModelValue.asPropertyList(ModelValue.java:103) at org.jboss.dmr@1.6.1.Final//org.jboss.dmr.ModelNode.asPropertyList(ModelNode.java:529) at org.wildfly.extension.undertow@28.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.ServletContainerAdd.resolveWelcomeFiles(ServletContainerAdd.java:312) at org.wildfly.extension.undertow@28.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.ServletContainerAdd.installRuntimeServices(ServletContainerAdd.java:105) at org.wildfly.extension.undertow@28.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.ServletContainerAdd.performBoottime(ServletContainerAdd.java:65) at org.jboss.as.controller@20.0.0.Beta5//org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:119) at org.jboss.as.controller@20.0.0.Beta5//org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:164) at org.jboss.as.controller@20.0.0.Beta5//org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1045) at org.jboss.as.controller@20.0.0.Beta5//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:777) at org.jboss.as.controller@20.0.0.Beta5//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:466) at org.jboss.as.controller@20.0.0.Beta5//org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:384) 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:1348) at java.base/java.lang.Thread.run(Thread.java:833) at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513) 19:15:04,432 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0004: Undertow 2.3.0.Final stopping 19:15:04,530 INFO [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0493: Jakarta Enterprise Beans subsystem suspension complete 19:15:04,567 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 19:15:04,658 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "WFLYCTL0193: Failed executing subsystem undertow boot operations" 19:15:04,659 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("parallel-subsystem-boot") failed - address: ([]) - failure description: "\"WFLYCTL0193: Failed executing subsystem undertow boot operations\"" 19:15:04,661 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default] 19:15:04,663 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS] 19:15:04,669 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0019: Stopped Driver service with driver-name = h2 19:15:04,718 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. - Server configuration file in use: standalone.xml 19:15:04,727 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0050: WildFly Full 28.0.0.Beta1-SNAPSHOT (WildFly Core 20.0.0.Beta5) stopped in 4ms
I do not see this behaviour in WF 27, nor we did not see this in main one week ago.