-
Notifications
You must be signed in to change notification settings - Fork 397
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
Regarding Jakarta EE 10 implementation of BIRT to work with wildfly 27 #1172
Comments
Hello there, To add some additional informations, what I saw not working on Jakarta EE 10 at this moment is the Viewer Tag Library. When trying to deploy a project including the "viewerservlets.jar" with tag library enabled, it runs into lots of "java.lang.NoClassDefFoundError" exceptions.
And finally, the deployment ends with :
The new Jakarta EE 10 specifications replaced all "javax" package namespaces by the "jakarta" one that I think causes all of these java.lang.NoClassDefFoundError exceptions. |
Thank you for your time and response. Yes, you are right. So, viewerservlets.jar jar should implement "jakarta" namespace in order to support Jakarta EE 10. Thanks, |
Thanks for the analysis. Can you provide a patch? The Contribution Guide is here. |
Hello Team |
We have not worked on it. Please, members of this discussion, provide a patch. The Contribution Guide is here. |
I would just like to note that we currently are using Jetty10, which some parts of the Eclipse 2022-12 release rely on. A move to the jakarta namespace would require us to use Jetty11 instead. I have, in principle, nothing against this, but it would probably require us to maintain two separate branches of BIRT since the javax namespace is far from dead. Some of the tools we are using, like axis 1.4, rely on the javax namespace. We probably would need to move away from those. |
Thanks for the prompt response Axis2 1.8 regards |
@wimjongman , @claesrosell , @merks Short note: the report viewer isn't moved currently to "jakarta". Please correct my interpretation, in my understanding the viewer should be moved |
I imagine moving to Jakarta might be a significantly time consuming process and it's not at all clear that all your libraries/dependencies can even accommodate that! Furthermore, I don't see that building with Java 17 is in any way related to Jakarta. The JDK does not contain, use, nor provide anything from the jakarta namespace nor will it ever do so, so there is no relation. |
Sounds good for me. In my mind the usage of JDK17 is directly combined with the module handling and the removed javax from java-core. |
No, modules kicked in for Java 9 and only parts of javax were migrated to jakarta, i.e., only the JEE things. So not to worry of course eventually one will want to migrate. But I would plan for such a thing at the start of a release cycle. Even the Eclipse Platform itself is only in early stages of such migration... |
Hi, it is not exactly "clean" but for your information we are running BIRT within a Jakarta project on tomcat 10.x without issue. We use the BIRT engine and BIRT web viewer within our web application to run a variety of different reports. We certainly do not use all of the features that BIRT exposes, so this may not work "everywhere" or for "everything". We accomplished this by using the tomcat translator to automatically translate all of the BIRT jars to Jakarta. In terms of third parties it was mostly okay, but we did have to also translate axis and make one api change there for Servlet 6. There are some other peculiarities to our build as well, such as not using OSGI, subbing in maven central artifacts for the orbit ones where we can, some other dependency upgrades, etc. In addition the tomcat translator does other undesirable things to your jar files, such as stripping signatures. Certainly would be some work to convert BIRT to Jakarta upstream. Simply commenting for anyone who needs to run BIRT on Jakarta sooner, it's certainly possible. |
Thanks for the feedback @dm-ion. It is encouraging. |
Hi @dm-ion. |
We are trying to migrate it to use EE10, but found out ViewerServlet/ViewerServletContextListener in 4.14.0 still use javax.servlet.ServletConfig; Any plan to to replace above with jakarta? |
Yes, the replacement is planned, but won't be upcoming directly with the next release |
Thanks @speckyspooky Any time frame we can expect BIRT to be compatible with Jakarta EE 10? Especially since everybody is forcing "java 17" aka.. spring etc. |
This is really something I would consider priority 1 above all else. Everyone has been on Jakarta EE for some time now, BIRT is simply not runnable on wildfly above version 26 e.g. Any input on what priority you guys are giving this? |
Hey Roel, we prioritize it, but we are all unpaid volunteers. If Upsilon would like to sponsor this, please contact me. I can make a quote and work with the BIRT developers to make this happen. |
@roeltje25 Some additional information. Your note isn't correct at all. In my product I use WildFly 29 upcoming is WildFly 30 und I use the OSGI runtime of BIRT 4.13 (4.14 upcoming) and all is fine. |
Latest update on it BIRT 4.14 is working with WildFly 30.0.1 |
I found this on youtube, just for reference: https://www.youtube.com/watch?v=bO3_pjuSjYQ |
Has anyone tried using https://tomcat.apache.org/download-migration.cgi to migrate BIRT code to work with Jakarta EE? |
I still see javax namespace in the coreapi 4.16 version is this going to be replaced by jakarta soon? |
Hi, for information we succesfully make Birt working with tomcat10.0.0 (Jakarta EE 9) only using the tomcat translator to automatically translate all of the BIRT jars to Jakarta, this one : https://tomcat.apache.org/download-migration.cgi |
@Jokerinout does it work with BIRT Viewer? |
Hi Team,
We have been using the eclipse BIRT in our product and we are planning to support wildfly 27 to our product and which is a Jakarta EE 10 implementation. As part of this support, BIRT also need to be with Jakarta EE 10 implementation. It seems that the latest version of eclipse BRT (4.12.0) doesn't have the Jakarta EE 10 implementation. Could you please let us know if you have a plan for this implementation ? if so, any timeline.
The text was updated successfully, but these errors were encountered: