我想为每个奴隶租户构建一个具有不同商店和数据库的多租户应用程序。我按照这里的说明进行操作:https://wiki.hybris.com/display/release5/Multi-Tenant+Systems,但是当我尝试打开奴隶租户商店时 - ge.telco.local:9001 / getelcostorefront - ,我有这个例外:
鉴于当前租户是主人,但返回与servlet上下文相关的Web上下文(Root WebApplicationContext - / getelcostorefront:启动日期[Mon May 04 14:43:24 EEST 2015]; parent:hybris Application context - ge)附加到其他租户GE
tenant_ge.properties:
website.telco.http=ge.telco.local:9001 website.telco.https=ge.telco.local:9002
telcostorefront.webroot=/getelcostorefront storefrontContextRoot=/getelcostorefront
如何从奴隶租户上下文中调用telcostorefront?
谢谢!
答案 0 :(得分:0)
我相信多租户已经在Hybris第5版中被弃用。+。