[
https://issues.apache.org/jira/browse/OFBIZ-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853011#action_12853011
]
BJ Freeman commented on OFBIZ-3582:
-----------------------------------
David:
this is an install.
if the record is missing it has todo with the install process.
that is all I am saying as far as your comment.
your statement
So, to reproduce just make sure there is no record in the database with the ID
"DEMO1" and then try to use the tenant.
infers doing something other than the automated install
which is why is is irrelevant to the process that caused it.
> 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.