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

bblagus

Members
  • Posts

    4
  • 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 bblagus

  1. Greetings hozawa, unfortunately there is no way to change the old JR 4 applications, and JR 6 application has jasperreport.jar in war. The plan is to upgrade all of them to JR 6, and I try to find some solution to do this upgrading in phases. regards, bblagus
  2. Thx! I already have my courier.jar as the library for Jasper 4, but it doesn't help. It seems that the only reliable solution is that with two tomcats.
  3. Thank you for the prompt answer. So, just to explain the situation. The applications with Jasper 4 and Jasper 6 are two different applications. The problem (error) comes only on Tomcat server running on Linux. On Windows (my locale Tomcat server) everything is OK. So, when I start as the very first application after Tomcat server restarting (Linux server) , the application that uses Jasper 4, everything is OK. There is no error at all. Jasper 4 and Jasper 6 work fine. The problem appears when the very first application uses Jasper 6. Then all Jasper 4 applications that have "isPdfEmbedded=true" end in error. I have many Jasper 4 reports. I plan to migrate them to Jasper 6, but I can't do it all at once. Example from Jasper 4 that causes an error: <font fontName="Courier New" isBold="true" pdfFontName="" pdfEncoding="Identity-H" isPdfEmbedded="true"/> In Jasper 6 I changed it to: <font fontName="CourierIS" isBold="true"/> where CourierIS is my own font added to jasperreports-fonts.jar So, I will be grateful for the new ideas. regards Branka
  4. I am a java program developer and using your Jasperreports products. Until recently I was using iReport 4.5.1, but now I decided to migrate my reports to Jasperreports 6. 5.1 So, using the Jasperstudio 6.5.1 I migrated some of my reports to the Version 6.5.1. My web applications are runnig on the Tomcat Server version 8.5. My question is: is it possible to run on the same web server jasperreports 4.1.1 and jasperreports 6.5.1? I have noticed that if I start report using jasperreports 6.5.1 after starting tomcat server as the very first program, then it is not possible to run the reports using jasperreports 4.1.1 any more. The error i get is: net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font: pdfFontName: Helvetica pdfEncoding: Identity-H isPdfEmbedded: false at net.sf.jasperreports.engine.export.JRPdfExporter.getFont(JRPdfExporter.java:2340)at net.sf.jasperreports.engine.export.JRPdfExporter.getChunk(JRPdfExporter.java:2123)at net.sf.jasperreports.engine.export.JRPdfExporter.getPhrase(JRPdfExporter.java:2092)at net.sf.jasperreports.engine.export.SimplePdfTextRenderer.getPhrase(SimplePdfTextRenderer.java:64)at net.sf.jasperreports.engine.export.SimplePdfTextRenderer.render(SimplePdfTextRenderer.java:73)at net.sf.jasperreports.engine.export.JRPdfExporter.exportText(JRPdfExporter.java:2453)at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements(JRPdfExporter.java:1109)at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:1068)at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:932)at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:552)at net.sf.jasperreports.engine.JasperExportManager.exportToPdfStream(JasperExportManager.java:196)at net.sf.jasperreports.engine.JasperExportManager.exportReportToPdfStream(JasperExportManager.java:533)[/code]The other reports that are using Jasperreports 6.5.1 are working fine. All librariers (jar files) for Jasperreports 4 are in the "share" folder of Tomcat server. The libraries for Jasperreports 6 are in application's war file. Do you have any advice? Best regards Branka Blagus
×
×
  • Create New...