Libsodium DLL not being loaded into Coldfusion 11
Hi,
I have an application running on colfusion server and i am trying to install it.
I have already done that with ColdFusion2016 and it is running smoothly yet when i try it on ColdFusion 11 i get an error.
The setup is as follows:
Under ColdFusion11/cfusion/lib:
I add:
libsodium.dll
libsodium-jna-1.0.4.jar
commons-codec-1.10.jar
jna-4.2.2.jar
And in the coldfusion Administrator, the lib path is added under Dcoldfusion.libPath
When trying to use it in a java class from the directory of ColdFusion Class Path ,
I am getting the error:
Could not initialize class com.muquit.libsodium jna.SodiumLibrary$SingletonHelper
In my java code:
i load the library through:
SodiumLibrary.setLibraryPath("C:/ColdFusion11/cfusion/lib/libsodium.dll");
and then i call:
SodiumLibrary.cryptoBoxSealOpen
Please advise,
