I am trying to move an app from CFusion Standard MX7 to
CFusion Enterprise MX7. I've copied over all the CF pages and java
classes. The app makes use of log4j and we use the same log4j.jar
that CF does. All works fine on CF Standard. While the app works
fine on CF Enterprise (in its own instance), logging doesn't work.
Looking through the CF log I see this:
log4j:ERROR A "org.apache.log4j.DailyRollingFileAppender"
object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded
log4j:ERROR [sun.misc.Launcher$AppClassLoader@53ba3d] whereas
object of type
log4j:ERROR "org.apache.log4j.DailyRollingFileAppender" was
loaded by [coldfusion.bootstrap.BootstrapClassLoader@dc9065].
log4j:ERROR Could not instantiate appender named "A2".
I thought there may be different or multiple versions of
log4j.jar, but the only log4.jar is in the app instances