Created On:  30 October 2011

Problem:

In organization where users are prohibited from installing software in C:\Windows folder, attempting to run CaliberRM Web client will result in the following error being returned:

Unable to Install Extensions

Due to security restrictions, CaliberRM was unable to automatically install certain files on your computer.
You will now be forwarded to the CaliberRM Web Extensions installer that will allow you to install these files.
Once you have completed this installer, please restart your browser.

And even after the CaliberRM Web Extensions was installed to a permissible folder, e.g. C:\Borland\CaliberRMWebExtensions, the same error is returned on subsequent attempts to run CaliberRM Web client.

Resolution:

To work around this issue, please try the following suggestion (step 1 to 5):

1. Install CaliberRM Web Extensions to a writable folder (E.g. C:\Borland\CaliberRMWebExtensions)
After  installation, verify that this folder contains the following files: jvb.dll, SBTBJavaUtils.dll, CRMOSSupport.dll, CRMMorningGlory.dll, CaliberCommon.dll, mfc71u.dll, msvcr71.dll, msvcp71.dll and jdic.dll

2. Launch the Java Control Panel (activated through the Java utility in the Control Panel; if this is not present, download and install the latest JRE). Under the Java tab, click the View button to display the Java Runtime Environment Settings dialog.

3. In the Java Runtime Environment Settings dialog, enter a runtime parameter as follow:

-Dcaliberrm.extensions.path=C:\Borland\CaliberRMWebExtensions

where the value supplied is the location where CaliberRM Web Extensions is installed. Pictorially, the dialog looks as follow:




4. Modify the Path environment variable to include the path of the CaliberRM Web Extensions. This may be added under the Path variable in System variables or if that is not allowed, define a new Path variable under User variables. User-defined Path will be appended to the System-defined Path variable.



5. Re-launch the browser and repeat the test. It may be helpful to clear the browser's cache to clear previous error pages prior to running the test.

If the problem persists, launch the Java Console to display error messages.

Below is an extract of the log as shown in the Java Console when running CaliberRM Web Client:

CaliberRM 10.0.345.171
caliberrm.extensions.path=C:\Borland\CaliberRMWebExtensions
DLLs are installed.
Exception in thread "thread applet-com.starbase.caliber.ui.CaliberRMWebApplet-1" java.lang.UnsatisfiedLinkError: no jdic in java.library.path
 at java.lang.ClassLoader.loadLibrary(Unknown Source)
 at java.lang.Runtime.loadLibrary0(Unknown Source)
 at java.lang.System.loadLibrary(Unknown Source)

In the log above, the error 'java.lang.UnsatisfiedLinkError: no jdic in java.library.path' happens because step 4 has not been carried out (i.e. to include CaliberRM Web Extensions folder in the Path environment variable). As a result, the JVM is not able to locate the jdic.dll file.
Incident #2528391