Login  Register

Re: [OFBiz] Users - Return pdf items not working

Posted by David E. Jones on Oct 06, 2005; 8:10pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-Return-pdf-items-not-working-tp136085p136090.html


Even with a slow processor it shouldn't take this long. My guess in  
the light of total ignorance of your setup is that you're running out  
of memory, so your hard disk is probably getting quite busy during  
this....

-David


On Oct 6, 2005, at 12:34 PM, Ashish Hareet wrote:

> I have no prior experience with Jasper Reports or FOP so I don't  
> whats probably wrong here.
>
> I tried the pdf links on Return Items & Order's & these seem to  
> take forever(5 min or so)
> to show up as pdf. What could be wrong ? Is there something I need  
> to do or maybe
> there is some setting I might be missing.
>
>
> Any & all feedback will be greatly appreciated
> Ashish Hareet
>
> Here's the o/p after clicking on the pdf link. You can see at the  
> very end that
> it's taken about 4+ minutes to get to the pdf
>
>      [java] 5193400 (http-0.0.0.0-8443-Processor4)  
> [     ControlServlet.java:98 :INFO ] The character encoding of the  
> request is: [null]. The character encoding we will use for the  
> request and response is: [UTF-8]
>      [java] 5193400 (http-0.0.0.0-8443-Processor4)  
> [     ControlServlet.java:134:DEBUG] [[[order.pdf] Servlet  
> Starting, doing setup- total:0.0,since last(Begin):0.0]]
>      [java] 5193401 (http-0.0.0.0-8443-Processor4)  
> [     ControlServlet.java:183:DEBUG] [[[order.pdf] Setup done,  
> doing Event(s) and View(s)- total:0.0,since last([order.pdf]  
> Servl...):0.0]]
>      [java] 5193423 (http-0.0.0.0-8443-Processor4)  
> [            UtilXml.java:242:DEBUG] XML Read 0.021s: jndi:/0.0.0.0/
> ordermgr/WEB-INF/controller.xml
>      [java] 5193426 (http-0.0.0.0-8443-Processor4)  
> [    ConfigXMLReader.java:552:INFO ] ConfigMap Created: (4) records  
> in 0.0010s
>      [java] 5193427 (http-0.0.0.0-8443-Processor4)  
> [    ConfigXMLReader.java:622:INFO ] HandlerMap Created: (2)  
> records in 0.0s
>      [java] 5193433 (http-0.0.0.0-8443-Processor4)  
> [    ConfigXMLReader.java:302:INFO ] RequestMap Created: (217)  
> records in 0.0050s
>      [java] 5193866 (http-0.0.0.0-8443-Processor4)  
> [    ConfigXMLReader.java:411:INFO ] ViewMap Created: (99) records  
> in 0.0010s
>      [java] 5193866 (http-0.0.0.0-8443-Processor4)  
> [     RequestHandler.java:210:INFO ] [Processing Request]: order.pdf
>      [java] 5193867 (http-0.0.0.0-8443-Processor4)  
> [     RequestManager.java:123:INFO ]  
> [RequestManager.getRequestAttribute] Value for attribute "null" of  
> uri "order.pdf" not found
>      [java] 5193867 (http-0.0.0.0-8443-Processor4)  
> [     RequestHandler.java:372:INFO ] [RequestHandler.doRequest]:  
> Response is a view.
>      [java] 5193868 (http-0.0.0.0-8443-Processor4)  
> [     RequestHandler.java:524:INFO ] servletName=control,  
> view=OrderPDF
>      [java] 5193880 (http-0.0.0.0-8443-Processor4)  
> [            UtilXml.java:242:DEBUG] XML Read 0.011s: file:/home/
> ahareet/ofbiz/applications/order/widget/ordermgr/OrderPrintForms.xml
>      [java] 5193881 (http-0.0.0.0-8443-Processor4)  
> [      ScreenFactory.java:127:INFO ] Got 3 screens in 0.012s from:  
> file:/home/ahareet/ofbiz/applications/order/widget/ordermgr/
> OrderPrintForms.xml
>      [java] 5194391 (http-0.0.0.0-8443-Processor4)  
> [                       ?:?  :INFO ] For order/invoice company  
> header for PDF using partyId: Company
>      [java] [ERROR] Logger not set
>      [java] 5194432 (http-0.0.0.0-8443-Processor4)  
> [            UtilXml.java:242:DEBUG] XML Read 0.012s: Internal Content
>      [java] 5194433 (http-0.0.0.0-8443-Processor4)  
> [      FOTreeBuilder.java:239:INFO ] building formatting object tree
>      [java] 5194434 (http-0.0.0.0-8443-Processor4)  
> [     MessageHandler.java:145:INFO ] setting up fonts
>      [java] 5194867 (http-0.0.0.0-8443-Processor4)  
> [       PageSequence.java:393:INFO ] [1]
>      [java] 5194868 (http-0.0.0.0-8443-Processor4)  
> [              Table.java:245:WARN ] table-layout=auto is not  
> supported, using fixed!
>      [java] 5194869 (http-0.0.0.0-8443-Processor4)  
> [              Table.java:519:WARN ] Sum of fixed column widths  
> 468000 greater than maximum specified IPD 432000
>      [java] 5194879 (http-0.0.0.0-8443-Processor4)  
> [              Table.java:245:WARN ] table-layout=auto is not  
> supported, using fixed!
>      [java] 5194879 (http-0.0.0.0-8443-Processor4)  
> [              Table.java:519:WARN ] Sum of fixed column widths  
> 468000 greater than maximum specified IPD 432000
>      [java] 5361380 (http-0.0.0.0-8443-Processor8)  
> [    ExternalGraphic.java:302:ERROR] Error while creating area :  
> Error with image URL: Connection timed out and no base URL is  
> specified
>      [java] 5361382 (http-0.0.0.0-8443-Processor8)  
> [              Table.java:245:WARN ] table-layout=auto is not  
> supported, using fixed!
>      [java] 5361388 (http-0.0.0.0-8443-Processor8)  
> [              Table.java:245:WARN ] table-layout=auto is not  
> supported, using fixed!
>      [java] 5361389 (http-0.0.0.0-8443-Processor8)  
> [              Table.java:519:WARN ] Sum of fixed column widths  
> 540000 greater than maximum specified IPD 432000
>      [java] 5361392 (http-0.0.0.0-8443-Processor8)  
> [              Table.java:245:WARN ] table-layout=auto is not  
> supported, using fixed!
>      [java] 5361406 (http-0.0.0.0-8443-Processor3)  
> [     ControlServlet.java:258:DEBUG] [[[order.pdf] Done rendering  
> page, Servlet Finished- total:379.015,since last([order.pdf]  
> Setup...):379.015]]
>      [java] 5361409 (http-0.0.0.0-8443-Processor8)  
> [     StreamRenderer.java:267:DEBUG] Last page-sequence produced 1  
> pages.
>      [java] 5361410 (http-0.0.0.0-8443-Processor8)  
> [      FOTreeBuilder.java:245:INFO ] Parsing of document complete,  
> stopping renderer
>      [java] 5361411 (http-0.0.0.0-8443-Processor8)  
> [     StreamRenderer.java:218:DEBUG] Initial heap size: 62675Kb
>      [java] 5361411 (http-0.0.0.0-8443-Processor8)  
> [     StreamRenderer.java:219:DEBUG] Current heap size: 62354Kb
>      [java] 5361412 (http-0.0.0.0-8443-Processor8)  
> [     StreamRenderer.java:220:DEBUG] Total memory used: -321Kb
>      [java] 5361413 (http-0.0.0.0-8443-Processor8)  
> [     StreamRenderer.java:223:DEBUG]   Memory use is indicative; no  
> GC was performed
>      [java] 5361413 (http-0.0.0.0-8443-Processor8)  
> [     StreamRenderer.java:224:DEBUG]   These figures should not be  
> used comparatively
>      [java] 5361414 (http-0.0.0.0-8443-Processor8)  
> [     StreamRenderer.java:229:DEBUG] Total time used: 276983ms
>      [java] 5361414 (http-0.0.0.0-8443-Processor8)  
> [     StreamRenderer.java:230:DEBUG] Pages rendered: 1
>      [java] 5361415 (http-0.0.0.0-8443-Processor8)  
> [     StreamRenderer.java:232:DEBUG] Avg render time: 276983ms/page
>      [java] 5550365 (http-0.0.0.0-8443-Processor4)  
> [    ExternalGraphic.java:302:ERROR] Error while creating area :  
> Error with image URL: Connection timed out and no base URL is  
> specified
>      [java] 5550368 (http-0.0.0.0-8443-Processor4)  
> [              Table.java:245:WARN ] table-layout=auto is not  
> supported, using fixed!
>      [java] 5550381 (http-0.0.0.0-8443-Processor4)  
> [              Table.java:245:WARN ] table-layout=auto is not  
> supported, using fixed!
>      [java] 5550383 (http-0.0.0.0-8443-Processor8)  
> [     ControlServlet.java:258:DEBUG] [[[order.pdf] Done rendering  
> page, Servlet Finished- total:467.003,since last([order.pdf]  
> Setup...):467.003]]
>      [java] 5550384 (http-0.0.0.0-8443-Processor4)  
> [              Table.java:519:WARN ] Sum of fixed column widths  
> 540000 greater than maximum specified IPD 432000
>      [java] 5550389 (http-0.0.0.0-8443-Processor4)  
> [              Table.java:245:WARN ] table-layout=auto is not  
> supported, using fixed!
>      [java] 5550395 (http-0.0.0.0-8443-Processor4)  
> [     StreamRenderer.java:267:DEBUG] Last page-sequence produced 1  
> pages.
>      [java] 5550396 (http-0.0.0.0-8443-Processor4)  
> [      FOTreeBuilder.java:245:INFO ] Parsing of document complete,  
> stopping renderer
>      [java] 5550397 (http-0.0.0.0-8443-Processor4)  
> [     StreamRenderer.java:218:DEBUG] Initial heap size: 64893Kb
>      [java] 5550398 (http-0.0.0.0-8443-Processor4)  
> [     StreamRenderer.java:219:DEBUG] Current heap size: 61803Kb
>      [java] 5550398 (http-0.0.0.0-8443-Processor4)  
> [     StreamRenderer.java:220:DEBUG] Total memory used: -3089Kb
>      [java] 5550399 (http-0.0.0.0-8443-Processor4)  
> [     StreamRenderer.java:223:DEBUG]   Memory use is indicative; no  
> GC was performed
>      [java] 5550399 (http-0.0.0.0-8443-Processor4)  
> [     StreamRenderer.java:224:DEBUG]   These figures should not be  
> used comparatively
>      [java] 5550400 (http-0.0.0.0-8443-Processor4)  
> [     StreamRenderer.java:229:DEBUG] Total time used: 355966ms
>      [java] 5550401 (http-0.0.0.0-8443-Processor4)  
> [     StreamRenderer.java:230:DEBUG] Pages rendered: 1
>      [java] 5550401 (http-0.0.0.0-8443-Processor4)  
> [     StreamRenderer.java:232:DEBUG] Avg render time: 355966ms/page
>      [java] 5550407 (http-0.0.0.0-8443-Processor4)  
> [     ControlServlet.java:258:DEBUG] [[[order.pdf] Done rendering  
> page, Servlet Finished- total:357.006,since last([order.pdf]  
> Setup...):357.006]]
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment