[ 
https://issues.apache.org/jira/browse/OFBIZ-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-5486:
-----------------------------------
    Description: 
I get this error when I paste the results of ModelInduceFromDb.jsp 
entitymodel.xml output to the corresponding hot-deploy component:


{noformat}
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

{noformat}


  was:
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>


> 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: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>            Assignee: Adam Heath
>            Priority: Major
>
> I get this error when I paste the results of ModelInduceFromDb.jsp 
> entitymodel.xml output to the corresponding hot-deploy component:
> {noformat}
> 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
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to