Add-on messages.properties not loading and AccessDeniedException: ui.loginToUi on Windows exploded WAR deployment

Environment

  • Jmix: 2.8.2

  • Deployment: exploded WAR on standalone Tomcat (Windows)

  • Same application works correctly on Linux using the same build.

Issue

When deploying the application as an exploded WAR on Windows Tomcat, two issues occur:

  1. messages.properties bundled inside add-on JARs are not loaded. The UI displays message keys instead of localized labels.

  2. Login fails with AccessDeniedException: ui.loginToUi, even though the same role and permission configuration works correctly on Linux.

Both issues disappear when deploying the exact same application on Linux.

Workaround

Packaging the application as a Spring Boot executable JAR (embedded Tomcat) instead of an exploded WAR resolves both issues. In that deployment mode, add-on messages load correctly and login succeeds.

Questions

  • Is this a known issue or limitation with exploded WAR deployment on Windows?

  • Is executable JAR the recommended deployment approach on Windows?

  • Has anyone encountered similar behavior with add-on resource or security scanning?

  • Are there any known configuration changes or fixes for this scenario?