Skip to content
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

Migration from RAP 3.x to RAP 4.0 #259

Open
dwivedi17 opened this issue Dec 16, 2024 · 3 comments
Open

Migration from RAP 3.x to RAP 4.0 #259

dwivedi17 opened this issue Dec 16, 2024 · 3 comments

Comments

@dwivedi17
Copy link

Hello,

We are migrating our RAP 3.x application to RAP 4.x on JBoss EAP 8.0
As of now, we are getting deployment issue related to equinox and BridgeServlet.

Is there any migration document available to help us with this migration?

@ifurnadjiev
Copy link
Contributor

Hi,
in RAP 4.0 we have several new bundles:

  • org.eclipse.rap.http.servlet
  • org.eclipse.rap.http.registry
  • org.eclipse.rap.http.jetty
  • org.eclipse.rap.http.servletbridge
  • org.eclipse.rap.servletbridge
    Please use these bundles and exclude the old Equinox (EE8) bundles.

@dwivedi17
Copy link
Author

Hi @ifurnadjiev

Thanks for your response.
We are already building our application in RAP v4.1, but during deployment on JBOSS EAP 8.0, we are getting- "{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"eP_War-3.5.0.war\".undertow-deployment.UndertowDeploymentInfoService" => "Failed to start service
Caused by: java.lang.NoClassDefFoundError: Failed to link org/eclipse/equinox/servletbridge/BridgeServlet (Module \"deployment.eP_War-3.5.0.war\" from Service Module Loader): javax/servlet/http/HttpServlet"}}"

Aren't these new bundles mentioned by you supposed to be included with version 4.1, as build of the application is also successful. Please let me know if we need to take some additional steps to include these bundles somewhere else.
Thanks for your help.

@ifurnadjiev
Copy link
Contributor

The exception shows that you are still using the old Equinox EE8 bundles -> org/eclipse/equinox/servletbridge/BridgeServlet and not the one mentioned above.
For a WAR build example you can check our repo at https://github.com/eclipse-rap/org.eclipse.rap/tree/main/releng/org.eclipse.rap.examples.build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants