You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently updating my JAVA code to work with RAP 4.6 and the jakarta ee!0 environment (from RAP 3.x). See : https://eclipsesource.com/blogs/2025/04/01/eclipse-rap-4.x-support-for-jakarta-ee-10/. I always know that there are a few OSGI specific tweaks that I must make, but so far the integration goes quite well, EXCEPT for one thing. If I make a RAP/RWT bundle and I define a servlet or filter in that bundle, then everything works fine. When I log the services, then I see that the servlets and filters get registered with org.eclipse.rap.http.servlet_4.6.0 . The problem that I'm facing is that if I try to add servlets or filters to OTHER bundles that they are not registered with org.eclipse.rap.http.servlet_4.6.0. The declarative service descriptors are added to the OSGI-INF environment and are similar to the ones in the RAP/RWT bundle, so this gives me reason to believe that it may be a timing/sequence issue during startup of the bundles. The problem is that I need to be able to register these servlets/filters in order to develop microservices using the Jersey API. Does anyone know what the problem might be and how I can circumvent this issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently updating my JAVA code to work with RAP 4.6 and the jakarta ee!0 environment (from RAP 3.x). See : https://eclipsesource.com/blogs/2025/04/01/eclipse-rap-4.x-support-for-jakarta-ee-10/. I always know that there are a few OSGI specific tweaks that I must make, but so far the integration goes quite well, EXCEPT for one thing. If I make a RAP/RWT bundle and I define a servlet or filter in that bundle, then everything works fine. When I log the services, then I see that the servlets and filters get registered with org.eclipse.rap.http.servlet_4.6.0 . The problem that I'm facing is that if I try to add servlets or filters to OTHER bundles that they are not registered with org.eclipse.rap.http.servlet_4.6.0. The declarative service descriptors are added to the OSGI-INF environment and are similar to the ones in the RAP/RWT bundle, so this gives me reason to believe that it may be a timing/sequence issue during startup of the bundles. The problem is that I need to be able to register these servlets/filters in order to develop microservices using the Jersey API. Does anyone know what the problem might be and how I can circumvent this issue?
Beta Was this translation helpful? Give feedback.
All reactions