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

akasson

Members
  • Posts

    26
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by akasson

  1. Thank you for the response. We use jasper 4.0.2. It first retrieves data from database, then it generates the output. List data = getDataFromDatabase(..) // retrieve data from database JRBeanCollectionDataSource dataSource = new JRBeanCollectionDataSource(data); // process Jasper report In this case, does the timeout we set in jasperProperties file include the time our application retrieves data from database ? I don’t think it includes but want to confirm. Thanks.
  2. net.sf.jasperreports.governor.timeout is used for jasper report timeout. Does this timeout value only include the report rendering time after data is available for the report ? i.e. it excludes the data retrieval time like querying from database, etc, correct ? Thanks in advance.
  3. In jasper, is there any default value for “isReprintHeaderOnEachPage” when we don’t specify any value for it ? If there is, what is the default value ? Thanks in advance.
  4. In .jrxml file we can set <reportElement width=.. height=.. … isPrintWhenDetailOverflows=”true/false” /> If I don’t set any value for isPrintWhenDetailOverflows, Does jasper provide a default value for it and what’s it ? Thanks in advance.
  5. I found some options to set a timeout for jasper report. With such setup, the report execution will be terminated once the time it has taken reaches that limit. Question is – Our jasper report is hosted within a web application, Suppose one client request reaches timeout limit and gets terminated, will it affect future incoming requests ? i.e. once one request reaches timeout and gets terminated, from that point on will it permanently shut all the future requests for this report?
  6. Thank you for your response. I will try those options. What is perplexing to me is that the error occurs intermittently. Works fine for a number of days, then the issue occurs. App is then re-started, and then we run the same report with the same parameters from which the error occurred, and then no issue.
  7. I have a number of reports in production written in Jasper, that have been running fine for years. All of a sudden, and not all the time, some reports are not working due to this error: ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause action: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is net.sf.jasperreports.engine.JRRuntimeException: Infinite loop creating new page due to page header overflow. net.sf.jasperreports.engine.JRRuntimeException: Infinite loop creating new page due to page header overflow. at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVerticalFiller.java:421) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:264) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:128) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:946) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:864) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:84) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:624)....... I thought it had to do with users running large searches, but that's not the case. The wierd thing is, it doesn't happen all the time. Some days, it's fine. When the error occurs, the reports don't work, and the application has to be restarted. I googled the error of course, seems like it has to do with sub reports. But why all of a sudden, and why not all the time? Wouldn't a page flow error occur everytime if there was a bug? This is a J2EE application written in the Spring Framework housed on WebSphere. Jasper 4.0.2. Developed in iReport. Java 8 compliant. Any assistance is greatly appreciated. Thank you.
  8. Thank you for your input, i am just not sure why it is using a deprecated method, i have no references to it. It might have to do with Spring that integrates with Jasper - i am using an old version of Spring. This is the system out log output: org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'monthlyOrderReportHtml' defined in ServletContext resource [/WEB-INF/jasper_views.xml]: Class that bean class [org.springframework.web.servlet.view.jasperreports.JasperReportsHtmlView] depends on not found; nested exception is java.lang.NoClassDefFoundError: net.sf.jasperreports.engine.design.JRDefaultCompiler
  9. I am upgrading the jasper reports component from version 4.0.2 to version 6.3 in a J2EE application configured with Spring MVC. Using Jaspersoft Studio 6.3, the reports compile fine. In the application source IDE (Eclipse)i removed the jasperreports 4.0.2 jar, and added the 6.3 jar, configured the build path, etc. When i start my application on my local workstation, a compile error occurs. Seems that the compile logic is looking for "net.sf.jasperreports.engine.design.JRDefaultCompiler.class" But this class does not exist in jasperreports 6.3 jar. It existed in 4.0.2, but not 6.3. The class that is seems it should look for is: net.sf.jasperreports.engine.design.JRDefaultCompilationSourceCode.class I don't know why my application is looking for JRDefaultCompiler class, i have no references to this in the application. As anyone experienced this? Any ideas is greatly appreciate, thanks in advance.
  10. Hello, I am trying to install the Jasperreport eclipse plug in 6.3.1 in Rational Application Developer (9.1.1.2) and i am getting the following dependency error with an existing Fortify plug in. Cannot complete the install because of a conflicting dependency. Software being installed: Jaspersoft Studio feature 6.3.1.final (com.jaspersoft.studio.feature.feature.group 6.3.1.final) Software currently installed: Fortify Audit Plugin for Eclipse 16.20.157 (com.hpe.fortify.complete.audit.feature.group 16.20.157) I tried to run RAD as an administrator, same issue. The Fortify plug in is the latest version. I am installing in RAD using 'Help => Install New Sotware" => Available Software Sites => selecting the archive, etc. Any help greatly appreciated. Thanks in advance.
  11. I saw that post, and tried the answer, but it does not work. I do not get a new line for each record on the csv output. Thanks.
  12. Hello, I am trying to get the output on a csv export process to create a new line for each record. I am setting this in the jrxml for the report. <property name="net.sf.jasperreports.export.csv.record.delimiter" value=""/> No matter what i put in the value, nothing works. I tried rn and that just prints out the same value. Also tried the xml entities for CR and LF (for Windows), but that did not work either. Basically the report output just runs altogether. My client wants to be able to download report data into a csv file, but i can't give them this. I am using version 4.0.2. The reports are configured using Spring. Any insight greatly appreciated. Thanks in advance.
  13. Hi Juan, thanks for your response. I tried this before I posted my topic, and it did not work. However, I did solve the problem. I had to copy my entire "jre6" folder in to my folder, AND rename the folder name from "jre6" to "jre". So, in my "ireport.conf" file, i set the jdkhome var to :jdkhome="C:iReport-5.5.0jre" Only then could I get the templates to open up. I hope this helps someone out there that was having my same problem. I just posted this as an answer.
  14. Hi Juan, thanks for your response. I tried this before I posted my topic, and it did not work. However, I did solve the problem. I had to copy my entire "jre6" folder in to my <iReportPath> folder, AND rename the folder name from "jre6" to "jre". So, in my "ireport.conf" file, i set the jdkhome var to :jdkhome="C:iReport-5.5.0jre" Only then could I get the templates to open up. I hope this helps someone out there that was having my same problem.
  15. I guess this forum doesn't have much activity. I can't pay for support is there any other jasper forum to get help? I don't understand why ireport is looking for "com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl". The implementation class is located in xerces.jar, but the class is "org.apache.xerces.internal.jaxp.SAXParserFactoryImpl", without the "com.sun". Any ideas?
  16. My workstation was upgrade to Windows 7 64 bit, and now I cannot open any jrxml files created in iReport 4.0.2. I download 5.1 and same problem. I searched and found some others posting the same question, but no real answers on how to fix. I have changes to make in reports, and I can't even use this product anymore. Any help? thanks in advance. ------------------------------------------------------- Error loading the report template Message: net.sf.jasperreports.engine.JRException: javax.xml.parsers.FactoryConfigurationError: Provider com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl not found Level: SEVERE Stack Trace: javax.xml.parsers.FactoryConfigurationError: Provider com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl not found com.jaspersoft.ireport.designer.JrxmlLoader.reloadJasperDesign(JrxmlLoader.java:102) com.jaspersoft.ireport.designer.JrxmlVisualView.run(JrxmlVisualView.java:505) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Provider com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl not found javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source) net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.createSAXParserFactory(JRReportSaxParserFactory.java:119) net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.createParser(JRReportSaxParserFactory.java:101) net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createParser(JRXmlDigesterFactory.java:1338) net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:1313) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:205) com.jaspersoft.ireport.designer.JrxmlLoader.reloadJasperDesign(JrxmlLoader.java:87) com.jaspersoft.ireport.designer.JrxmlVisualView.run(JrxmlVisualView.java:505) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
  17. Did you ever find an answer for this. I cannot open any existing jrxml file because of this error. Thanks.
  18. Hi, did you ever get an answer for this? I am having the same problem, and I can't even open existing jrxml files. Thanks.
  19. Hello all - I have upgraded our project reports to Jasper 4.7. When executing in iReport 4.7, all is well. Once I integrated into my eclispe project, some reports are not being created, and I am getting the following error: [9/13/12 15:44:41:237 EDT] 00000025 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [servlet Error]-[action]: java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) at net.sf.jasperreports.engine.fill.JRFillTextField.getFormat(JRFillTextField.java:706) at net.sf.jasperreports.engine.fill.JRFillTextField.evaluateText(JRFillTextField.java:394) at net.sf.jasperreports.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:368) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:258) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:499) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2036) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeader(JRVerticalFiller.java:621) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeaders(JRVerticalFiller.java:543) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:268) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:128) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:946) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:864) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:84) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:624) Judging from my google research, it looks like it could be some type of compatibility issue. I have included jasperreports 4.7 jar in my eclipse build path, so i am wondering if it is not compatible with our Hibernate 3.0 version. Does 4.7 require a higher Hibernate version? All was well with iReport / Jasper 4.0.2 Thanks in advance, Alex
  20. Reporting the same problem, this needs to be fix pronto. Just upgraded to 4.5.1 from 4.0.2 and reports don't compile when deployed. Not good.
  21. I have a variable called 'officeStr'. When the value of a field is 'F' the column in the detail band should print out 'FW', else it prints 'DC'. The wierd thing is, it prints DC all on one line, but for FW, it truncates the 'W' and places on the next line: DC F W I attached the jrxml
  22. I know this was awhile ago, but I can't find the answer to this issue, other than to upgrade. I had this problem in 4.0.2, and i just upgraded to 4.5.1, but the issue still exists. Anyone have an answer? Sorry if i missed this is another thread.
  23. We have a production application using JasperReports 2.0 to generate reports, with Spring MVC 1.2. The reports display in html, pdf, and excel fine with Websphere app server version 6.0.2.23, but once our admins upgraded our test server to 6.1, the reports are not generated, i.e. a page not found occurs. Our logs do not show any errors except for a re-direct to our 404 page. Anyone else experience this issue? Thanks.
×
×
  • Create New...