Users - How to load local DTD in eclipse

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - How to load local DTD in eclipse

Ashish Vijaywargiya-2
I m getting following message on eclipse console :

org.ofbiz.base.util.GeneralException: Local DTD not found - site-conf.dtd
    at org.ofbiz.base.util.UtilXml$LocalResolver.resolveEntity(UtilXml.java:562)
    at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:239)
    at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:178)
    at org.ofbiz.webapp.control.ConfigXMLReader.loadDocument(ConfigXMLReader.java:151)
    at org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.<init>(ConfigXMLReader.java:84)
    at org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:63)
    at org.ofbiz.webapp.control.ConfigXMLReader.getConfigMap(ConfigXMLReader.java:417)
    at org.ofbiz.webapp.control.RequestManager.<init>(RequestManager.java:63)
    at org.ofbiz.webapp.control.RequestHandler.init(RequestHandler.java:94)
    at org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:80)
    at org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:269)
    at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:80)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:789)
    at org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:225)
    at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89)
    at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
    at org.ofbiz.base.start.Start.startServer(Start.java:323)
    at org.ofbiz.base.start.Start.start(Start.java:327)
    at org.ofbiz.base.start.Start.main(Start.java:413)
38397 (main) [            UtilXml.java:242:DEBUG] XML Read 1.252s: jndi:/0.0.0.0/salesrep/WEB-INF/controller.xml
38412 (main) [    ConfigXMLReader.java:552:INFO ] ConfigMap Created: (4) records in 0.0090s
38414 (main) [    ConfigXMLReader.java:622:INFO ] HandlerMap Created: (2) records in 0.0s
38436 (main) [    ConfigXMLReader.java:302:INFO ] RequestMap Created: (62) records in 0.019s
38439 (main) [    ConfigXMLReader.java:411:INFO ] ViewMap Created: (27) records in 0.0020s
38528 (main) [            UtilXml.java:573:WARN ]
org.ofbiz.base.util.GeneralException: Local DTD not found - regions.dtd
    at org.ofbiz.base.util.UtilXml$LocalResolver.resolveEntity(UtilXml.java:562)
    at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:239)
    at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:178)
    at org.ofbiz.webapp.region.RegionManager.readRegionXml(RegionManager.java:95)
    at org.ofbiz.webapp.region.RegionManager.<init>(RegionManager.java:62)
    at org.ofbiz.webapp.view.RegionViewHandler.init(RegionViewHandler.java:70)
    at org.ofbiz.webapp.view.ViewFactory.loadViewHandler(ViewFactory.java:133)
    at org.ofbiz.webapp.view.ViewFactory.preLoadAll(ViewFactory.java:76)
    at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
    at org.ofbiz.webapp.control.RequestHandler.init(RequestHandler.java:95)
    at org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:80)
    at org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:269)
    at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:80)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:789)
    at org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:225)
    at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89)
    at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
    at org.ofbiz.base.start.Start.startServer(Start.java:323)
    at org.ofbiz.base.start.Start.start(Start.java:327)
    at org.ofbiz.base.start.Start.main(Start.java:413)


Regards
Ashish


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.
Great rates starting at 1¢/min.
 
_______________________________________________
Users mailing list
Users@...
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - How to load local DTD in eclipse

David E. Jones

Which version of OFBiz are you using? Now everything is XSD based...

-David


Ashish Vijaywargiya wrote:

> I m getting following message on eclipse console :
>
> org.ofbiz.base.util.GeneralException: Local DTD not found - site-conf.dtd
>     at
> org.ofbiz.base.util.UtilXml$LocalResolver.resolveEntity(UtilXml.java:562)
>     at
> org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
>     at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
>     at
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
> Source)
>     at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>     at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>     at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:239)
>     at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:178)
>     at
> org.ofbiz.webapp.control.ConfigXMLReader.loadDocument(ConfigXMLReader.java:151)
>     at
> org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.<init>(ConfigXMLReader.java:84)
>     at
> org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:63)
>     at
> org.ofbiz.webapp.control.ConfigXMLReader.getConfigMap(ConfigXMLReader.java:417)
>     at
> org.ofbiz.webapp.control.RequestManager.<init>(RequestManager.java:63)
>     at org.ofbiz.webapp.control.RequestHandler.init(RequestHandler.java:94)
>     at
> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:80)
>     at
> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:269)
>     at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:80)
>     at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
>     at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
>     at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
>     at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>     at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>     at org.apache.catalina.startup.Embedded.start(Embedded.java:789)
>     at
> org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:225)
>     at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89)
>     at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>     at org.ofbiz.base.start.Start.startServer(Start.java:323)
>     at org.ofbiz.base.start.Start.start(Start.java:327)
>     at org.ofbiz.base.start.Start.main(Start.java:413)
> 38397 (main) [            UtilXml.java:242:DEBUG] XML Read 1.252s:
> jndi:/0.0.0.0/salesrep/WEB-INF/controller.xml
> 38412 (main) [    ConfigXMLReader.java:552:INFO ] ConfigMap Created: (4)
> records in 0.0090s
> 38414 (main) [    ConfigXMLReader.java:622:INFO ] HandlerMap Created:
> (2) records in 0.0s
> 38436 (main) [    ConfigXMLReader.java:302:INFO ] RequestMap Created:
> (62) records in 0.019s
> 38439 (main) [    ConfigXMLReader.java:411:INFO ] ViewMap Created: (27)
> records in 0.0020s
> 38528 (main) [            UtilXml.java:573:WARN ]
> org.ofbiz.base.util.GeneralException: Local DTD not found - regions.dtd
>     at
> org.ofbiz.base.util.UtilXml$LocalResolver.resolveEntity(UtilXml.java:562)
>     at
> org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
>     at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
>     at
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
> Source)
>     at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>     at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>     at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:239)
>     at org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:178)
>     at
> org.ofbiz.webapp.region.RegionManager.readRegionXml(RegionManager.java:95)
>     at org.ofbiz.webapp.region.RegionManager.<init>(RegionManager.java:62)
>     at
> org.ofbiz.webapp.view.RegionViewHandler.init(RegionViewHandler.java:70)
>     at
> org.ofbiz.webapp.view.ViewFactory.loadViewHandler(ViewFactory.java:133)
>     at org.ofbiz.webapp.view.ViewFactory.preLoadAll(ViewFactory.java:76)
>     at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
>     at org.ofbiz.webapp.control.RequestHandler.init(RequestHandler.java:95)
>     at
> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:80)
>     at
> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:269)
>     at org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:80)
>     at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
>     at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
>     at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
>     at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>     at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>     at org.apache.catalina.startup.Embedded.start(Embedded.java:789)
>     at
> org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:225)
>     at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89)
>     at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>     at org.ofbiz.base.start.Start.startServer(Start.java:323)
>     at org.ofbiz.base.start.Start.start(Start.java:327)
>     at org.ofbiz.base.start.Start.main(Start.java:413)
>
>
> Regards
> Ashish
>
> ------------------------------------------------------------------------
> How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call
> rates.
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
>
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
>
> ------------------------------------------------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
> Great rates starting at 1¢/min.
> <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
>
>
>  <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - How to load local DTD in eclipse

Ashish Vijaywargiya-2
Hi David,

I m using latest version of ofbiz.
Actually i was looking the funtionality provided in specialized/wholesale module and the local DTD problem was occuring from there.
I think in that module(wholesale) there is usage of site-conf.dtd & regions.dtd DTD files.

Anyway thanks for your concern.

Regards
Ashish