FEATURE: Add support for webapp in ofbiz-component.xml that

has a null location.  Such a webapp will show up in the backend menus,
but no catalina/jetty webapp will be automatically created.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139917 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2011-06-26 19:15:28 +00:00
parent 4db7c4ab2d
commit 217b45ece6
@@ -646,7 +646,9 @@ public class CatalinaContainer implements Container {
// nothing was removed from the new list of keys; this
// means there are no existing loaded entries that overlap
// with the new set
createContext(appInfo);
if (appInfo.location != null) {
createContext(appInfo);
}
loadedMounts.addAll(keys);
} else {
appInfo.appBarDisplay = false; // disable app bar display on overrided apps