Re: Error in order PDF and no pdf attached to order emails.

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

Re: Error in order PDF and no pdf attached to order emails.

David E Jones-2

It looks like you have a bad XML file in there.

Has anyone else run into this? If not, you may have a local change or  
a file transfer problem messing up the file (do an svn status or diff  
if you can to see the changes).

-David


On Oct 18, 2006, at 11:02 PM, rohit2006 wrote:

>
> Hi,
>
> i am using SVN 463891 and i am gettting an error in order PDF and  
> no order
> PDF is attached to order confirmation emails too. This was working  
> fine in
> the SVN two weeks prior to the one mentioned above. The log is  
> attached
> below:
>
> 2006-10-19 00:40:24,004 (http-0.0.0.0-7443-Processor1) [
> RequestHandler.java:537:INFO ] servletName=control, view=OrderPDF
> 2006-10-19 00:40:24,080 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished-
> total:0.0030,since last(Begin):0.0030]] - 'order /
> getInventoryAvailableByFacility'
> 2006-10-19 00:40:24,083 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished-
> total:0.0020,since last(Begin):0.0020]] - 'order /
> getInventoryAvailableByFacility'
> 2006-10-19 00:40:24,086 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished-
> total:0.0020,since last(Begin):0.0020]] - 'order /
> getInventoryAvailableByFacility'
> 2006-10-19 00:40:24,087 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished- total:
> 0.012,since
> last(Begin):0.012]] - 'order / getProductInventorySummaryForItems'
> 2006-10-19 00:40:24,102 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished- total:
> 0.01,since
> last(Begin):0.01]] - 'order /  
> getProductManufacturingSummaryByFacility'
> 2006-10-19 00:40:24,129 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished-
> total:0.0040,since last(Begin):0.0040]] - 'order / getReturnableItems'
> 2006-10-19 00:40:28,413 (http-0.0.0.0-7443-Processor1) [
> GenericDAO.java:769:DEBUG] Ran query in 1142 milli-seconds: SELECT  
> PARTY_ID,
> CONTACT_MECH_ID, FROM_DATE, THRU_DATE, ROLE_TYPE_ID,  
> ALLOW_SOLICITATION,
> EXTENSION, COMMENTS, YEARS_WITH_CONTACT_MECH,  
> MONTHS_WITH_CONTACT_MECH,
> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,  
> CREATED_TX_STAMP
> FROM public.PARTY_CONTACT_MECH WHERE (PARTY_ID = ?)
> [ERROR] Logger not set
> 2006-10-19 00:40:29,732 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:181:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Error in request handler:
> Exception: org.xml.sax.SAXParseException
> Message: The content of elements must consist of well-formed  
> character data
> or markup.
> ---- stack trace
> ---------------------------------------------------------------
> org.xml.sax.SAXParseException: The content of elements must consist of
> well-formed character data or markup.
> org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
> org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:249)
> org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:174)
> org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:164)
> org.ofbiz.widget.screen.ScreenFopPdfViewHandler.render
> (ScreenFopPdfViewHandler.java:88)
> org.ofbiz.webapp.control.RequestHandler.renderView
> (RequestHandler.java:602)
> org.ofbiz.webapp.control.RequestHandler.doRequest
> (RequestHandler.java:387)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 245)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
> 664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> (LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------
> ----------
>
> 2006-10-19 00:40:29,733 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:195:ERROR] An error occurred, going to the  
> errorPage:
> /error/error.jsp
> 2006-10-19 00:40:29,734 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:202:ERROR] Including errorPage: /error/error.jsp
> 2006-10-19 00:40:31,267 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:245:DEBUG] [[[order.pdf] Done rendering page,  
> Servlet
> Finished- total:7.266,since last([order.pdf] Setup...):7.266]]
> 2006-10-19 00:41:10,355 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:85 :INFO ] The character encoding of the  
> request is:
> [null]. The character encoding we will use for the request and  
> response is:
> [UTF-8]
> 2006-10-19 00:41:10,356 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:121:DEBUG] [[[order.pdf] Servlet Starting,  
> doing setup-
> total:0.0,since last(Begin):0.0]]
> 2006-10-19 00:41:10,357 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:170:DEBUG] [[[order.pdf] Setup done, doing Event
> (s) and
> View(s)- total:0.0,since last([order.pdf] Servl...):0.0]]
> --
> View this message in context: http://www.nabble.com/Error-in-order- 
> PDF-and-no-pdf-attached-to-order-emails.-tf2471343.html#a6890700
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Error in order PDF and no pdf attached to order emails.

rohit
Hi David,

The fault was with my files, i checked it and corrected it, its working fine. I am sorry for the message, i have removed it.

Rohit


David E Jones wrote
It looks like you have a bad XML file in there.

Has anyone else run into this? If not, you may have a local change or  
a file transfer problem messing up the file (do an svn status or diff  
if you can to see the changes).

-David


On Oct 18, 2006, at 11:02 PM, rohit2006 wrote:

>
> Hi,
>
> i am using SVN 463891 and i am gettting an error in order PDF and  
> no order
> PDF is attached to order confirmation emails too. This was working  
> fine in
> the SVN two weeks prior to the one mentioned above. The log is  
> attached
> below:
>
> 2006-10-19 00:40:24,004 (http-0.0.0.0-7443-Processor1) [
> RequestHandler.java:537:INFO ] servletName=control, view=OrderPDF
> 2006-10-19 00:40:24,080 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished-
> total:0.0030,since last(Begin):0.0030]] - 'order /
> getInventoryAvailableByFacility'
> 2006-10-19 00:40:24,083 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished-
> total:0.0020,since last(Begin):0.0020]] - 'order /
> getInventoryAvailableByFacility'
> 2006-10-19 00:40:24,086 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished-
> total:0.0020,since last(Begin):0.0020]] - 'order /
> getInventoryAvailableByFacility'
> 2006-10-19 00:40:24,087 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished- total:
> 0.012,since
> last(Begin):0.012]] - 'order / getProductInventorySummaryForItems'
> 2006-10-19 00:40:24,102 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished- total:
> 0.01,since
> last(Begin):0.01]] - 'order /  
> getProductManufacturingSummaryByFacility'
> 2006-10-19 00:40:24,129 (http-0.0.0.0-7443-Processor1) [
> ServiceDispatcher.java:446:DEBUG] [[Sync service finished-
> total:0.0040,since last(Begin):0.0040]] - 'order / getReturnableItems'
> 2006-10-19 00:40:28,413 (http-0.0.0.0-7443-Processor1) [
> GenericDAO.java:769:DEBUG] Ran query in 1142 milli-seconds: SELECT  
> PARTY_ID,
> CONTACT_MECH_ID, FROM_DATE, THRU_DATE, ROLE_TYPE_ID,  
> ALLOW_SOLICITATION,
> EXTENSION, COMMENTS, YEARS_WITH_CONTACT_MECH,  
> MONTHS_WITH_CONTACT_MECH,
> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,  
> CREATED_TX_STAMP
> FROM public.PARTY_CONTACT_MECH WHERE (PARTY_ID = ?)
> [ERROR] Logger not set
> 2006-10-19 00:40:29,732 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:181:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Error in request handler:
> Exception: org.xml.sax.SAXParseException
> Message: The content of elements must consist of well-formed  
> character data
> or markup.
> ---- stack trace
> ---------------------------------------------------------------
> org.xml.sax.SAXParseException: The content of elements must consist of
> well-formed character data or markup.
> org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
> org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:249)
> org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:174)
> org.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:164)
> org.ofbiz.widget.screen.ScreenFopPdfViewHandler.render
> (ScreenFopPdfViewHandler.java:88)
> org.ofbiz.webapp.control.RequestHandler.renderView
> (RequestHandler.java:602)
> org.ofbiz.webapp.control.RequestHandler.doRequest
> (RequestHandler.java:387)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 245)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
> 664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> (LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------
> ----------
>
> 2006-10-19 00:40:29,733 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:195:ERROR] An error occurred, going to the  
> errorPage:
> /error/error.jsp
> 2006-10-19 00:40:29,734 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:202:ERROR] Including errorPage: /error/error.jsp
> 2006-10-19 00:40:31,267 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:245:DEBUG] [[[order.pdf] Done rendering page,  
> Servlet
> Finished- total:7.266,since last([order.pdf] Setup...):7.266]]
> 2006-10-19 00:41:10,355 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:85 :INFO ] The character encoding of the  
> request is:
> [null]. The character encoding we will use for the request and  
> response is:
> [UTF-8]
> 2006-10-19 00:41:10,356 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:121:DEBUG] [[[order.pdf] Servlet Starting,  
> doing setup-
> total:0.0,since last(Begin):0.0]]
> 2006-10-19 00:41:10,357 (http-0.0.0.0-7443-Processor1) [
> ControlServlet.java:170:DEBUG] [[[order.pdf] Setup done, doing Event
> (s) and
> View(s)- total:0.0,since last([order.pdf] Servl...):0.0]]
> --
> View this message in context: http://www.nabble.com/Error-in-order- 
> PDF-and-no-pdf-attached-to-order-emails.-tf2471343.html#a6890700
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>