For stand-alone web module files, the application context root can be specified in the JBoss deployment descriptor, jboss-web.xml. This rule detects the presence of the <context-root> element in the jboss-web.xml file. The automated fix will apply that setting to the appropriate WebSphere traditional or Liberty extension file.
In the case of Enterprise Application Archives, the context root information in the application.xml deployment descriptor for the EAR file takes precedence over the context root in the deployment descriptor for the web module. The automated fix will copy the context root information even if the value is not used because of the presence of an application.xml file.