Jump to content
Changes to the Jaspersoft community edition download ×

Problem with Weblogic 7.0 to export Report.


Recommended Posts

By: cyril - cyrilgus

Problem with Weblogic 7.0 to export Report.

2003-04-03 01:04

Hi everybody,

I try to use jasperReport with Bea Weblogic 7.0 to export report to PDF. The line: return JasperExportManager.exportReportToPdf(jasperPrint) doesn't work, it return nothing whereas jasperPrint in not null.

Could anyone help me ?

Thanks.

Cyril

 

 

 

 

 

By: dturiso - dturiso

RE: Problem with Weblogic 7.0 to export Report.

2004-02-17 02:17

I've the same problem, but couldn't find the solution by now.

 

After debugging on Weblogic and a bit more investigation I've found at that the problem is due to the ClassLoaders Bea uses.

The problem is that the PDF fonts (iText.jar/com/lowagie/text/pdf/fonts/**) are not loaded by the JRPdfExporter.exportTest(JRPrintText text) method that invokes the JRLoader.loadBytesFromLocation(fontName) method.

 

If you see the code of this latest methos you'll see that different tries of loading the fonts are tries (as a File and with different ClassLoaders). No of them with success.

 

I'm still investigating. If someone finds out the solution, please report the solution

 

 

 

 

 

 

By: dturiso - dturiso

RE: Problem with Weblogic 7.0 to export Report.

2004-02-17 03:37

Finally, I've found out the problem.

 

In my case it was iReport and its CP1252 vs. Cp1252 pdf font encoding.

 

Try to see if in your *.jasper or *.xml there is a String like "CP1252" (with capital P). In this case replace all the appearences by "Cp1252".

 

See:

 

https://sourceforge.net/forum/forum.php?thread_id=954508&forum_id=113530

 

Hope it helps

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...