user3260950 user3260950 - 2 years ago 150
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?

Answer Source

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"?>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download