You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Dale E. Moore" <Da...@gMail.Com> on 2012/08/24 04:28:17 UTC
ofBiz multi-tenant setup but can't login to tenant?
I've followed https://cwiki.apache.org/OFBIZ/multitenancy-support.html this
page to setup ofBiz multitenant and can log in to the default, but not to
tenant DEMO1, or DEMO2. I did the following:
svn co https://svn.apache.org/repos/asf/ofbiz/trunk ofbiz.12.04-tenants
cd ofbiz.12.04-tenants
./ant
java \-Xmx512m \-XX:MaxPermSize=128m \-jar ofbiz.jar \-install
\-readers=seed \-delegator=default
java \-Xmx512m \-XX:MaxPermSize=128m \-jar ofbiz.jar \-install
\-readers=seed \-delegator=default#DEMO1
java \-Xmx512m \-XX:MaxPermSize=128m \-jar ofbiz.jar \-install
\-readers=seed \-delegator=default#DEMO2
./ant load-demo-multitenant
Change the multitenant option to Y, below.
vi framework/common/config/general.properties
./ant start
When I log in with admin, ofbiz and blank TenantID I am allowed into ofBiz.
When I log in with admin, ofbiz and DEMO1 (or DEMO2) TenantID I get:
The Following Errors Occurred:
following error occurred during login: User not found.
I wonder if I missed some configuration steps to turn on the delegators for
Tenants DEMO1 and DEMO2.
DaleEMoore@gMail.Com
http://stackoverflow.com/questions/12097854/ofbiz-multi-tenant-setup-but-cant-login-to-tenant
Re
--
View this message in context: http://ofbiz.135035.n4.nabble.com/ofBiz-multi-tenant-setup-but-can-t-login-to-tenant-tp4635935.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: ofBiz multi-tenant setup but can't login to tenant?
Posted by "Dale E. Moore" <Da...@gMail.Com>.
Please pardon my previous post, it's working now.
I went to a different machine and followed this procedure:
svn co https://svn.apache.org/repos/asf/ofbiz/trunk ofbiz.12.04-tenants
cd ofbiz.12.04-tenants
./ant load-demo-multitenant
vi framework/common/config/general.properties
Change multitenant to Y
./ant start
http://localhost:8080/catalog
I am now able to login to admin, ofbiz, default; DEMO1 and DEMO2.
--
View this message in context: http://ofbiz.135035.n4.nabble.com/ofBiz-multi-tenant-setup-but-can-t-login-to-tenant-tp4635935p4635942.html
Sent from the OFBiz - User mailing list archive at Nabble.com.