Applied fix from trunk for revision: 1850953
=== Fixed: Failed registration for virtual hosts with similar mount points (OFBIZ-10765) The name is now registered with the webbapp name prior to the context. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1850955 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+2
-1
@@ -502,12 +502,13 @@ public class CatalinaContainer implements Container {
|
||||
|
||||
context.setParent(host);
|
||||
context.setDocBase(location);
|
||||
context.setName(appInfo.name);
|
||||
context.setDisplayName(appInfo.name);
|
||||
context.setPath(getWebappMountPoint(appInfo));
|
||||
context.addLifecycleListener(new ContextConfig());
|
||||
context.setJ2EEApplication("OFBiz");
|
||||
context.setJ2EEServer("OFBiz Container");
|
||||
context.setLoader(new WebappLoader(Thread.currentThread().getContextClassLoader()));
|
||||
context.setDisplayName(appInfo.name);
|
||||
context.setDocBase(location);
|
||||
context.setReloadable(ContainerConfig.getPropertyValue(configuration, "apps-context-reloadable", false));
|
||||
context.setDistributable(contextIsDistributable);
|
||||
|
||||
Reference in New Issue
Block a user