Christian Carlow created OFBIZ-5486:
---------------------------------------
Summary: ModelInduceFromDb.jsp entitymodel.xml output saved to hot-deploy component causes start to fail
Key: OFBIZ-5486
URL:
https://issues.apache.org/jira/browse/OFBIZ-5486 Project: OFBiz
Issue Type: Improvement
Affects Versions: SVN trunk
Reporter: Christian Carlow
I get this error when I paste the results of ModelInduceFromDb.jsp entitymodel.xml output to the corresponding hot-deploy component:
<code>
2014-01-14 10:58:24,066 (main) [DelegatorFactoryImpl.java:30 :INFO ] Creating new delegator [default] (main)
2014-01-14 10:58:25,728 (main) [ UtilXml.java:1047:WARN ] [UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with publicId [-//OFBiz//DTD Entity Model//EN] and the file/resource is [entitymodel.dtd]
2014-01-14 10:58:25,934 (main) [DelegatorFactoryImpl.java:35 :ERROR]
---- exception report ----------------------------------------------------------
Error creating delegator
Exception: org.ofbiz.entity.GenericEntityConfException
Message: Error getting document from resource handler (Error reading ComponentResourceHandler from XML file [legacydb] with loaderName [main] and location [entitydef/entitymodel.xml] (
http://ofbiz.apache.org/dtds/entitymodel.dtd))
---- cause ---------------------------------------------------------------------
Exception: org.ofbiz.base.config.GenericConfigException
Message: Error reading ComponentResourceHandler from XML file [legacydb] with loaderName [main] and location [entitydef/entitymodel.xml] (
http://ofbiz.apache.org/dtds/entitymodel.dtd)
---- cause ---------------------------------------------------------------------
Exception: java.io.FileNotFoundException
Message:
http://ofbiz.apache.org/dtds/entitymodel.dtd</code>
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)