[
https://issues.apache.org/jira/browse/OFBIZ-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853023#action_12853023
]
BJ Freeman commented on OFBIZ-3582:
-----------------------------------
I clean-all
I did the defualt install which I assume loads the DEMO1Id
I did the DEMO1 install and it could not find the ID
Now I agree with yoiu that if it is not in the table it won't be found.
so what happened in the Default install that the data did not get loaded.
Jacques says he can not repoduce it.
the log I included says I did.
so if we don't have the time or can't come up with a consnesus as to why it
happened and all can reporduce it,
instead of closing it is should be put in some long term status and we find out
why I can and Jacques can't.
> 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.