Error "Can't load library: c:\program files\infozoom\izmjniado.dll"
Issue
You may see the error "Can't load library: c:\program files\infozoom\izmjniado.dll" in the exception.log, or in the{servername}-err.log, or in a console window if starting ColdFusion MX from a command line. The error may appear in one of the following forms:
coldfusion.server.ServiceRuntimeException: [JadoZoomOEM]java.lang.UnsatisfiedLinkError: Can't load library: c:\program files\infozoom\izmjniado.dll
could not load izmjniado.dll Can't load library: c:\program files\infozoom\izmjniado.dll
Connection verification failed for data source: {data source name}
com.inzoom.jdbcado.JdbcAdoException: could not load izmjniado.dll Can't load library: c:\program\files\infozoom\izmjniado.dll
The root cause was that: com.inzoom.jdbcado.JdbcAdoException: could not load izmjniado.dll
Reason
In ColdFusion MX 6, this error is more likely to be seen as a licensing error on start up. In ColdFusion MX 7, it is more likely to be seen as a connection error when attempting to connect to a data source using the Microsoft Access with Unicode driver. The error occurs when ColdFusion MX can't find izmjniado.dll because the cf_root/lib directory is not in the library path. It is a misleading error because ColdFusion does not install anything in the \program files\infozoom directory.
Solution
To fix the error, add the cfusion_root\lib directory to the library path in the jvm.config file. In a server configuration, the jvm.config file is located in thecfusion_root/runtime/bin directory. In a multi-server configuration, the jvm.config file is located in thejrun_root/bin directory. If running ColdFusion MX in a J2EE server other than JRun, the library path is set in the JVM configuration file for your J2EE server.
For example, a server configuration may have this set as:
java.library.path={application.home}/../lib
or
java.library.path=C:/CFusionMX/lib
A multi-server configuration may have this set as:
java.library.path={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib
In ColdFusion MX 7, the library path may also be set with a JVM argument as:
-Dcoldfusion.libPath={application.home}/../lib
Care should be taken not to confuse the java.library.path with the java.class.path.
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
