Hello,
Whenever we clicked the "PDF" link on the Order Manager Application a new browser window opens-up having URL https://<SERVER>/ordermgr/control/order.pdf?orderId=<ORDER ID>. But the PDF is not generated and error message - "File does not begin with '%PDF-' " is displayed, is this any kind of bug or we are missing something. Will be grateful if someone could help us out. Thankingyou, Gurcharan Singh -- www.digitalmediainitiatives.com |
Usually means there was an error generating the pdf, you need to looks at
the log file to see whats wrong. Regards Scott On 29/07/07, Gurcharan Singh <[hidden email]> wrote: > > Hello, > > Whenever we clicked the "PDF" link on the Order Manager Application a new > browser window opens-up having URL > https://<SERVER>/ordermgr/control/order.pdf?orderId=<ORDER ID>. But the > is not generated and error message - "File does not begin with '%PDF-' " > is > displayed, is this any kind of bug or we are missing something. Will be > grateful if someone could help us out. > > > Thankingyou, > Gurcharan Singh > > > -- > www.digitalmediainitiatives.com > |
Hi Scott,
Here is the log details - 2007-07-29 09:39:14,262 (default-invoker-Thread-3) [PersistedServiceJob.java :205 :INFO ] Persisted Job [10270] Failed Re-Scheduling : 1185687734252 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ ControlServlet.java :93 :INFO ] The character encoding of the request is: [null]. The character enco ding we will use for the request and response is: [UTF-8] 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ ControlServlet.java :129:DEBUG] [[[order.pdf] Servlet Starting, doing setup- total:0.0,since last(Be gin):0.0]] 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ ControlServlet.java :184:DEBUG] [[[order.pdf] Setup done, doing Event(s) and View(s)- total:0.0 ,sinc e last([order.pdf] Servl...):0.0]] 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ RequestHandler.java :239:INFO ] [Processing Request]: order.pdfsessionId=9309C4E1829AB386126D6103CE 20E829.jvm1 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ RequestManager.java :119:INFO ] [RequestManager.getRequestAttribute] Value for attribute "null" of u ri "order.pdf" not found 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ RequestHandler.java :427:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=9309C4E182 9AB386126D6103CE20E829.jvm1 2007-07-29 09:39:16,275 (http-0.0.0.0-8443-Processor2) [ RequestHandler.java :580:INFO ] servletName=control, view=OrderPDF sessionId=9309C4E1829AB386126D610 3CE20E829.jvm1 2007-07-29 09:39:18,679 (http-0.0.0.0-8443-Processor2) [ ApacheFopFactory.java :59 :WARN ] Error reading FOP configuration 2007-07-29 09:39:18,679 (http-0.0.0.0-8443-Processor2) [ ScreenRenderer.java :223:INFO ] Found servlet context (application) attribute that conflicts with pa rameter name, leaving request parameter in place for name: _REQUEST_HANDLER_ 2007-07-29 09:39:18,759 (http-0.0.0.0-8443-Processor2) [ UtilXml.java :246:DEBUG] XML Read 0.03s: file:/C:/opentaps-1.0.0-preview4 /opentaps/applicatio ns/order/widget/ordermgr/OrderPrintForms.xml 2007-07-29 09:39:18,759 (http-0.0.0.0-8443-Processor2) [ ScreenFactory.java :121:INFO ] Got 4 screens in 0.03s from: file:/C:/opentaps-1.0.0-preview4 /openta ps/applications/order/widget/ordermgr/OrderPrintForms.xml 2007-07-29 09:39:19,320 (http-0.0.0.0-8443-Processor2) [ UtilXml.java :246:DEBUG] XML Read 0.02s: file:/C:/opentaps-1.0.0-preview4 /opentaps/framework/ common/widget/CommonScreens.xml 2007-07-29 09:39:19,320 (http-0.0.0.0-8443-Processor2) [ ScreenFactory.java :121:INFO ] Got 13 screens in 0.02s from: file:/C:/opentaps-1.0.0-preview4 /opent aps/framework/common/widget/CommonScreens.xml 2007-07-29 09:39:25,449 (http-0.0.0.0-8443-Processor2) [ FONode.java :322:WARN ] Warning(19/17): fo:table, table-layout="auto" is currently not suppo rted by FOP 2007-07-29 09:39:25,449 (http-0.0.0.0-8443-Processor2) [ PropertyList.java :423:ERROR] Ignoring property: column-width="proportional-column-width(50)" (nul l:19:17: proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width') 2007-07-29 09:39:25,459 (http-0.0.0.0-8443-Processor2) [ PropertyList.java :423:ERROR] Ignoring property: column-width="proportional-column-width(50)" (nul l:19:17: proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width') 2007-07-29 09:39:27,672 (http-0.0.0.0-8443-Processor2) [ FONode.java :322:WARN ] Warning(42/21): fo:table, table-layout="auto" is currently not suppo rted by FOP 2007-07-29 09:39:27,702 (http-0.0.0.0-8443-Processor2) [ FONode.java :322:WARN ] Warning(83/12): fo:table, table-layout="auto" is currently not suppo rted by FOP ERROR: 'null:86:44: Error(86/44): fo:table-row is missing child elements. Required Content Model: (table-cell+)' 2007-07-29 09:39:27,792 (http-0.0.0.0-8443-Processor2) [ ScreenFopViewHandler.jav a:121:ERROR] FOP transform failed:javax.xml.transform.TransformerException: org. apache.fop.fo.ValidationException: null:86:44: Error(86/44): fo:table-row is mis sing child elements. Required Content Model: (table-cell+) 2007-07-29 09:39:27,792 (http-0.0.0.0-8443-Processor2) [ ControlServlet.java :195:ERROR] ---- exception report ---------------------------------------------------------- Error in request handler: Exception: javax.xml.transform.TransformerException Message: org.apache.fop.fo.ValidationException: null:86:44: Error(86/44): fo:tab le-row is missing child elements. Required Content Model: (table-cell+) ---- cause --------------------------------------------------------------------- Exception: org.apache.fop.fo.ValidationException Message: null:86:44: Error(86/44): fo:table-row is missing child elements. Required Content Model: (table-cell+) ---- stack trace --------------------------------------------------------------- org.apache.fop.fo.ValidationException: null:86:44: Error(86/44): fo:table-row is missing child elements. Required Content Model: (table-cell+) org.apache.fop.fo.FONode.missingChildElementError(FONode.java:407) org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:174) org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java :378) org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194) com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(Unknown So urce) org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher . dispatch(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Sourc e) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity (U nknown Source) com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown S ource) com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown S ource) org.ofbiz.widget.screen.ScreenFopViewHandler.render( ScreenFopViewHandler.java:10 3) org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:645) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:429) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192) javax.servlet.http.HttpServlet.service(HttpServlet.java:595) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilt erChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain. java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilt erChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain. java:173) org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:2 13) org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:1 78) 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.processConne ction(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:52 7) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorker Thread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:68 4) java.lang.Thread.run(Unknown Source) -------------------------------------------------------------------------------- 2007-07-29 09:39:27,862 (http-0.0.0.0-8443-Processor2) [ UtilXml.java :246:DEBUG] XML Read 0.07s: jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml 2007-07-29 09:39:27,872 (http-0.0.0.0-8443-Processor2) [ ConfigXMLReader.java :561:INFO ] ConfigMap Created: (4) records in 0.01s 2007-07-29 09:39:27,872 (http-0.0.0.0-8443-Processor2) [ ConfigXMLReader.java :719:INFO ] HandlerMap Created: (4) view handlers and (6) request/event handlers in 0.0s 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ ConfigXMLReader.java :294:INFO ] RequestMap Created: (291) records in 0.01s 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ ConfigXMLReader.java :388:INFO ] ViewMap Created: (127) records in 0.0s 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ ControlServlet.java :209:ERROR] An error occurred, going to the errorPage: /error/error.jsp 2007-07-29 09:39:27,902 (http-0.0.0.0-8443-Processor2) [ ControlServlet.java :216:ERROR] Including errorPage: /error/error.jsp 2007-07-29 09:39:27,992 (http-0.0.0.0-8443-Processor2) [ ControlServlet.java :259:DEBUG] [[[order.pdf] Done rendering page, Servlet Finished- total: 11.727,si nce last([order.pdf] Setup...):11.727]] ~Gurcharan On 7/29/07, Scott Gray <[hidden email]> wrote: > > Usually means there was an error generating the pdf, you need to looks at > the log file to see whats wrong. > > Regards > Scott > > On 29/07/07, Gurcharan Singh <[hidden email]> wrote: > > > > Hello, > > > > Whenever we clicked the "PDF" link on the Order Manager Application a > new > > browser window opens-up having URL > > https://<SERVER>/ordermgr/control/order.pdf?orderId=<ORDER ID>. But the > > is not generated and error message - "File does not begin with '%PDF-' " > > is > > displayed, is this any kind of bug or we are missing something. Will be > > grateful if someone could help us out. > > > > > > Thankingyou, > > Gurcharan Singh > > > > > > -- > > www.digitalmediainitiatives.com > > > -- www.digitalmediainitiatives.com |
Hi Gurcharan
Have you modified the pdf template? The error says there is a table-row missing child elements (table-cell). Regards Scott On 29/07/07, Gurcharan Singh <[hidden email]> wrote: > > Hi Scott, > > Here is the log details - > > 2007-07-29 09:39:14,262 (default-invoker-Thread-3) [ > PersistedServiceJob.java > :205 > :INFO ] Persisted Job [10270] Failed Re-Scheduling : 1185687734252 > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > ControlServlet.java > :93 :INFO ] The character encoding of the request is: [null]. The > character > enco > ding we will use for the request and response is: [UTF-8] > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > ControlServlet.java > :129:DEBUG] [[[order.pdf] Servlet Starting, doing setup- total:0.0,since > last(Be > gin):0.0]] > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > ControlServlet.java > :184:DEBUG] [[[order.pdf] Setup done, doing Event(s) and View(s)- total: > 0.0 > ,sinc > e last([order.pdf] Servl...):0.0]] > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > RequestHandler.java > :239:INFO ] [Processing Request]: > order.pdfsessionId=9309C4E1829AB386126D6103CE > 20E829.jvm1 > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > RequestManager.java > :119:INFO ] [RequestManager.getRequestAttribute] Value for attribute > "null" > of u > ri "order.pdf" not found > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > RequestHandler.java > :427:INFO ] [RequestHandler.doRequest]: Response is a view. > sessionId=9309C4E182 > 9AB386126D6103CE20E829.jvm1 > 2007-07-29 09:39:16,275 (http-0.0.0.0-8443-Processor2) [ > RequestHandler.java > :580:INFO ] servletName=control, view=OrderPDF > sessionId=9309C4E1829AB386126D610 > 3CE20E829.jvm1 > 2007-07-29 09:39:18,679 (http-0.0.0.0-8443-Processor2) [ > ApacheFopFactory.java > :59 :WARN ] Error reading FOP configuration > 2007-07-29 09:39:18,679 (http-0.0.0.0-8443-Processor2) [ > ScreenRenderer.java > :223:INFO ] Found servlet context (application) attribute that conflicts > with pa > rameter name, leaving request parameter in place for name: > _REQUEST_HANDLER_ > 2007-07-29 09:39:18,759 (http-0.0.0.0-8443-Processor2) [ > UtilXml.java > :246:DEBUG] XML Read 0.03s: file:/C:/opentaps-1.0.0-preview4 > /opentaps/applicatio > ns/order/widget/ordermgr/OrderPrintForms.xml > 2007-07-29 09:39:18,759 (http-0.0.0.0-8443-Processor2) [ > ScreenFactory.java > :121:INFO ] Got 4 screens in 0.03s from: file:/C:/opentaps-1.0.0-preview4 > /openta > ps/applications/order/widget/ordermgr/OrderPrintForms.xml > 2007-07-29 09:39:19,320 (http-0.0.0.0-8443-Processor2) [ > UtilXml.java > :246:DEBUG] XML Read 0.02s: file:/C:/opentaps-1.0.0-preview4 > /opentaps/framework/ > common/widget/CommonScreens.xml > 2007-07-29 09:39:19,320 (http-0.0.0.0-8443-Processor2) [ > ScreenFactory.java > :121:INFO ] Got 13 screens in 0.02s from: file:/C:/opentaps-1.0.0-preview4 > /opent > aps/framework/common/widget/CommonScreens.xml > 2007-07-29 09:39:25,449 (http-0.0.0.0-8443-Processor2) [ > FONode.java > :322:WARN ] Warning(19/17): fo:table, table-layout="auto" is currently not > suppo > rted by FOP > 2007-07-29 09:39:25,449 (http-0.0.0.0-8443-Processor2) [ > PropertyList.java > :423:ERROR] Ignoring property: > column-width="proportional-column-width(50)" > (nul > l:19:17: proportional-column-width() function may only be used when > fo:table > has > table-layout="fixed".; property:'column-width') > 2007-07-29 09:39:25,459 (http-0.0.0.0-8443-Processor2) [ > PropertyList.java > :423:ERROR] Ignoring property: > column-width="proportional-column-width(50)" > (nul > l:19:17: proportional-column-width() function may only be used when > fo:table > has > table-layout="fixed".; property:'column-width') > 2007-07-29 09:39:27,672 (http-0.0.0.0-8443-Processor2) [ > FONode.java > :322:WARN ] Warning(42/21): fo:table, table-layout="auto" is currently not > suppo > rted by FOP > 2007-07-29 09:39:27,702 (http-0.0.0.0-8443-Processor2) [ > FONode.java > :322:WARN ] Warning(83/12): fo:table, table-layout="auto" is currently not > suppo > rted by FOP > ERROR: 'null:86:44: Error(86/44): fo:table-row is missing child elements. > Required Content Model: (table-cell+)' > 2007-07-29 09:39:27,792 (http-0.0.0.0-8443-Processor2) [ > ScreenFopViewHandler.jav > a:121:ERROR] FOP transform failed:javax.xml.transform.TransformerException > : > org. > apache.fop.fo.ValidationException: null:86:44: Error(86/44): fo:table-row > is > mis > sing child elements. > Required Content Model: (table-cell+) > 2007-07-29 09:39:27,792 (http-0.0.0.0-8443-Processor2) [ > ControlServlet.java > :195:ERROR] > ---- exception report > ---------------------------------------------------------- > > Error in request handler: > Exception: javax.xml.transform.TransformerException > Message: org.apache.fop.fo.ValidationException: null:86:44: Error(86/44): > fo:tab > le-row is missing child elements. > Required Content Model: (table-cell+) > ---- cause > --------------------------------------------------------------------- > > Exception: org.apache.fop.fo.ValidationException > Message: null:86:44: Error(86/44): fo:table-row is missing child elements. > Required Content Model: (table-cell+) > ---- stack trace > --------------------------------------------------------------- > > org.apache.fop.fo.ValidationException: null:86:44: Error(86/44): > fo:table-row is > missing child elements. > Required Content Model: (table-cell+) > org.apache.fop.fo.FONode.missingChildElementError(FONode.java:407) > org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:174) > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement( > FOTreeBuilder.java > :378) > > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194) > com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement > (Unknown > So > urce) > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown > Source) > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher > . > dispatch(Unknown Source) > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Sourc > e) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity > (U > nknown Source) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform > (Unknown > S > ource) > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform > (Unknown > S > ource) > org.ofbiz.widget.screen.ScreenFopViewHandler.render( > ScreenFopViewHandler.java:10 > 3) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java > :645) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:429) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilt > erChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain. > java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilt > erChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain. > java:173) > org.apache.catalina.core.StandardWrapperValve.invoke( > StandardWrapperValve.java:2 > 13) > org.apache.catalina.core.StandardContextValve.invoke( > StandardContextValve.java:1 > 78) > 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.processConne > ction(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( > PoolTcpEndpoint.java:52 > 7) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > (LeaderFollowerWorker > Thread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > ThreadPool.java:68 > 4) > java.lang.Thread.run(Unknown Source) > > -------------------------------------------------------------------------------- > > > 2007-07-29 09:39:27,862 (http-0.0.0.0-8443-Processor2) [ > UtilXml.java > :246:DEBUG] XML Read 0.07s: jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml > 2007-07-29 09:39:27,872 (http-0.0.0.0-8443-Processor2) [ > ConfigXMLReader.java > :561:INFO ] ConfigMap Created: (4) records in 0.01s > 2007-07-29 09:39:27,872 (http-0.0.0.0-8443-Processor2) [ > ConfigXMLReader.java > :719:INFO ] HandlerMap Created: (4) view handlers and (6) request/event > handlers > in 0.0s > 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ > ConfigXMLReader.java > :294:INFO ] RequestMap Created: (291) records in 0.01s > 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ > ConfigXMLReader.java > :388:INFO ] ViewMap Created: (127) records in 0.0s > 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ > ControlServlet.java > :209:ERROR] An error occurred, going to the errorPage: /error/error.jsp > 2007-07-29 09:39:27,902 (http-0.0.0.0-8443-Processor2) [ > ControlServlet.java > :216:ERROR] Including errorPage: /error/error.jsp > 2007-07-29 09:39:27,992 (http-0.0.0.0-8443-Processor2) [ > ControlServlet.java > :259:DEBUG] [[[order.pdf] Done rendering page, Servlet Finished- total: > 11.727,si > nce last([order.pdf] Setup...):11.727]] > > ~Gurcharan > > On 7/29/07, Scott Gray <[hidden email]> wrote: > > > > Usually means there was an error generating the pdf, you need to looks > at > > the log file to see whats wrong. > > > > Regards > > Scott > > > > On 29/07/07, Gurcharan Singh <[hidden email]> wrote: > > > > > > Hello, > > > > > > Whenever we clicked the "PDF" link on the Order Manager Application a > > new > > > browser window opens-up having URL > > > https://<SERVER>/ordermgr/control/order.pdf?orderId=<ORDER ID>. But > the > > > is not generated and error message - "File does not begin with '%PDF-' > " > > > is > > > displayed, is this any kind of bug or we are missing something. Will > be > > > grateful if someone could help us out. > > > > > > > > > Thankingyou, > > > Gurcharan Singh > > > > > > > > > -- > > > www.digitalmediainitiatives.com > > > > > > > > > -- > www.digitalmediainitiatives.com > |
Hi Scott,
No, I haven't touched any file. Can u confirm me which file is this and let me try updating the latest files from SVN. ~Gurcharan On 7/29/07, Scott Gray <[hidden email]> wrote: > > Hi Gurcharan > > Have you modified the pdf template? The error says there is a table-row > missing child elements (table-cell). > > Regards > Scott > > On 29/07/07, Gurcharan Singh <[hidden email]> wrote: > > > > Hi Scott, > > > > Here is the log details - > > > > 2007-07-29 09:39:14,262 (default-invoker-Thread-3) [ > > PersistedServiceJob.java > > :205 > > :INFO ] Persisted Job [10270] Failed Re-Scheduling : 1185687734252 > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > ControlServlet.java > > :93 :INFO ] The character encoding of the request is: [null]. The > > character > > enco > > ding we will use for the request and response is: [UTF-8] > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > ControlServlet.java > > :129:DEBUG] [[[order.pdf] Servlet Starting, doing setup- total:0.0,since > > last(Be > > gin):0.0]] > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > ControlServlet.java > > :184:DEBUG] [[[order.pdf] Setup done, doing Event(s) and View(s)- total: > > 0.0 > > ,sinc > > e last([order.pdf] Servl...):0.0]] > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > RequestHandler.java > > :239:INFO ] [Processing Request]: > > order.pdfsessionId=9309C4E1829AB386126D6103CE > > 20E829.jvm1 > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > RequestManager.java > > :119:INFO ] [RequestManager.getRequestAttribute] Value for attribute > > "null" > > of u > > ri "order.pdf" not found > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > RequestHandler.java > > :427:INFO ] [RequestHandler.doRequest]: Response is a view. > > sessionId=9309C4E182 > > 9AB386126D6103CE20E829.jvm1 > > 2007-07-29 09:39:16,275 (http-0.0.0.0-8443-Processor2) [ > > RequestHandler.java > > :580:INFO ] servletName=control, view=OrderPDF > > sessionId=9309C4E1829AB386126D610 > > 3CE20E829.jvm1 > > 2007-07-29 09:39:18,679 (http-0.0.0.0-8443-Processor2) [ > > ApacheFopFactory.java > > :59 :WARN ] Error reading FOP configuration > > 2007-07-29 09:39:18,679 (http-0.0.0.0-8443-Processor2) [ > > ScreenRenderer.java > > :223:INFO ] Found servlet context (application) attribute that conflicts > > with pa > > rameter name, leaving request parameter in place for name: > > _REQUEST_HANDLER_ > > 2007-07-29 09:39:18,759 (http-0.0.0.0-8443-Processor2) [ > > UtilXml.java > > :246:DEBUG] XML Read 0.03s: file:/C:/opentaps-1.0.0-preview4 > > /opentaps/applicatio > > ns/order/widget/ordermgr/OrderPrintForms.xml > > 2007-07-29 09:39:18,759 (http-0.0.0.0-8443-Processor2) [ > > ScreenFactory.java > > :121:INFO ] Got 4 screens in 0.03s from: file:/C:/opentaps- > 1.0.0-preview4 > > /openta > > ps/applications/order/widget/ordermgr/OrderPrintForms.xml > > 2007-07-29 09:39:19,320 (http-0.0.0.0-8443-Processor2) [ > > UtilXml.java > > :246:DEBUG] XML Read 0.02s: file:/C:/opentaps-1.0.0-preview4 > > /opentaps/framework/ > > common/widget/CommonScreens.xml > > 2007-07-29 09:39:19,320 (http-0.0.0.0-8443-Processor2) [ > > ScreenFactory.java > > :121:INFO ] Got 13 screens in 0.02s from: file:/C:/opentaps- > 1.0.0-preview4 > > /opent > > aps/framework/common/widget/CommonScreens.xml > > 2007-07-29 09:39:25,449 (http-0.0.0.0-8443-Processor2) [ > > FONode.java > > :322:WARN ] Warning(19/17): fo:table, table-layout="auto" is currently > not > > suppo > > rted by FOP > > 2007-07-29 09:39:25,449 (http-0.0.0.0-8443-Processor2) [ > > PropertyList.java > > :423:ERROR] Ignoring property: > > column-width="proportional-column-width(50)" > > (nul > > l:19:17: proportional-column-width() function may only be used when > > fo:table > > has > > table-layout="fixed".; property:'column-width') > > 2007-07-29 09:39:25,459 (http-0.0.0.0-8443-Processor2) [ > > PropertyList.java > > :423:ERROR] Ignoring property: > > column-width="proportional-column-width(50)" > > (nul > > l:19:17: proportional-column-width() function may only be used when > > fo:table > > has > > table-layout="fixed".; property:'column-width') > > 2007-07-29 09:39:27,672 (http-0.0.0.0-8443-Processor2) [ > > FONode.java > > :322:WARN ] Warning(42/21): fo:table, table-layout="auto" is currently > not > > suppo > > rted by FOP > > 2007-07-29 09:39:27,702 (http-0.0.0.0-8443-Processor2) [ > > FONode.java > > :322:WARN ] Warning(83/12): fo:table, table-layout="auto" is currently > not > > suppo > > rted by FOP > > ERROR: 'null:86:44: Error(86/44): fo:table-row is missing child > elements. > > Required Content Model: (table-cell+)' > > 2007-07-29 09:39:27,792 (http-0.0.0.0-8443-Processor2) [ > > ScreenFopViewHandler.jav > > a:121:ERROR] FOP transform failed: > javax.xml.transform.TransformerException > > : > > org. > > apache.fop.fo.ValidationException: null:86:44: Error(86/44): > fo:table-row > > is > > mis > > sing child elements. > > Required Content Model: (table-cell+) > > 2007-07-29 09:39:27,792 (http-0.0.0.0-8443-Processor2) [ > > ControlServlet.java > > :195:ERROR] > > ---- exception report > > ---------------------------------------------------------- > > > > Error in request handler: > > Exception: javax.xml.transform.TransformerException > > Message: org.apache.fop.fo.ValidationException: null:86:44: > Error(86/44): > > fo:tab > > le-row is missing child elements. > > Required Content Model: (table-cell+) > > ---- cause > > --------------------------------------------------------------------- > > > > Exception: org.apache.fop.fo.ValidationException > > Message: null:86:44: Error(86/44): fo:table-row is missing child > elements. > > Required Content Model: (table-cell+) > > ---- stack trace > > --------------------------------------------------------------- > > > > org.apache.fop.fo.ValidationException: null:86:44: Error(86/44): > > fo:table-row is > > missing child elements. > > Required Content Model: (table-cell+) > > org.apache.fop.fo.FONode.missingChildElementError(FONode.java:407) > > org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:174) > > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement( > > FOTreeBuilder.java > > :378) > > > > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194) > > com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement > > (Unknown > > So > > urce) > > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown > > Source) > > > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher > > . > > dispatch(Unknown Source) > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument > (Unknown > > Sourc > > e) > > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > > > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity > > (U > > nknown Source) > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform > > (Unknown > > S > > ource) > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform > > (Unknown > > S > > ource) > > org.ofbiz.widget.screen.ScreenFopViewHandler.render( > > ScreenFopViewHandler.java:10 > > 3) > > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java > > :645) > > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java > :429) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > > (ApplicationFilt > > erChain.java:252) > > org.apache.catalina.core.ApplicationFilterChain.doFilter > > (ApplicationFilterChain. > > java:173) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251) > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > > (ApplicationFilt > > erChain.java:202) > > org.apache.catalina.core.ApplicationFilterChain.doFilter > > (ApplicationFilterChain. > > java:173) > > org.apache.catalina.core.StandardWrapperValve.invoke( > > StandardWrapperValve.java:2 > > 13) > > org.apache.catalina.core.StandardContextValve.invoke( > > StandardContextValve.java:1 > > 78) > > 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.processConne > > ction(Http11BaseProtocol.java:664) > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( > > PoolTcpEndpoint.java:52 > > 7) > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > > (LeaderFollowerWorker > > Thread.java:80) > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > > ThreadPool.java:68 > > 4) > > java.lang.Thread.run(Unknown Source) > > > > > -------------------------------------------------------------------------------- > > > > > > 2007-07-29 09:39:27,862 (http-0.0.0.0-8443-Processor2) [ > > UtilXml.java > > :246:DEBUG] XML Read 0.07s: > jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml > > 2007-07-29 09:39:27,872 (http-0.0.0.0-8443-Processor2) [ > > ConfigXMLReader.java > > :561:INFO ] ConfigMap Created: (4) records in 0.01s > > 2007-07-29 09:39:27,872 (http-0.0.0.0-8443-Processor2) [ > > ConfigXMLReader.java > > :719:INFO ] HandlerMap Created: (4) view handlers and (6) request/event > > handlers > > in 0.0s > > 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ > > ConfigXMLReader.java > > :294:INFO ] RequestMap Created: (291) records in 0.01s > > 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ > > ConfigXMLReader.java > > :388:INFO ] ViewMap Created: (127) records in 0.0s > > 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ > > ControlServlet.java > > :209:ERROR] An error occurred, going to the errorPage: /error/error.jsp > > 2007-07-29 09:39:27,902 (http-0.0.0.0-8443-Processor2) [ > > ControlServlet.java > > :216:ERROR] Including errorPage: /error/error.jsp > > 2007-07-29 09:39:27,992 (http-0.0.0.0-8443-Processor2) [ > > ControlServlet.java > > :259:DEBUG] [[[order.pdf] Done rendering page, Servlet Finished- total: > > 11.727,si > > nce last([order.pdf] Setup...):11.727]] > > > > ~Gurcharan > > > > On 7/29/07, Scott Gray <[hidden email]> wrote: > > > > > > Usually means there was an error generating the pdf, you need to looks > > at > > > the log file to see whats wrong. > > > > > > Regards > > > Scott > > > > > > On 29/07/07, Gurcharan Singh <[hidden email]> wrote: > > > > > > > > Hello, > > > > > > > > Whenever we clicked the "PDF" link on the Order Manager Application > a > > > new > > > > browser window opens-up having URL > > > > https://<SERVER>/ordermgr/control/order.pdf?orderId=<ORDER ID>. But > > the > > > > is not generated and error message - "File does not begin with > '%PDF-' > > " > > > > is > > > > displayed, is this any kind of bug or we are missing something. Will > > be > > > > grateful if someone could help us out. > > > > > > > > > > > > Thankingyou, > > > > Gurcharan Singh > > > > > > > > > > > > -- > > > > www.digitalmediainitiatives.com > > > > > > > > > > > > > > > -- > > www.digitalmediainitiatives.com > > > -- www.digitalmediainitiatives.com |
There are a few templates that together make up the order pdf, you'll find
all the details in this file: applications/order/widget/ordermgr/OrderPrintScreens.xml, look for the screen named "OrderPDF" Regards Scott On 29/07/07, Gurcharan Singh <[hidden email]> wrote: > > Hi Scott, > > No, I haven't touched any file. Can u confirm me which file is this and > let > me try updating the latest files from SVN. > > ~Gurcharan > > On 7/29/07, Scott Gray <[hidden email]> wrote: > > > > Hi Gurcharan > > > > Have you modified the pdf template? The error says there is a table-row > > missing child elements (table-cell). > > > > Regards > > Scott > > > > On 29/07/07, Gurcharan Singh <[hidden email]> wrote: > > > > > > Hi Scott, > > > > > > Here is the log details - > > > > > > 2007-07-29 09:39:14,262 (default-invoker-Thread-3) [ > > > PersistedServiceJob.java > > > :205 > > > :INFO ] Persisted Job [10270] Failed Re-Scheduling : 1185687734252 > > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > > ControlServlet.java > > > :93 :INFO ] The character encoding of the request is: [null]. The > > > character > > > enco > > > ding we will use for the request and response is: [UTF-8] > > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > > ControlServlet.java > > > :129:DEBUG] [[[order.pdf] Servlet Starting, doing setup- total:0.0 > ,since > > > last(Be > > > gin):0.0]] > > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > > ControlServlet.java > > > :184:DEBUG] [[[order.pdf] Setup done, doing Event(s) and View(s)- > total: > > > 0.0 > > > ,sinc > > > e last([order.pdf] Servl...):0.0]] > > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > > RequestHandler.java > > > :239:INFO ] [Processing Request]: > > > order.pdfsessionId=9309C4E1829AB386126D6103CE > > > 20E829.jvm1 > > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > > RequestManager.java > > > :119:INFO ] [RequestManager.getRequestAttribute] Value for attribute > > > "null" > > > of u > > > ri "order.pdf" not found > > > 2007-07-29 09:39:16,265 (http-0.0.0.0-8443-Processor2) [ > > > RequestHandler.java > > > :427:INFO ] [RequestHandler.doRequest]: Response is a view. > > > sessionId=9309C4E182 > > > 9AB386126D6103CE20E829.jvm1 > > > 2007-07-29 09:39:16,275 (http-0.0.0.0-8443-Processor2) [ > > > RequestHandler.java > > > :580:INFO ] servletName=control, view=OrderPDF > > > sessionId=9309C4E1829AB386126D610 > > > 3CE20E829.jvm1 > > > 2007-07-29 09:39:18,679 (http-0.0.0.0-8443-Processor2) [ > > > ApacheFopFactory.java > > > :59 :WARN ] Error reading FOP configuration > > > 2007-07-29 09:39:18,679 (http-0.0.0.0-8443-Processor2) [ > > > ScreenRenderer.java > > > :223:INFO ] Found servlet context (application) attribute that > conflicts > > > with pa > > > rameter name, leaving request parameter in place for name: > > > _REQUEST_HANDLER_ > > > 2007-07-29 09:39:18,759 (http-0.0.0.0-8443-Processor2) [ > > > UtilXml.java > > > :246:DEBUG] XML Read 0.03s: file:/C:/opentaps-1.0.0-preview4 > > > /opentaps/applicatio > > > ns/order/widget/ordermgr/OrderPrintForms.xml > > > 2007-07-29 09:39:18,759 (http-0.0.0.0-8443-Processor2) [ > > > ScreenFactory.java > > > :121:INFO ] Got 4 screens in 0.03s from: file:/C:/opentaps- > > 1.0.0-preview4 > > > /openta > > > ps/applications/order/widget/ordermgr/OrderPrintForms.xml > > > 2007-07-29 09:39:19,320 (http-0.0.0.0-8443-Processor2) [ > > > UtilXml.java > > > :246:DEBUG] XML Read 0.02s: file:/C:/opentaps-1.0.0-preview4 > > > /opentaps/framework/ > > > common/widget/CommonScreens.xml > > > 2007-07-29 09:39:19,320 (http-0.0.0.0-8443-Processor2) [ > > > ScreenFactory.java > > > :121:INFO ] Got 13 screens in 0.02s from: file:/C:/opentaps- > > 1.0.0-preview4 > > > /opent > > > aps/framework/common/widget/CommonScreens.xml > > > 2007-07-29 09:39:25,449 (http-0.0.0.0-8443-Processor2) [ > > > FONode.java > > > :322:WARN ] Warning(19/17): fo:table, table-layout="auto" is currently > > not > > > suppo > > > rted by FOP > > > 2007-07-29 09:39:25,449 (http-0.0.0.0-8443-Processor2) [ > > > PropertyList.java > > > :423:ERROR] Ignoring property: > > > column-width="proportional-column-width(50)" > > > (nul > > > l:19:17: proportional-column-width() function may only be used when > > > fo:table > > > has > > > table-layout="fixed".; property:'column-width') > > > 2007-07-29 09:39:25,459 (http-0.0.0.0-8443-Processor2) [ > > > PropertyList.java > > > :423:ERROR] Ignoring property: > > > column-width="proportional-column-width(50)" > > > (nul > > > l:19:17: proportional-column-width() function may only be used when > > > fo:table > > > has > > > table-layout="fixed".; property:'column-width') > > > 2007-07-29 09:39:27,672 (http-0.0.0.0-8443-Processor2) [ > > > FONode.java > > > :322:WARN ] Warning(42/21): fo:table, table-layout="auto" is currently > > not > > > suppo > > > rted by FOP > > > 2007-07-29 09:39:27,702 (http-0.0.0.0-8443-Processor2) [ > > > FONode.java > > > :322:WARN ] Warning(83/12): fo:table, table-layout="auto" is currently > > not > > > suppo > > > rted by FOP > > > ERROR: 'null:86:44: Error(86/44): fo:table-row is missing child > > elements. > > > Required Content Model: (table-cell+)' > > > 2007-07-29 09:39:27,792 (http-0.0.0.0-8443-Processor2) [ > > > ScreenFopViewHandler.jav > > > a:121:ERROR] FOP transform failed: > > javax.xml.transform.TransformerException > > > : > > > org. > > > apache.fop.fo.ValidationException: null:86:44: Error(86/44): > > fo:table-row > > > is > > > mis > > > sing child elements. > > > Required Content Model: (table-cell+) > > > 2007-07-29 09:39:27,792 (http-0.0.0.0-8443-Processor2) [ > > > ControlServlet.java > > > :195:ERROR] > > > ---- exception report > > > ---------------------------------------------------------- > > > > > > Error in request handler: > > > Exception: javax.xml.transform.TransformerException > > > Message: org.apache.fop.fo.ValidationException: null:86:44: > > Error(86/44): > > > fo:tab > > > le-row is missing child elements. > > > Required Content Model: (table-cell+) > > > ---- cause > > > --------------------------------------------------------------------- > > > > > > Exception: org.apache.fop.fo.ValidationException > > > Message: null:86:44: Error(86/44): fo:table-row is missing child > > elements. > > > Required Content Model: (table-cell+) > > > ---- stack trace > > > --------------------------------------------------------------- > > > > > > org.apache.fop.fo.ValidationException: null:86:44: Error(86/44): > > > fo:table-row is > > > missing child elements. > > > Required Content Model: (table-cell+) > > > org.apache.fop.fo.FONode.missingChildElementError(FONode.java:407) > > > org.apache.fop.fo.flow.TableRow.endOfNode(TableRow.java:174) > > > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement( > > > FOTreeBuilder.java > > > :378) > > > > > > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194) > > > com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement > > > (Unknown > > > So > > > urce) > > > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > > > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown > > > Source) > > > > > > > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher > > > . > > > dispatch(Unknown Source) > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument > > (Unknown > > > Sourc > > > e) > > > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > > > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > > > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > > > > > > > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity > > > (U > > > nknown Source) > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform > > > (Unknown > > > S > > > ource) > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform > > > (Unknown > > > S > > > ource) > > > org.ofbiz.widget.screen.ScreenFopViewHandler.render( > > > ScreenFopViewHandler.java:10 > > > 3) > > > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java > > > :645) > > > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java > > :429) > > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192) > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > > > (ApplicationFilt > > > erChain.java:252) > > > org.apache.catalina.core.ApplicationFilterChain.doFilter > > > (ApplicationFilterChain. > > > java:173) > > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java > :251) > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > > > (ApplicationFilt > > > erChain.java:202) > > > org.apache.catalina.core.ApplicationFilterChain.doFilter > > > (ApplicationFilterChain. > > > java:173) > > > org.apache.catalina.core.StandardWrapperValve.invoke( > > > StandardWrapperValve.java:2 > > > 13) > > > org.apache.catalina.core.StandardContextValve.invoke( > > > StandardContextValve.java:1 > > > 78) > > > 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.processConne > > > ction(Http11BaseProtocol.java:664) > > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( > > > PoolTcpEndpoint.java:52 > > > 7) > > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > > > (LeaderFollowerWorker > > > Thread.java:80) > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > > > ThreadPool.java:68 > > > 4) > > > java.lang.Thread.run(Unknown Source) > > > > > > > > > -------------------------------------------------------------------------------- > > > > > > > > > 2007-07-29 09:39:27,862 (http-0.0.0.0-8443-Processor2) [ > > > UtilXml.java > > > :246:DEBUG] XML Read 0.07s: > > jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml > > > 2007-07-29 09:39:27,872 (http-0.0.0.0-8443-Processor2) [ > > > ConfigXMLReader.java > > > :561:INFO ] ConfigMap Created: (4) records in 0.01s > > > 2007-07-29 09:39:27,872 (http-0.0.0.0-8443-Processor2) [ > > > ConfigXMLReader.java > > > :719:INFO ] HandlerMap Created: (4) view handlers and (6) > request/event > > > handlers > > > in 0.0s > > > 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ > > > ConfigXMLReader.java > > > :294:INFO ] RequestMap Created: (291) records in 0.01s > > > 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ > > > ConfigXMLReader.java > > > :388:INFO ] ViewMap Created: (127) records in 0.0s > > > 2007-07-29 09:39:27,882 (http-0.0.0.0-8443-Processor2) [ > > > ControlServlet.java > > > :209:ERROR] An error occurred, going to the errorPage: > /error/error.jsp > > > 2007-07-29 09:39:27,902 (http-0.0.0.0-8443-Processor2) [ > > > ControlServlet.java > > > :216:ERROR] Including errorPage: /error/error.jsp > > > 2007-07-29 09:39:27,992 (http-0.0.0.0-8443-Processor2) [ > > > ControlServlet.java > > > :259:DEBUG] [[[order.pdf] Done rendering page, Servlet Finished- > total: > > > 11.727,si > > > nce last([order.pdf] Setup...):11.727]] > > > > > > ~Gurcharan > > > > > > On 7/29/07, Scott Gray <[hidden email]> wrote: > > > > > > > > Usually means there was an error generating the pdf, you need to > looks > > > at > > > > the log file to see whats wrong. > > > > > > > > Regards > > > > Scott > > > > > > > > On 29/07/07, Gurcharan Singh <[hidden email]> wrote: > > > > > > > > > > Hello, > > > > > > > > > > Whenever we clicked the "PDF" link on the Order Manager > Application > > a > > > > new > > > > > browser window opens-up having URL > > > > > https://<SERVER>/ordermgr/control/order.pdf?orderId=<ORDER ID>. > But > > > the > > > > > is not generated and error message - "File does not begin with > > '%PDF-' > > > " > > > > > is > > > > > displayed, is this any kind of bug or we are missing something. > Will > > > be > > > > > grateful if someone could help us out. > > > > > > > > > > > > > > > Thankingyou, > > > > > Gurcharan Singh > > > > > > > > > > > > > > > -- > > > > > www.digitalmediainitiatives.com > > > > > > > > > > > > > > > > > > > > > -- > > > www.digitalmediainitiatives.com > > > > > > > > > -- > www.digitalmediainitiatives.com > |
Free forum by Nabble | Edit this page |