Searching Knowledge Base for v3


Knowledge Base for v4


Forums


Marketplace


Translations


Setting Up log4j Functionality

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.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.