-
Task
-
Resolution: Done
-
Blocker
-
None
-
2.3.0.Final
-
None
-
None
During the process of upgrading to WildFly 11, an issue with embedded WildFly and JBoss Logging was discovered. Here are the critical details:
- A third-party dependency (TODO: record which one here) included in the SDM webapp uses JBoss Logging
- JBoss Logging uses the global Java logging infrastructure. Importantly, the JBoss LogManager must be setup before any other code uses a logger.
- The GWT compiler uses Java logging
- Since (in our setup) GWT launches the application server, it is impossible to configure the log manager from within WildFly
- Setting up JBoss Logging before GWT launches is also not an option, because of the WF classloader. Dependencies attempting to use JBoss Logging in a webapp will get class cast exceptions.
So far the only possible remedies to pursue are:
- Don't use an embedded WildFly instance.
- Avoid using JBoss Logging (even transitively) in the platform.
- blocks
-
RHDM-251 Upgrade WildFly to version 11 and Wildfly Swarm to 2017.12.1
-
- Closed
-