Using the new version of log4j in coldfusion

So I have a java class that I want to call from the coldfusion page. The only problem is my Java class requires a newer version for log4j than what is currently being used with coldfusion (mx 7). Is there a way to force my class to only use the one I provide? or can I temporarily load a new log4j while I call my class file?

thank

+2


source to share


2 answers


take a look at the note javaloader mandel



+2


source


You can also add a new jar of log4j at the beginning of the java.class.path in the CF jvm.config, whereas both the CF and the java classes you call will use that instead of the included version. However, it had to be ahead.



0


source







All Articles