Running a Vaadin 7 project on JBoss 8+ with MPR

Hello,

I have a project that was originally designed to run with Vaadin 7 on JBoss 7.3. Now, I need to run the same project on JBoss 8+.

Since JBoss 8+ requires migrating from javax to jakarta, I tried using MPR (multiplatform runtime) because Vaadin 7 does not support jakarta directly.

However, I ran into several issues:

  • The problems started when Ivy failed to fetch the required libraries.
  • I manually added mpr-core-7.0.2 and mpr-v7-2.3.0.jar to the project, but I still encountered compile-time and dependency errors.

My question is:
:point_right: Is it possible to run a Vaadin 7 project on JBoss 8+ using MPR (without upgrading to a newer Vaadin version)?
:point_right: Can you provide guidance on how to properly configure MPR so that the Vaadin 7 project works and the old dependencies are resolved?

Thank you in advance for your support!

What you mean by newer version. If you plan to use JBoss 8+ with MPR, you need to host your Vaadin 7 app in Vaadin 24 project. Furthermore, you need relatively new version of Vaadin 7, that comes with vaadin-server-mp-jakarta artifact, as that is required when running jakarta.servlet.

See more here: Vaadin 7 Extended Maintenance Fact Sheet | Vaadin

Ivy is not supported in Vaadin 24 + Vaadin 7 + MPR setup, you need to base your project on maven, so that you can use both the legacy vaadin-maven plugin for Vaadin 7 local widgetset compilation (which is required with MPR in order to have MPR clientside included there) as well as flow-maven plugin for Vaadin 24 frontend build.

The setup documentation can be found here: