Question

my company is using Pentaho 3.8.0 already few years (two or so).

Until this week, we had no problem with generating reports in PDF format. Unfortunately, this week we had some memory issues on our server, where pentaho is running and I had quite busy times with it, where admin killed pentaho to solve memory issues.

I do not know what he exactly did, but I had to restart whole biserver several times to make it work. But it wasn't sending scheduled reports, so i Refreshed everything in Administration console, which made Scheduled report to be sent again.

But, when I try to generate PDF file, or when PDF report is send via schedule, file is not readable. On web, it says "file not found'. As schedule, it send PDF file, but only 1kb and it says "File is corrupted"..

How to check PDF generating engine, or restart it, or something similar? (Restarting server is of course not possible).

Was it helpful?

Solution

Check the logs first. They contain an overview of the error being thrown. Check out this post on details for viewing logs 'Pentaho report generating log (not report designer)'.

If that does not help then try to generate your report in any other format like .xls from your server. In case your server is hardcoded to throw reports only in .pdf format, then you can publish your .xmls and .xactions directly in your Pentaho bi-server and generate the report in the .xls format. The excel file can be opened even if it has errors and the error code can be obtained from there.

Now from my knowledge, the error codes indicate two scenarios mostly:

  1. There is a problem in your .xaction file which can be due to the connection arguments being passed or the data not querying properly.

  2. If all this is correct, then the error code will indicate something like a connection issue. In this case the only option you have is to restart the server and check. Sometimes deleting the files from the server and placing them again and the refreshing it also helps.

Try some of these options. Hope you figure out your issue. Good Luck.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top