You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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. The proper way would be using log4j as an osgi service somehow.

  • No labels