[ 
https://issues.apache.org/jira/browse/OFBIZ-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853058#action_12853058
 ] 

David E. Jones commented on OFBIZ-3582:
---------------------------------------

Seriously, what's the big deal? If you load the demo data this record will be 
there. If you don't load the demo data (for example you just load the seed 
data) then it won't be there. How you want to use it is totally up to you, ie 
if you want to use the demo data or if you want to setup your own Tenant 
records.

Is this really that tough?

You guys have experience with OFBiz and should know the difference between seed 
and demo data, and that demo Tenant records should only go in the demo data. 
Isn't that what you would expect?

Or, am I totally off base and you are expecting something totally different?

I've already sent some basic information about the tenant stuff, and I'm not 
going to be goaded or pressured or attacked into doing more. Sorry.

> unable to intialize tenant Database
> -----------------------------------
>
>                 Key: OFBIZ-3582
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3582
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Candidate Branch 10.04, SVN trunk
>         Environment:  SINCE version 927271 using the Tenant login. 
>            Reporter: BJ Freeman
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>
> use the line
> java -Xmx512m -XX:MaxPermSize=128m -jar ofbiz.jar -install 
> -delegator=default#DEMO1
> when the Delegator is created it looks for a Tenant record with then new 
> delegator for DEMO1, but it has not been loaded yet so get a error.
> log of error.
> 2010-03-28 15:25:31,406 (main) [      EntityEcaUtil.java:128:INFO ] Loaded 
> [1] E
> ntity ECA definitions from 
> C:/projects/java/ofbizf_new/applications/commonext/en
> titydef/eecas.xml in loader main
> 2010-03-28 15:25:31,437 (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 
> [DEM
> O1]
> ---- stack trace 
> ---------------------------------------------------------------
> org.ofbiz.entity.GenericEntityException: No Tenant record found for delegator 
> [d
> efault#DEMO1] with tenantId [DEMO1]
> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:230)
> 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.j
> ava: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
> 2010-03-28 15:25:31,437 (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.j
> ava: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)
> --------------------------------------------------------------------------------
>         at java.util.concurrent.ConcurrentHashMap.putIfAbsent(Unknown Source)
>         at 
> org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:
> 52)
>         at 
> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoad
> Container.java:230)
>         at 
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1
> 00)
>         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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to