-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy more content into the lib folder of birt-runtime-osgi #1349
Conversation
I.e., jakarta.xml.bind, org.apache.commons.logging, and org.apache.commons.discovery/*.jar #1340
@merks |
I have a good feeling when all the jars line up that we will have it right this time. The ant script still feels fragile and adhoc though but at least we understand the potential source of problems and how to manually assess the content by comparing to a previous version. I wonder if any of the jars are unnecessary… |
I tested the new osgi built and the service is running and also the report examples could be generated. |
Woo hoo! 🎉 I'm also working locally on running the tests for the runtimes, including for the OSGi runtime, though the later feels like a hack because the tester does not really launch it as an OSGi runtime... |
Well done guys. I am following all your work and it is just wonderful. I envy your skills. I will take the runtimes for a spin as well when the build is done. |
I think it does. If you follow Platform.startup: birt/core/org.eclipse.birt.core/src/org/eclipse/birt/core/framework/Platform.java Line 68 in b496c6b
|
Ah that’s good reference! The point is that the |
Ok, the birt.war files in both runtimes do not run correctly.
I tried to deploy them in tomcat 9 |
The only thing that is logged for the failing report in tomcat is: 25-Jun-2023 13:55:56.039 WARNING [http-nio-8181-exec-8] org.apache.axis.utils.JavaUtils.isAttachmentSupported Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. |
javax.activation is in the lib folder. I don't see javax.mail in the older lib though. |
I tested the birt.war of osgi-runtime from my side Tomcat 9.0.76 & Java 17.0.5+8 with the latest built of yesterday evening. And @wimjongman from my side all is running:
I can confirm that the error-log of tomcat shows 1 warning: My Screen of my testing:Screen of error-log: |
The warning can be solved with the added dependency of:
My test avoid the warning with adding the "javax.mail-1.4.6.jar" to the lib-folder. |
Now I tested the latest built from yesterday evening "birt-runtime-4.14.0-202306241949" standard (None-OSGI). Test steps:
Result:
The only thing was the the standard-error-log shows the same warning like OSGI but the rest only notes for information (no critical entries!) My result screensBIRT-OSGI-Runtime and BIRT-Standard-Runtime tested with FireFox & Chrome and looks good on my side |
I am running my Tomcat on Ubuntu 22. I can't get the reports to popup in any browser. Maybe it is my config, I will try again with the latest builds. |
I.e., jakarta.xml.bind, org.apache.commons.logging, and org.apache.commons.discovery/*.jar
#1340