user3260950 user3260950 - 1 month ago 5x
Java Question

Jboss deploying in root context

Yes, i know about

, but cant find this in files. Use wildfly final or jboss eap 6.2. Where it is?
And why i need to add jboss-web.xml in WEB-INF?


The file in question is standalone.xml and is located in the following directory:


You need to add enable-welcome-root=false in your virtual server definition in your standalone:

<virtual-server name="localhost" enable-welcome-root="false">

And create a jboss-web.xml file with the following:

<?xml version="1.0" encoding="UTF-8"?>