Hi Everyone,
I am currently in the process of migrating our legacy app from WildFly 17 with Struts 2 and Java 8 to WildFly 34 with Struts 7 and Java 21.
As you can see, its going to be an adventure :)
While I am doing my own research, I would really love to hear any general "gotchas" that we should be looking for. I am also going to point out few things that I have noticed. I would be extremely grateful, if someone else can also point anything (or even generic advice) that I am missing.
1. We won't be able to perform the update, unless we upgrade our Java to atleast Java 11 (recommended is Java 21, but since WildFly 17 is not compatible with Java 17. We first need to migrate to Java 11)
2. Our javax namespaces needed to be changed to jakarta.
3. I have noticed that the legacy security domains are not supported anymore. Therefore, we need to change those to elytron security domains.
4. I am hoping that the
JBoss Server Migration Tool helps us in changing the standalone files atleast. Since we also modify the standalone file in run time, our application level codes will also have to be modified according to the latest standalone schema.
5. One big hurdle is Struts 7 and WildFly 17 are not compatible with each other. Therefore, both Struts and WildFly will have to upgraded simultaneously and this might create lots of ambiguity during troubleshooting.
6. Whenever we reach the point of stability with Java 11, Struts 7 and WildFly 34. We can then consider and see if there's enough disposable timeline for Java11 to Java 21 upgrade.