Make ColdFusion load the newest jar from our folder and not the one of the lib folder

139 views Asked by At

I need to load BouncyCastle jars for mail encryption using the java loader. (ColdFusion 10 and no Application.cfc). When an older version of a jar exists in the lib directory, that version is loaded and not the one specified in the javaloader.

Even when I create a jar with BouncyCastle jars in the classpath and call a "facade" in ColdFusion, the jars in the lib directories are first loaded and it gives errors (the jar runs perfect in Java)

Does someone know if there is a way to ensure loading of the specified jars (new versions) and not those from the lib directories with the java loader?

0

There are 0 answers