Joget DX Preview Release Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

Skip to end of metadata
Go to start of metadata

Setting up log4j functionality for a custom plugin isn't trivial. If you meet:

log4j:ERROR A "org.apache.log4j...." object is not assignable to a "org.apache.log4j...." variable.
log4j:ERROR The class "org.apache.log4j...." was loaded by
log4j:ERROR [WebappClassLoader]

like errors, in our case, the solution was to add the parameter

-Dlog4j.ignoreTCL=true

to JAVA_OPTS in joget-start.bat.

It's just a workaround, though. Somehow, the proper way would be to use log4j as an osgi service.

  • No labels