Undertow fails to deploy a web application in ha subsystem in JBoss EAP 7.
Issue
- In an attempt to deploy a test application to a JBoss instance (domain-mode, part of cluster, using custom profile that inherits the ha profile), the deployment fails with:
3/07/2017 14:04:11,180 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 80) WFLYSRV0021: Deploy of deployment "secure-test.war" was rolled back with the following failure message: undefined
- The undertow subsystem is modified as below :
<subsystem xmlns="urn:jboss:domain:undertow:3.1">
<buffer-cache name="default"/>
<server name="default-server">
<https-listener name="default" secure="true" enabled-protocols="TLSv1.2" security-realm="HTTPSRealm-server3" socket-binding="https"/>
<host name="default-host" alias="localhost, example.com">
<access-log prefix="default-host"/>
</host>
</server>
<servlet-container name="default">
<jsp-config display-source-fragment="false" x-powered-by="false"/>
</servlet-container>
<filters>
<response-header name="server-header" header-name="Server" header-value="SuperSecureServer"/>
<response-header name="x-powered-by-header" header-name="x-powered-by" header-value="SuperSecureServer"/>
</filters>
</subsystem>
The application deploys fine with the above configuration in the default profile and fails in ha profile.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.