Ok looked at it this morning an see the space between # and DEMO1 debugging
========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> BJ Freeman sent the following on 3/25/2010 8:41 PM: > probably operator error > did what you show here. > except used eclipse to access svn. > from patch > + <TenantUserLogin tenantId="DEMO1" userLoginId="admin" > fromDate="2001-05-13 00:00:00.000" thruDate="" isManager="Y"/> > > startofbiz.bat > https://localhost:8443/webtools/control/main > logged in > admin > ofbiz > DEMO1 O=letter O > on page > > > The Following Errors Occurred: > > following error occurred during login: User not found. > with > DEM01 0=zero > > on the page > The Following Errors Occurred: > > Error calling event: org.ofbiz.webapp.event.EventHandlerException: > Problems processing event: java.lang.NullPointerException (null) > > in the log(I cut it short so let me know if you want the whole thing) > > 2010-03-25 20:15:12,796 (http-0.0.0.0-8443-2) > [DelegatorFactoryImpl.java:30 :INFO ] Creating new delegator > [default#DEM01] (http-0.0.0.0-8443-2) > 2010-03-25 20:15:12,796 (http-0.0.0.0-8443-2) > [DelegatorFactoryImpl.java:35 :ERROR] > ---- exception report > ---------------------------------------------------------- > Error creating delegator > Exception: org.ofbiz.entity.GenericEntityException > Message: No Tenant record found for delegator [default#DEM01] with > tenantId [DEM01] > > > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation > <http://www.businessesnetwork.com/automation/viewforum.php?f=93> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > Linkedin > <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > > > David E Jones sent the following on 3/25/2010 9:44 AM: >> On Mar 25, 2010, at 9:55 AM, Erwan de FERRIERES wrote: >> >>> Le 24/03/2010 09:07, David E Jones a écrit : >>>> I'm working on getting the multitenant branch updated with all of the >>>> trunk changes, and I'd rather not have to do this too many times... :) >>>> >>>> After a fair amount of testing everything seems to be working fine with >>>> the multitenant changes (and the automated tests all pass now too). >>>> >>>> Is anyone opposed to getting the multitenant branch merged back into the >>>> trunk? >>>> >>>> -David >>>> >>>> >>> David, >>> >>> do we have a wiki page to explain how to use multi-tenant ? >> AFAIK the answer is no, we don't. >> >> There are comments in the tenant demo data file. The general process to set >> it up would look something like: >> >> =========================================== >> $ svn co https://svn.apache.org/repos/asf/ofbiz/trunk ofbiz >> $ 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 run >> =========================================== >> >> Note that the long java lines instead of something like "ant run-install" >> are used in order to be able to specify a delegatorName. >> >> -David >> >> > > >
