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

pumaking

Members
  • Posts

    62
  • 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 pumaking

  1. Hi, I still didn't solve the problem. For the reports that I want to get a compressed PDF as export I checked the property and also checked the IReport writes it correctly into the XML. This is the code: It seems to be correct. But when I run the report in Jasperreports server (5.0.0. at the moment) and export it to PDF there's no difference in size. Can anyone help?
  2. Hi, I just wanted to upgrade a test installation of 4.5 CE to 5.0 CE. I followed all steps as described in the Install guide and also the test mode returned OK. When I run the script "js-upgrade-newdb-ce.bat" the log returns: BUILD FAILEDC:Jasperreportsbuildomaticbinapp-server.xml:596: C:Jasperreportsbuildomaticinstall_resourceswarjasperserver does not exist. What can I do, the named directory doesn't exist in the WAR-File download for 5.0.0. Is it a bug?
  3. Any idea on this? At the moment I'm not able to upgrade to 4.7 productive with these errors. It would be nice to do so because then e.g. the bug with empty scheduled reports should be fixed.
  4. Hi, I experience the same issue as described here in Jasper Reports Server CE 4.5, and it is still unsolved.
  5. Hello, is there a solution for this without changing the code now? I also tried using the "reportLocale" parameter without success.
  6. Hi, I'm also interested in a solution for this because for the user it is much easier to change the report language with an input control rather than changing the locale while logging in.
  7. Hi, I want to use Jasper Reports for generating a label. I configured everything as needed in the report but I have on emain problem: The database only has one record which I want to use. But I want to print out e.g. 40 labels from this record. So technically I need an option to choose how many times one record in the detail section should be repeated. The ideal solution would be if I could use a field from the record for this amount. I hope I explained it well and someone can help me.
  8. Thanks for the answer. Can you explain how I would to that ("writing something")?
  9. Hi, I'm using Jasper Reports Server 4.5 at the moment. Now I created a report with many schedules. I created it in a special folder where I usually develop my reports. The problem is that when I copy my final report to the destination folder it doesn't copy the schedules. Is there a way to achieve this or do I have to recreate all the schedules manually?
  10. I no tried to use another way to upgrade to 4.7. I set up a new server and installed 4.5. Then I imported my existing repository from my productive 4.5. installation with js-import. This worked well and all reports seem to work fine. Then I upgraded the 4.5 installation to 4.7 with the WAR-file installation as described in JasperReports-Server-CP-Install-Guide in chapter 9. The problems that I mentioned above are also there with this method so this also didn't help.
  11. I also tried to save the reports again with IReport 4.7 set to "last version" compatibility in 4.7 server, but the error remains.
  12. Hi, I want to format a number based on it's decimal digits ( I hope the translation is correct) example: 12,0 = new java.text.DecimalFormat("#,##0").format($V{Whatever}) 12,7= new java.text.DecimalFormat("#,##0.0").format($V{Whatever}) I hope you understand my question. Is this possible?
  13. Hello, you can use conditional styles for that. Therefore you need to create a parent style first (Report inspector/Styles). Then you create a conditional style with the formatting options that you like. In that conditional style you can use an expression like $F{FIELD}<0 . The problem is that as far as I know you cannot reference to the textfield value itself, you always have to use a specific field. So you need to create a conditional style for every field that you want to be conditionally formatted. After doing this you have to apply the newly created style to your textfield.
  14. After thinking some time about my problem I solved it myself: I added an extra detail band. In detail band 1 I put the sub report, in detail band 2 the fields with the conditional style. So I can use the return values that are filled in band detail 1 in detail band 2. That's not really elegant but it works.
  15. Hi, you have to specify the datasource in Jasperserver itself. Therefore in Jasperserver click on "addressource/datacource". Then fill it as shown in the screenshot: https://www.dropbox.com/s/80muidi9ihnuou3/datasource.JPG The URL has to be: jdbc:as400://[sERVERNAME]/[LIBRARY];translate binary=true; Then you have to configure your report to use this datasource in Jasperserver. After that it should work.
  16. Did you copy the jt400.jar into jasperreports-server\apache-tomcat\webapps\jasperserver\WEB-INF\lib on jasperserver? We also use Jasper Server with an ISeries as datasource.
  17. Hi, I set up da test environment for the new 4.7 Server version. There I imported my repository from my 4.5. produtive installation with the js-import script. I didn't have any errors when importing and in the beginning everything seemed to work fine. But for particular reports I now encounter the following error message when I run these: Error Message java.lang.IllegalArgumentException Error Trace java.lang.IllegalArgumentException at net.sf.jasperreports.data.cache.ColumnDataCacheHandler$ColumnDataCollector.addRecord(ColumnDataCacheHandler.java:321) at net.sf.jasperreports.engine.fill.JRFillDataset.cacheEnd(JRFillDataset.java:887) at net.sf.jasperreports.engine.fill.JRFillDataset.closeDatasource(JRFillDataset.java:1137) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:927) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFiller.run(BaseFillHandle.java:120) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousExecutor.execute(EngineServiceImpl.java:733) at net.sf.jasperreports.engine.fill.BaseFillHandle.startFill(BaseFillHandle.java:165) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$AsynchronousReportFiller.fillReport(EngineServiceImpl.java:695) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:1474) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runReport(EngineServiceImpl.java:874) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportRunnable.run(EngineServiceImpl.java:754) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) I also tried to edit the report with IReport 4.7 and saved it with the 4.7. compatibility settings but that didn't help either.
  18. Hi, I want to creat a conditional style based on two return values from two subreports. Generally, this is possible and you can use the return value variables for that. The problem is that I want to use the conditional style in the same band (detail) in which the subreports are. If I want to display the return variables I can set the evaluation time to "band" to display the correct value. But I can't do this with the conditional style. The result is that the style uses the values from the row before so I can't use it properly. Has anyone an idea how to solve this?
  19. Hi, as there are some critical bugs in 4.5. community edition (e.g. empty scheduled reports are sent by mail) I want to know when the 4.7. community edition will be released? Does anybody know?
  20. Hi, I created the property in the report as described by you. There I added the property net.sf.jasperreports.export.pdf.compressed with the value true without double qoute.
  21. Hi, because some of our reports become quite huge when exporting to PDF, I want to compress the PDFs that are exported. I tried to create a report property "net.sf.jasperreports.export.pdf.compressed" with the value "true" but that doesn't work. http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.pdf.compressed How can I achieve that the exported PDFs are compressed by Jasperserver?
  22. Hi, I want to create a report without a datasource. The data that will be displayed should either be static elements or parameters. I can achieve that by using the no data-band but I have one problem: I want to use a numeric input parameter as the number of rows that are generated by jasper. In detail I want to generate a label. Depending on the number that is typed in the parameter, I want to get that number of labels out. Is that possible?
  23. Thanks for your help so far. The problem is that I have a string and a bigdecimal field. So is this impossible?
  24. For me too. But does this have any other negative effects?
×
×
  • Create New...