Hi
i createsd a new module Named enquiry.when i start this module console give the exception likes 2011-11-14 19:35:20,983 (main) [ GenericDispatcher.java:67 :INFO ] Creating new dispatcher [enquiry] (main) 2011-11-14 19:35:20,991 (main) [ ControlServlet.java:77 :INFO ] LOADING WEBAPP [enquiry] Open For Business - Enquiry Details, located at /home/pks/Desktop/Dhiraj Docs/workspace2/apache-ofbiz-10.04/applications/enquiry/webapp/enquiry/ 2011-11-14 19:35:21,063 (main) [ ConfigXMLReader.java:513:ERROR] ---- exception report ---------------------------------------------------------- Exception: org.xml.sax.SAXParseException Message: The processing instruction target matching "[xX][mM][lL]" is not allowed. ---- stack trace --------------------------------------------------------------- org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed. org.apache.xerces.parsers.DOMParser.parse(Unknown Source) org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124) org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:468) org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:396) org.ofbiz.webapp.control.ConfigXMLReader.loadDocument(ConfigXMLReader.java:507) org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.<init>(ConfigXMLReader.java:107) org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:74) org.ofbiz.webapp.control.RequestHandler.init(RequestHandler.java:90) org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:74) org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:343) org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:82) org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187) org.apache.catalina.core.StandardContext.start(StandardContext.java:4496) org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) org.apache.catalina.core.StandardHost.start(StandardHost.java:785) org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) org.apache.catalina.startup.Embedded.start(Embedded.java:825) org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:227) 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)
Dhiraj Gupta
|
Hi Dhiraj,
The xml in your controller is malformed. From the message I think it's having a problem with the xml declaration at the top. Double check that. There should be no characters, not even a space, before the opening <?xml ... Processing instructions in XML documents have <? ... ?> delimiters and often there's usually only one, the <?xml at the beginning. So if an error message complains about a processing instruction, you can focus on the <? ... ?> stuff and ignore the rest of the XML document. Cheers Paul Foxworthy
--
Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
Free forum by Nabble | Edit this page |