Oracle has responded to my service request. It appears that changes to Log4j to support Java 9 break Weblogic's classloader. There is a new bug for this issue: Bug 27098427 : JAVA.LANG.ILLEGALARGUMENTEXCEPTION DEPLOYING APP ON WLS 12.1.3 WITH PSU

For now, it is possible to work around this issue by using Log4j 2.8.x. I added a dependency for log4j-api and log4j-core, version 2.8.2. The application appears to work fine, thought it does generate a spectacular error message covered by this WW-4920, which is apparently addressed in Struts 2.5.16.


On 2018-01-22 19:38, fullmit...@lycos.com wrote:

Oracle support has created a bug for this issue:
BUG 27424564 - STRUTS 2.5.14.1 APP BROKEN AT SOME POINT AFTER PSU 12.1.3.0.160719 I tried downgrading the Weblogic PSU and that appears to work. One can also downgrade the Struts version. Struts 2.5.12 works for me with the latest Weblogic PSU. (27057030).

On 2018-01-22 18:11, fullmit...@lycos.com wrote:

I am using Java 1.8.0_131-b11 on Windows 7, 64-bit for both building the app and running Weblogic.

I did some more experimenting. I tried removing CDI from my source code and the Maven pom. I still get the error with a complete stripped down application (the only dependency being Struts), so CDI isn't at issue here.

The word from Oracle is that this problem appears to have been introduced into WLS 12.1.3 between the July 2016 and January 2018 Critical Patch Updates (that is, Struts works with the earlier patch and does not work with the latter). I, of course, am running with the latest updates.
Thanks.

On 2018-01-21 14:32, Lukasz Lenart wrote:
...

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to