Reputation: 21
I am running wildfly using domain.sh and am unable to disable the Wildfly welcome content even after deploying a ROOT.war with joss-web.xml having context-root / context-root
Upvotes: 2
Views: 8189
Reputation: 419
I disabled welcome-root
and welcome-content
in wildfly for web application by removing the following sections in the ..\standalone\configuration\standalone.xml
file:
remove location
<location name="/" handler="welcome-content"/>
remove handler
<handlers>
<file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
</handlers>
Upvotes: 1
Reputation: 2415
In domain/configuration/domain.xml:
Remove <location name="/" handler="welcome-content"/>
Remove
<handlers>
<file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
</handlers>
Upvotes: 6