Note - If cookies are cleared after #1, theres #2 does not occur.

On Tue, Dec 21, 2010 at 7:33 PM, varun bhansaly <[email protected]> wrote:

> Hi,
>
> I have been testing multi tenant on ofbiz 10.04 release branch. I could
> setup the demo data using run-install-multitenant.
>
> Though I have a few questions & observation which I would like to share
> with the community -
> Question first,
> 1. Significance of datasource name localderbytenant ?
> 2. Whats the purpose of the configuration described here in
> https://cwiki.apache.org/OFBIZ/multitenancy-support.html#Multitenancysupport-Datasourcereferenceondelegator,
> as the tenant information would be stored in entity "TenantDataSource" ?
>
> Observation -
> 1. Tried login into webtools with tenant DEMO1, user bizadmin, rightly this
> user was not allowed to login indicated by the message "You cannot login to
> this application".
> 2. Next, tried login into webtools tenant DEMO2, user admin. Login was
> denied with message
> "Error calling event: org.ofbiz.webapp.event.EventHandlerException:
> Problems processing event: java.lang.NullPointerException (null)"
>
> With error messages in the log -
>
> 2010-12-21 18:05:03,008 (http-0.0.0.0-8443-4) [DelegatorFactoryImpl.java:30
> :INFO ] Creating new delegator [default#DEMO1#DEMO2] (http-0.0.0.0-8443-4)
> 2010-12-21 18:05:03,069 (http-0.0.0.0-8443-4) [DelegatorFactoryImpl.java:35
> :ERROR]
> ---- exception report
> ----------------------------------------------------------
> Error creating delegator
> Exception: org.ofbiz.entity.GenericEntityException
> Message: No Tenant record found for delegator [default#DEMO1#DEMO2] with
> tenantId [DEMO1#DEMO2]
>
> This seems session is not being cleared in case of #1.
>
> --
> Regards,
> Varun Bhansaly
>



-- 
Regards,
Varun Bhansaly

Reply via email to