Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5486

ModelInduceFromDb.jsp entitymodel.xml output saved to hot-deploy component causes start to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • Trunk
    • None
    • framework
    • None
    • Bug Crush Event - 21/2/2015

    Description

      I get this error when I paste the results of ModelInduceFromDb.jsp entitymodel.xml output to the corresponding hot-deploy component:

      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
      
      

      Attachments

        Issue Links

          Activity

            People

              doogie Adam Heath
              ofbizzer Christian Carlow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: