-
Notifications
You must be signed in to change notification settings - Fork 388
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
Report viewer failing again. #649 #733
Report viewer failing again. #649 #733
Conversation
Removed the upper version limit for javax.servlet and javax.servlet.http since javax.servlet 4+ is used.
Moved to a WebAppContext based configuration instead of a mix of Webapp Bundle / ContextHandler. Also explicitly added WebXmlConfiguration support
Added org.eclipse.jetty:apache-jsp to the targetplatform, configured jsp InstanceManager in WebAppContext, added all jsp dependencies to Viewer bundle and the debug configuration.
Removed all the pre-compiled servlet and servlet-mappings from web.xml. I think these should be added automatically during pre-compilation
Fixed invalid target platform definition.
This is great! |
Thanks, Claes. Awesome work. The local dev viewer is working but the product does not at this moment. It is failing with a 503. Looking at the differences between my workspace and the product I see the following missing jetty items (in the product):
There are other differences, but let's add these first. (not the issue -> see next comment) |
I have found the issue with the product. It seems that the extra entries in the web.xml which were removed by Claes, are automatically generated during the build. Removing the generated data from the web.xml solves the previewer and allows to generate all formats. The web.xml to change is here: plugins/org.eclipse.birt.report.viewer_4.9.0.v202111221047/birt/WEB-INF |
I will need to get the build environment up and running to solve this. I will try to do that tonight. |
Changed so that the correct deployment descriptor is used by jetty.
I have tested this with the "org.eclipse.birt.designer-win32.win32.x86_64" product and it works for me. |
Claes, you are marvelous. Thank you!! |
Please review