I used the following code to set the Context Path to tomcat, where I can directly access my application using localhost:8080 , overriding the default tomcat path.
<Context path="" docBase="G:\bitbucket\projectpath\project\build\libs\project-1.0" workDir="G:\bitbucket\projectpath\project\build\libs\project-1.0\work" debug="0" reloadable="false" autoDeploy="true" unpackWARs="true" crossContext="true"/>
Now I will use wildfly-8.2.0 as a runtime. I tried to directly insert the .war file into G:\wildfly-8.2.0.Final\standalone\deployments , and I can access my project in a browser, for example localhost:8080/project-1.0 .
I need to configure the same configuration on wildfly as in tomcat in order to access my project in localhost:8080 , overriding the default welcome welcome page. I tried to do the same in wildfly, but I was stuck where to do it. There are many .xml files in the Wildfly folder (when comparing with a simple server.xml tomcat file), with which I am confused, where to start. I searched with "How to Set the Context Path to Wildfly", but did not succeed. Can someone help me on how to do this ..? If this is related to coding, then I can do a lot of searches and at least I can get some ideas, but I'm stuck here when setting up. Thanks at Advance.
deployment jboss wildfly-8
The coder
source share