Can somebody kindly direct me to some FOP how-to's & resources.
Couldn't find such on the apache site Thanks Ashish Hareet CPB, Inc. Phone: 972-579-1642 Ext. 229 [hidden email] http://www.cpbinc.com/ -----Original Message----- From: [hidden email] [mailto:[hidden email]]On Behalf Of [hidden email] Sent: Friday, October 14, 2005 10:50 AM To: [hidden email] Subject: Users Digest, Vol 15, Issue 16 Send Users mailing list submissions to [hidden email] To subscribe or unsubscribe via the World Wide Web, visit http://lists.ofbiz.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to [hidden email] You can reach the person managing the list at [hidden email] When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..." Today's Topics: 1. Re: Re: Techniques for moving large tables help (David E. Jones) 2. Re: Resource Booking (David E. Jones) 3. Re: Return pdf items not working (Jacopo Cappellato) 4. Bad attachements in WIki Hall of Fame (Jacques Le Roux) 5. Return pdf items not working (Ashish Hareet) 6. RE: Bad attachements in WIki Hall of Fame (Steven J. Hawkins) ---------------------------------------------------------------------- Message: 1 Date: Thu, 13 Oct 2005 14:48:42 -0600 From: "David E. Jones" <[hidden email]> Subject: Re: [OFBiz] Users - Re: Techniques for moving large tables help To: OFBiz Users / Usage Discussion <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset="us-ascii" It may be in the JDBC driver then. On that line the Entity Engine isn't even creating any GenericValue objects or anything, so none of the Entity Engine overhead is coming into play. I would contact Advantage and see if they support cursors in the database and the JDBC driver. If you can get the source for it you can find out that way. Another way to see where memory is going is to use a profiling tool to see which objects are taking up the memory and where they are referred to and such. With that kind of tool you can get a peek at what the JDBC driver is doing, though if they compiled it with the intent to obfuscate then it might be hard to get the information you need... -David On Oct 13, 2005, at 2:26 PM, David Riggle wrote: > We are using the Advantage database and jdbc driver. Also, my heap > size is set to 512mb. And the way the method was supposed to work > is to get the ELI for our table and go through each record once and > update the appropraite ofbiz tables. The place that it originally > ran out of memory was when I called the delegator.findAll() method. > Then I found out about the ELI and tried using that, but I get the > same problem of java running out of memory. I'm wondering if I am > doing it wrong? > > /EntityListIterator sourceListIterator = // > delegator.findListIteratorByCondition("arinvt01", /*condition*/ > null,//inventoryCollection,//inventoryOrder); > > /That is the line where the program runs out of memory. Should I > put the entire method down for you guys? > > Thanks, > > - David Riggle > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2363 bytes Desc: not available Url : http://lists.ofbiz.org/pipermail/users/attachments/20051013/9ea03e29/smime-0001.bin ------------------------------ Message: 2 Date: Thu, 13 Oct 2005 15:22:50 -0600 From: "David E. Jones" <[hidden email]> Subject: Re: [OFBiz] Users - Resource Booking To: OFBiz Users / Usage Discussion <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset="us-ascii" Andrew, It depends a lot on which type(s) of resources you need to keep track of. The central entity for this is the WorkEffort entity, and there are many things that can be scheduled with it including FixedAssets, Facilities, and Parties. Events (a type of WorkEffort) can be scheduled for these various things. There is also the concept of availability as a WorkEffort type, but it has really been implemented yet in that they don't show on the calendar and there are no supporting services for finding if something/one is available at a certain time or in a certain time range. There has been quite a bit of development in this area recently that you might want to take a look at. -David On Oct 12, 2005, at 7:10 AM, Andrew Sykes wrote: > Hi, > > I have a client interested in a resource booking system. > > Can anyone give me any feedback on how mature the relevant parts of > the > system are please? > > Kind Regards > -- > Andrew Sykes <[hidden email]> > Sykes Development Ltd > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2363 bytes Desc: not available Url : http://lists.ofbiz.org/pipermail/users/attachments/20051013/b9a7bf33/smime-0001.bin ------------------------------ Message: 3 Date: Fri, 14 Oct 2005 09:50:03 +0200 From: Jacopo Cappellato <[hidden email]> Subject: Re: [OFBiz] Users - Return pdf items not working To: OFBiz Users / Usage Discussion <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Ashish, in your log I've noticed the following line: [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 I think it could be the cause of the delay. Could you try to remove the images from the fo.ftl files? What happens when you do a "ping 127.0.0.1" from a shell? Jacopo 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 > ------------------------------ Message: 4 Date: Fri, 14 Oct 2005 11:44:09 +0200 From: Jacques Le Roux <[hidden email]> Subject: [OFBiz] Users - Bad attachements in WIki Hall of Fame To: OFBiz Users / Usage Discussion <[hidden email]> Message-ID: <008701c5d0a3$d8704450$0300a8c0@LesArts> Content-Type: text/plain; charset=iso-8859-1 Hi, There are some bad attachements in WIki Hall of Fame, how to remove them ? Jacques ------------------------------ Message: 5 Date: Fri, 14 Oct 2005 12:32:11 -0500 From: "Ashish Hareet" <[hidden email]> Subject: [OFBiz] Users - Return pdf items not working To: <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset="iso-8859-1" Thanks Jacopo, Your suggestion lead us right to the source of the problem(although not resolved yet) The issue is probably the image reference in companyLogo.fo.ftl. It we remove the refernce to this file in orderView.fo.ftl we're fine. Just remvoing the image reference in companyLogo.fo.ftl doesn't help. I pinged 127.0.0.1 & it's just fine We can browse to the image via browsers using 127.0.0.1 We're exploring the firewall settings & the like to see if this has got to do with our accessibility settings, etc. Thanks for the suggestion Ashish Hareet http://www.cpbinc.com/ -----Original Message----- Hi Ashish, in your log I've noticed the following line: [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 I think it could be the cause of the delay. Could you try to remove the images from the fo.ftl files? What happens when you do a "ping 127.0.0.1" from a shell? Jacopo ------------------------------ Message: 6 Date: Fri, 14 Oct 2005 15:36:57 -0500 From: "Steven J. Hawkins" <[hidden email]> Subject: RE: [OFBiz] Users - Bad attachements in WIki Hall of Fame To: "OFBiz Users / Usage Discussion" <[hidden email]> Message-ID: <[hidden email]> Content-Type: text/plain; charset="us-ascii" Thanks for identifying. I have removed. Also removed the pages from the Main page. If anyone else notices bad attachments please let the list know. Steve -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Jacques Le Roux Sent: Friday, October 14, 2005 4:44 AM To: OFBiz Users / Usage Discussion Subject: [OFBiz] Users - Bad attachements in WIki Hall of Fame Hi, There are some bad attachements in WIki Hall of Fame, how to remove them ? Jacques _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users ------------------------------ _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users End of Users Digest, Vol 15, Issue 16 ************************************* _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Ashish,
There are some really useful examples of using FOP in the actual examples directory of the FOP distribution. Pretty much everything is covered in one example or another. Kind Regards -- Andrew Sykes <[hidden email]> Sykes Development Ltd _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |