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

lshannon

Members
  • Posts

    182
  • 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 lshannon

  1. I would think it would. It can be configured in the jasperreports.properties file. You would need to have one of these on each machine that had a version of JR.
  2. I have worked with some very large reports and not had issues. When the report is filling with data, the pages are built/stored in memory. For larger reports (more data) you sometimes have to implement a virtualizer (this moves some of the page data from memory to the file system). This is something you might want to look into, but I don't think it is the issue here. However I think this probably is the result of something in your report design. A loop perhaps that is consuming all the memory. Why this doesn't happen on your machine I don't know. Can you post the JRXML for the subreport?
  3. Different Shannon :-) What is the difference between Prod and your machine? Any OS differences? JVM differences? Could be a package JR depends upon that is a different version (unlikely). Lets start with the OS and JVM.
  4. Where are these repeated values coming from? If it is from a DB you could use your current report's detail band to write out some data, then insert a subreport into the detail band. The subreport would contain a query to get these repeated values and write them out (its detail band being called from within the main reports detail band). Hope this helps. Post edited by: lshannon, at: 2008/07/09 19:20
  5. The only time I have seen a subreport overflow is when a subreport is placed in the "LastPageFooter" band (this band has no-where to grow too so if the subreport grows larger than the band the report breaks). Can you paste the entire stack trace?
  6. I took a look, not sure what the problem might be. For the PDF encoding, I see you have unicode with horizontal writing. Does Hindi have any vertical writing (sorry for such a silly question but I don't think I have ever seen hindi)?
  7. I think what you might have to do is construct the datasource in a external java class. The method returning it needs to be public and static. Then for the datasource expression you can just call that method. Perhaps someone else might think of an easier way. Hope this helps.
  8. Hmmm. For a test can you make the textfield size extra big to rule out layout issues (on the ones that are getting trimmed)? Are you using the BigDecimal round function on the value?
  9. What sort of datasource expression are you using for the subreport? Perhaps you could upload the JRXML for the main report?
  10. The type of $F{Role} needs to remain in Integer. Keep the exact expression you have, but change the type of the expression to String. If you are working in iReport and you created this textfield by dragging it into the report design, iReport will create a textfield with the fields type by default. But your expression returns a string so you need to update the textfield type to reflect this. Hope this helps.
  11. These are seperate report correct? Not one report with many subreports? There is no simple way to dynamically change the datasource in iReport. Basically whatever one is selected in the UI is the one that is used to fill the active report on the screen when you press the Execute (with active connection) button.
  12. What is the version of Java, iReport and your Linux distro?
  13. Something similar happened to me once when using Arial. Linux doesn't have it so a comparable font (Helvetica I think) end up being used which might consume different space in the textfield. All I can think of is try switching to a font like Helvetica, Lucida or Courier in Windows then redeploy to Linux to see if that helps.
  14. I don't think the entire JRXML file got pasted in. The report properties section is missing, also there is no query (unless this is a java bean report or csv, in which case no query tag is required). To properly help you the entire JRXML file is required.
  15. I have done something like this. Check out: WEB-INF/decorators/Main.jsp (main layout for sitemesh) WEB-INF/jsp/repository/defaultView.jsp (cookie trail for repository) If you want to do something on a role basis you can surround your code in something like this: Code: <authz:authorize ifAllGranted="ROLE_TEST"> some html for the test user </authz:authorize> Hope this helps.
  16. I am not sure I understand the question. Do you mean in your main report you have a subreport, and when the main report is filled nothing is showing up for the subreport (and you are expecting the subreport to display some data)?
  17. I don't think this is possible. From what I have seen the main report dictates the page orientation.
  18. I never use the docked window, I always use either the right click pop up or the 'All' tab to modify properties. I will however start using it a little to see if I notice the same issues.
  19. I have been stuck with a problem of my own and have not had a chance to circle back to this. What I would do, if I had the time, is move this code into a servlet and then debug it with eclipse on tomcat. This way could could check the state of all your variables before you render the response. Sorry I can't be of more help right now.
  20. Hmmm, I have actually never had to modify mine so I am not sure. Something seems weird with this whole thing. Is there any way I could look at the XML file you are working with? I would like to see if this can be duplicated.
  21. What is your version of Java and operating system?
  22. What version of iReport, which OS are you running on, what is the version of Java? Also if you start iReport using the iReport.bat file, you will get a command window in the background that will show any stack traces. Please post anything that shows up when you try to open or save. Post edited by: lshannon, at: 2008/07/03 19:40
  23. I just took a very fast look at your code. It looks like you are creating the FileOutputStream before you actually export the report. Try moving that line down to after you call exporter.exportReport()? Hope that helps.
×
×
  • Create New...