That reply was harsh. I apologize.

-Adrian

--- On Fri, 4/16/10, Adrian Crum <[email protected]> wrote:

> From: Adrian Crum <[email protected]>
> Subject: Re: Multitenancy support
> To: [email protected]
> Date: Friday, April 16, 2010, 1:33 AM
> Why would I want to go through the
> nightmare of trying to run multiple copies of OFBiz (with
> the myriad of issues that come with it) when I can just
> create a second database for users to experiment with?
> 
> I have been selling, supporting, and modifying accounting
> applications for decades. They all have a practice company
> for new users to learn on. Only in OFBiz have I been told to
> run multiple copies of the *application* (not the data) to
> support that. Finally, after six years of using OFBiz, that
> capability is possible.
> 
> So, yeah - I'm not going to set up complicated Unix boxes
> running VMs to get a sandbox set up for my users. I'd rather
> have a separate database on a single instance of OFBiz.
> That's what I expect from an enterprise-class ERP product.
> 
> So, let's get the documentation set up so that it isn't so
> eCommerce-centric and it considers enterprises that aren't
> eCommerce-driven. That's all I'm suggesting. It's not that
> big of a deal. In other words, stop treating the ERP side of
> OFBiz as the red-headed stepchild.
> 
> -Adrian
> 
> 
> --- On Fri, 4/16/10, BJ Freeman <[email protected]>
> wrote:
> 
> > From: BJ Freeman <[email protected]>
> > Subject: Re: Multitenancy support
> > To: [email protected]
> > Date: Friday, April 16, 2010, 1:19 AM
> > yes it makes sense but for that why
> > not just run another instance.
> > yes tenant is good for that as well but it seems
> tenant was
> > more for SAS
> >  companies.
> > 
> > =========================
> > 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>
> > 
> > 
> > Adrian Crum sent the following on 4/16/2010 1:12 AM:
> > > I'm talking about something I mentioned a while
> ago -
> > the ability to have back office applications have a
> sandbox
> > company to try out ideas with.
> > > 
> > > Set aside eCommerce for a minute and imagine
> you're a
> > large enterprise using OFBiz for ERP only. How do you
> get
> > users to learn OFBiz? By having them use live data?
> Of
> > course not! You want to give them a sandbox to try
> things
> > out. So, they log into another data instance (a
> tenant) so
> > they can play around with data all they want without
> > affecting the live data. In other words, they have a
> > practice company to experiment with.
> > > 
> > > Does that make sense?
> > > 
> > > -Adrian
> > > 
> > > --- On Fri, 4/16/10, BJ Freeman <[email protected]>
> > wrote:
> > > 
> > >> From: BJ Freeman <[email protected]>
> > >> Subject: Re: Multitenancy support
> > >> To: [email protected]
> > >> Date: Friday, April 16, 2010, 12:09 AM
> > >>
> > >> I used productstore as an example where a
> company
> > that is
> > >> providing
> > >> eccommerce would need such a ability.
> > >> However you also have the Products to load,
> > Company name to
> > >> change, the
> > >> list goes on.
> > >>
> > >> could you expand on
> > >> "Then go from there to map data-instances to
> > product
> > >> stores."
> > >> are you talking about having to change the
> > >> component-load.xml and the
> > >> ext data for every time you want to load a
> tenant?
> > When
> > >> there might be
> > >> 10-100 a day that gets very laborious, as
> well as
> > error
> > >> prone. compared
> > >> to editing the component-load.xml once with
> > >> ext-delegatorID.
> > >>
> > >> I think it would be easier to change the code
> to
> > add the
> > >> delegatorid to
> > >> the ext filename so you just have to put in
> the
> > >> component-load.xml,
> > >> everytime.
> > >>
> > >> this lets you run the install from ant and a
> > script, as
> > >> well as not
> > >> having to change component-load.xml, but once
> for
> > all
> > >> 10-100
> > >>
> > >> =========================
> > >> 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>
> > >>
> > >>
> > >> Adrian Crum sent the following on 4/15/2010
> 11:10
> > PM:
> > >>> Maybe break things down into smaller
> pieces.
> > For
> > >> example, I would like to have two data
> instances
> > running
> > >> where I work - a sandbox instance and a
> live-data
> > instance
> > >> (for a manufacturing company with no
> eCommerce).
> > Those two
> > >> instances have nothing to do with a product
> > store.
> > >>> Then go from there to map data-instances
> to
> > product
> > >> stores.
> > >>> -Adrian
> > >>>
> > >>>
> > >>> --- On Thu, 4/15/10, BJ Freeman <[email protected]>
> > >> wrote:
> > >>>> From: BJ Freeman <[email protected]>
> > >>>> Subject: Re: Multitenancy support
> > >>>> To: [email protected]
> > >>>> Date: Thursday, April 15, 2010, 8:43
> PM
> > >>>> I am still going through the code
> > >>>> trying to figure out how ext for
> > >>>> different tenants can be loaded, that
> is
> > unique to
> > >> that
> > >>>> tenant.
> > >>>> one example is loading the
> productstore
> > with the
> > >> defaults
> > >>>> and the theme
> > >>>> that has been created for that
> tenant.
> > >>>> or how to configure the emails of a
> > productstore
> > >> for that
> > >>>> tenant.
> > >>>> so these get loaded in on that
> tenants
> > db.
> > >>>>
> > >>>> =========================
> > >>>> 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>
> > >>>>
> > >>>>
> > >>>> Adrian Crum sent the following on
> > 4/15/2010 6:00
> > >> AM:
> > >>>>> That would be very helpful!
> > >>>>>
> > >>>>> -Adrian
> > >>>>>
> > >>>>> --- On Thu, 4/15/10, Scott Gray
> <[email protected]>
> > >>>> wrote:
> > >>>>>> From: Scott Gray <[email protected]>
> > >>>>>> Subject: Re: Multitenancy
> support
> > >>>>>> To: [email protected]
> > >>>>>> Date: Thursday, April 15,
> 2010,
> > 3:06 AM
> > >>>>>> If we want non-demo
> instructions
> > then
> > >>>>>> we'd need to describe how to
> > create some
> > >> "ext"
> > >>>> data with the
> > >>>>>> tenant info and then change
> the
> > first
> > >> install
> > >>>> command to do
> > >>>>>> a readers=seed,ext.
> > >>>>>>
> > >>>>>> Regards
> > >>>>>> Scott
> > >>>>>>
> > >>>>>> On 15/04/2010, at 3:22 AM,
> Adrian
> > Crum
> > >> wrote:
> > >>>>>>> That Wiki page is a work
> in
> > progress -
> > >> so
> > >>>> there is
> > >>>>>> some information missing. It
> would
> > be best
> > >> if you
> > >>>> followed
> > >>>>>> the instructions for loading
> the
> > >> multi-tenancy
> > >>>> demo data,
> > >>>>>> look at how things are set
> up, and
> > then
> > >> create
> > >>>> your
> > >>>>>> multi-tenant seed data based
> on
> > the demo
> > >> data.
> > >>>>>>> The bottom line is, it
> isn't
> > working
> > >> because
> > >>>> you
> > >>>>>> haven't set up your tenants
> in the
> > seed
> > >> data.
> > >>>>>>> -Adrian
> > >>>>>>>
> > >>>>>>> Mickael BRIDE wrote:
> > >>>>>>>> Hello,
> > >>>>>>>> I followed the
> > documentation on
> > >> the page
> > >>>> https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support
> > >>>>>> to try to get multitenancy in
> my
> > ofbiz
> > >>>> installation.
> > >>>>>>>> But when running the
> > commant :
> > >>>>>>>> java -Xmx512m
> > -XX:MaxPermSize=128m
> > >> -jar
> > >>>> ofbiz.jar
> > >>>>>> -install
> > >>>>>>>> -readers=seed
> > >> -delegator=default#DEMO1
> > >>>>>>>> I have the error in
> the
> > end of
> > >> this mail.
> > >>>>>>>> The same command line
> run
> > fine
> > >> with
> > >>>> "default"
> > >>>>>> instead of "default#DEMO1".
> It
> > seems that
> > >> entries
> > >>>> in
> > >>>>>> TenantDemoData.xml are not
> > loaded....?
> > >>>>>>>> I am on the trunk
> latest
> > version
> > >> of ofbiz
> > >>>> (updated
> > >>>>>> 2 hours ago)
> > >>>>>>>> I am using the
> default
> > files and
> > >> conf.
> > >>>>>>>> Any idea of the
> problem?
> > >>>>>>>> Thanks in advance
> > >>>>>>>> Mickael
> > >>>>>>>> 2010-04-14
> 16:00:38,256
> > (main)
> > >>>>>>
> [DelegatorFactoryImpl.java:35
> > :ERROR]
> > >>>>>>>> ---- exception
> report
> > >>>>>>>>
> > >>
> >
> ----------------------------------------------------------
> > >>>>>>>> Error creating
> delegator
> > >>>>>>>> Exception:
> > >>>>>>
> > org.ofbiz.entity.GenericEntityException
> > >>>>>>>> Message: No Tenant
> record
> > found
> > >> for
> > >>>> delegator
> > >>>>>> [default#DEMO1] with
> > >>>>>>>> tenantId [DEMO1]
> > >>>>>>>> ---- stack trace
> > >>>>>>>>
> > >>
> >
> ---------------------------------------------------------------
> > >> org.ofbiz.entity.GenericEntityException:
> > >>>> No Tenant
> > >>>>>> record found for
> > >>>>>>>> delegator
> [default#DEMO1]
> > with
> > >> tenantId
> > >>>> [DEMO1]
> > >>>>
> > >>
> >
> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:233)
> > >>
> >
> org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33)
> > >>
> >
> org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25)
> > >>
> >
> org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202)
> > >>
> >
> org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47)
> > >>
> >
> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:230)
> > >>
> >
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> > >>
> >
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> > >>
> >
> org.ofbiz.base.start.Start.startServer(Start.java:322)
> > >>>>
> > org.ofbiz.base.start.Start.start(Start.java:326)
> > >>>>
> > org.ofbiz.base.start.Start.main(Start.java:411)
> > >>>>
> > >>
> >
> --------------------------------------------------------------------------------
> > >>>>>> 2010-04-14 16:00:38,259
> (main)
> > >>>>>>
> > >> [   DelegatorFactory.java:49
> > >>>> :ERROR]
> > >>>>>>>> ---- exception
> report
> > >>>>>>>>
> > >>
> >
> ----------------------------------------------------------
> > >>>>>>>> Exception:
> > >>>> java.lang.ClassNotFoundException
> > >>>>>>>> Message:
> java.lang.Class
> > >>>>>>>> ---- stack trace
> > >>>>>>>>
> > >>
> >
> ---------------------------------------------------------------
> > >>>>>>>>
> > java.lang.ClassNotFoundException:
> > >>>> java.lang.Class
> > >>>>
> > >>
> >
> org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:207)
> > >>
> >
> org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47)
> > >>
> >
> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:230)
> > >>
> >
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> > >>
> >
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> > >>
> >
> org.ofbiz.base.start.Start.startServer(Start.java:322)
> > >>>>
> > org.ofbiz.base.start.Start.start(Start.java:326)
> > >>>>
> > org.ofbiz.base.start.Start.main(Start.java:411)
> > >>>>
> > >>
> >
> --------------------------------------------------------------------------------
> > >>>>>> Exception in thread "main"
> > >>>> java.lang.NullPointerException
> > >>>>>>>>       
> > 
> > >>    at
> > >>
> >
> java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:895)
> > >>>>>>       
> >    at
> > >>>>>>
> > >>
> >
> org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:52)
> > >>>>>>>>       
> > 
> > >>    at
> > >>
> >
> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:230)
> > >>>>>>       
> >    at
> > >>>>>>
> > >>
> >
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> > >>>>>>>>       
> > 
> > >>    at
> > >>
> >
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> > >>>>>>>>       
> > 
> > >>    at
> > >>
> >
> org.ofbiz.base.start.Start.startServer(Start.java:322)
> > >>>>>>>>       
> > 
> > >>    at
> > >>
> org.ofbiz.base.start.Start.start(Start.java:326)
> > >>>>>>>>       
> > 
> > >>    at
> > >>
> org.ofbiz.base.start.Start.main(Start.java:411)
> > >>
> >
> .base.container.ContainerLoader.start(ContainerLoader.java:100)
> > >>>>>
> > >>>>>
> > >>>>
> > >>>
> > >>>
> > >>>
> > >>
> > >>
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> 
> 
> 
> 



Reply via email to