birt 17/18 #1947
-
div Birt Problems in all doc ->config.setEngineHome( "...ReportEngine" ); birt 15 runs with problems in header after page - the "header on every page" has no funktion birt 17 IReportEngineFactory factory = (IReportEngineFactory) Platform.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY); even so birt 18 latest its not so lucky that in report/libs are jars without module info - that is 10 years old ..... and its not to use |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments
-
It woudl be good if you can provide a demo report for the word-topic then we can take a look into it. Your common decription is not really clear so I din't understand your problem with the 10-year, You are welcome to publish PRs which solve the problems. I use the product not integrated in a java environment so you mentioned specific topics where not all people nows what you mean or can solve it for you. |
Beta Was this translation helpful? Give feedback.
-
Hello, i support 10 projects the last very good version was 4.6 - all after are instable or not runnable now version 17 in test ehh so oldjars in lib ??? also i delete the jars i build a little test version - than the next post |
Beta Was this translation helpful? Give feedback.
-
I ecounter same problem with Birt 4.17 (OSGI) in Java-Environment. !SESSION 2024-10-16 13:28:59.421 ----------------------------------------------- !ENTRY org.eclipse.birt.core 4 0 2024-10-16 13:28:59.421
!ENTRY org.eclipse.osgi 4 0 2024-10-16 13:28:59.424 |
Beta Was this translation helpful? Give feedback.
-
@wimjongman & @merks The problem 1: The problem 02: |
Beta Was this translation helpful? Give feedback.
-
The first error doesn't sound like an OSGi error but rather an error you might get when you try to use a jar on the java module path. The package mentioned in the second error comes from this jar: Without details about what the user is doing to set up the classpath or OSGi environment it's not possible to answer the question. The runtimes we redistribute tested that they launch without these errors... |
Beta Was this translation helpful? Give feedback.
-
@merks We integrate Birt via OSGI in a java-webapp (Java 21 as Runtime Environment and Apache Tomcat 9.0.86). The Birt Engine from the osgi-zip is located in our webapp-war under WEB-INF/birt/reportEngine (folders plugins and configuration from the osgi-zip) and birt engine is configurated and started via the suggested setup accoring to the bit-documentation (see here: https://eclipse-birt.github.io/birt-website/docs/integrating/reapi). Also: I'm not sure if this means anything, but I notice that there are considerably fewer files in the OSGI zip (in ReportEngine/platform/plugins) as of version 4.17.0 (before version 4.17.0 there were about 250 files, as of version 4.17.0 only about 150 files). |
Beta Was this translation helpful? Give feedback.
-
Yes, we reduced the content significantly. E.g., there were many Eclipse UI dependencies that just didn't belong. I can see the the bundle providing the package is available here in the zip: We do test both runtimes: https://ci.eclipse.org/birt/job/build/job/master/lastCompletedBuild/testReport/org.eclipse.birt.sdk/ So I'm really not sure what else to tell you. |
Beta Was this translation helpful? Give feedback.
-
To test that everything works as expected download the birt-runtime-osgi-4.17.0-202409160710.zip file from the downloads area and extract it somewhere. Then open a command line and navigate to the ReportEngine directory Then run Then run The PDF will be created in the |
Beta Was this translation helpful? Give feedback.
-
The commandline execution of BIRT 4.17 works like expected. The demo-report was created correctly: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I converted this to a discussion. We can create specific bug reports for specific issues from this one. |
Beta Was this translation helpful? Give feedback.
-
I finally got the BirtEngine running and I would like to share my findings in case someone else is struggling with similar problems. 1. Problem: 2. Problem:
Solution to 1: Solution to 2: With the combination of the solutions, the Birt Engine finally starts through my Java application, and the printing works. So thank you all for your help! |
Beta Was this translation helpful? Give feedback.
I finally got the BirtEngine running and I would like to share my findings in case someone else is struggling with similar problems.
1. Problem:
I have two custom-written plugins that were probably not compatible with Birt 4.17. (This was likely the cause of the first error)
2. Problem:
When configuring the Birt Engine, I included the following code to obtain log outputs:
Solution to 1:
I updated the plugins and recompiled them with the Birt 4.17 sources.
Solution to 2:
I removed …