Can jmix war run on jboss or wildfly server ? If yes, then which jboss or wildfly server version is required and which java version too
You should be able to run Jmix WAR on any application server if it provides:
- Java 11 or above (tested on JDK 11 and 17)
- Servlet Spec v.3.x or 4.0 (v.5+ which is a part of Jakarta EE 9 is not supported yet)
- Servlet-only environment is recommended (without any EE stuff like CDI, JPA, etc.)
So from what I see at WildFly Downloads, WildFly v.26 Servlet-Only Distribution should work.
Tried wildfly from 8 to 26 with jdk 8 and 11. None of it worked
I’ve tested on WildFly 26.1.2.Final Servlet-Only, and can confirm that the deployment doesn’t work due to at least two problems:
- LoggerFactory is not a Logback LoggerContext - TedBlob
- jboss - EAP 7.3: java.lang.ClassNotFoundException: # Licensed to the Apache Software Foundation (ASF) under one or more - only in standalone mode - Stack Overflow
The first one is easy to fix by removing Logback dependency from the project:
configurations {
all*.exclude module : 'spring-boot-starter-logging'
all*.exclude module : 'logback-classic'
}
The second one is unclear.
Created issue: WAR deployment fails on WildFly · Issue #1102 · jmix-framework/jmix · GitHub