Jump to content
We've recently updated our Privacy Statement, available here ×

sudha_ramaiah

Members
  • Posts

    9
  • Joined

  • Last visited

sudha_ramaiah's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, Labels in charts are getting broken,the upper part of the label is cut and starts from the mid text for instance,if the text is "Changes in ownership",it displays from "in ownership" and "changes" gets cut.I tried increasing the labelRotation but still it is getting broken. How to solve this? Thanks, Sudha. Post edited by: sudha_ramaiah, at: 2007/04/26 10:06 Post edited by: sudha_ramaiah, at: 2007/04/26 10:07
  2. Hi, We are generating 3 different formats of reports PDF,Excel and HTML using the same design (JRXML).We got out of memory error for huge volume of data.Based on teh forum comments we implemented virtualization in our code and we could see the temporory files getting generated.After using virtulaization,we did not get out of memory error for PDF and it works fine for records ~=59000 records with the paginaiton size of 10.But for excel reports,it takes more time than the PDf files and my webserver(apache) gets timed out.We are writing the report content in the form of byte[] in the stream to open the download box.We sometimes get "Caused by: ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error" also.In case of html files also,it is taking more time and the webserver gets timed out and sometimes the JVM crashes. We tried increasing the permanent size of memeory and that's how we made PDF altealst to work.Our memory setting is -Xms512m -Xmx1028m -XX:MaxPermSize=128m.We tried increasing the time out period of webserver but did not help. Can anyone help me in getting teh Excel and HTML report also in case of huge volume of data? Thanks, Sudha.
  3. Iam also facing problem in using virtualizer.I get the follwoing error. net.sf.jasperreports.engine.JRRuntimeException: java.io.IOException: The system cannot find the path specified at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer.virtualizeData(JRAbstractLRUVirtualizer.ja va:450) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer$Cache$LRUScanMap.processRemovedLRU(JRAbstr actLRUVirtualizer.java:137) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer$Cache$LRUScanMap.removeLRU(JRAbstractLRUVi rtualizer.java:123) at org.apache.commons.collections.LRUMap.put(Unknown Source) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer$Cache.put(JRAbstractLRUVirtualizer.java: 198) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer.registerObject(JRAbstractLRUVirtualizer.ja va:335) at net.sf.jasperreports.engine.base.JRVirtualPrintPage.<init>(JRVirtualPrintPage.java:182) at net.sf.jasperreports.engine.fill.JRBaseFiller.newPage(JRBaseFiller.java:1182) at net.sf.jasperreports.engine.fill.JRVerticalFiller.addPage(JRVerticalFiller.java:1115) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBreak(JRVerticalFiller.java:1187) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBreak(JRVerticalFiller.java:1212) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:596) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:229) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:751) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:679) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) I use the virtualizer as below: JRFileVirtualizer virtualizer = new JRFileVirtualizer(2, "TmpPrint"); parameters.put(JRParameter.REPORT_VIRTUALIZER, virtualizer); JasperPrint print = JasperFillManager.fillReport(report, parameters, dataSource); virtualizer.setReadOnly(true); bytes = JasperExportManager.exportReportToPdf(print); Please help me in using virtualizer as we run of memory because of huge data.
  4. Iam also facing problem in using virtualizer.I get the follwoing error. net.sf.jasperreports.engine.JRRuntimeException: java.io.IOException: The system cannot find the path specified at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer.virtualizeData(JRAbstractLRUVirtualizer.java:450) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer$Cache$LRUScanMap.processRemovedLRU(JRAbstractLRUVirtualizer.java:137) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer$Cache$LRUScanMap.removeLRU(JRAbstractLRUVirtualizer.java:123) at org.apache.commons.collections.LRUMap.put(Unknown Source) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer$Cache.put(JRAbstractLRUVirtualizer.java:198) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer.registerObject(JRAbstractLRUVirtualizer.java:335) at net.sf.jasperreports.engine.base.JRVirtualPrintPage.<init>(JRVirtualPrintPage.java:182) at net.sf.jasperreports.engine.fill.JRBaseFiller.newPage(JRBaseFiller.java:1182) at net.sf.jasperreports.engine.fill.JRVerticalFiller.addPage(JRVerticalFiller.java:1115) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBreak(JRVerticalFiller.java:1187) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBreak(JRVerticalFiller.java:1212) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:596) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:229) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:751) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:679) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) I use the virtualizer as below: JRFileVirtualizer virtualizer = new JRFileVirtualizer(2, "TmpPrint"); parameters.put(JRParameter.REPORT_VIRTUALIZER, virtualizer); JasperPrint print = JasperFillManager.fillReport(report, parameters, dataSource); virtualizer.setReadOnly(true); bytes = JasperExportManager.exportReportToPdf(print); Please help me in using virtualizer as we run of memory because of huge data.
  5. Hi, I too face the same problem wherein image gets loaded and when saved also it is there.This works only in Windows machine and not in Linux machine.I checked the browser settings too.Still it is happening.My application is deployed in linux machine and iam accessing through IE in Windows machine.I have set the "isLazy" equal to true and "evaluation time " as report. If i set isLazy=true,the image is not getting loaded in linux box but gets loaded in windows.If i uncheck it,the image gets loaded in Linux box as well but when saved the image is not coming. Please help me in this. Post edited by: sudha_ramaiah, at: 2007/03/23 06:17
  6. Thank You.I have set the proper x and y for all the elements in the report.There is no problem with the grids but the problem happens only when there is a text with larger content which cannot fit the cell height.
  7. We have three different reports PDF,EXCEL and html.Paginaiton has to be done for PDF whearas in Excel it should not.In excel,it has to fill continuosly till the max rows allowed in the excel and then it has to move on to the next sheet. I tried with the IS_ONE_PAGE_PER_SHEET making false and also isIgnorePagination for Excel.It worked but the column headers repeat inbetween.I tried moving the column headers to page headers but it not work out.Please help me in avoiding the repeating colum headers in excel.
  8. Can we achieve the autoadjust of cell height in excel based on the content? I have set the stretchifoverflow for all the fields in the report.I have also set the excel parameters,IS_AUTO_DETECT_CELL_TYPE and IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS to true.But the content does not appear properly.I tried with stretch with tallest object property also for all the fields in the report as i do not know which field will be longer in a particular row though i know the max width field in the report.For some,unneccassary rows are created in the excel and for some the cell height is not enough to fit the content.The rows have to manually extended to see the contents properly.Please help. Thanks.
×
×
  • Create New...