Error: System Error Could not find native libraries

(Last modified: 21Apr2003)

This document (10078259) is provided subject to the disclaimer at the end of this document.

fact

Novell iManager 1.5

symptom

Error: System Error Could not find native libraries for com.novell.emframe.fw.NDSNamespaceAuthenticator

cause

This error is generated because Tomcat does not know how to find the jclient.jar or eMFrame.jar files. 

fix

This is usually resolved by making sure the java_home variable is set right and re-install iManager.  If a customer runs Tomcat in an unsupported way, this error can also occur.  Consider the following:

Tomcat 4.x was installed, instead of Tomcat 3.3:
Here is the issue..

When iManager installs Tomcat, it creates a Windows service for it to run under called Jakarta. The Jakarta service uses a file called wrapper.properties to define various properties and environment settings that it needs. These settings include the command line that the service uses to start Tomcat as a java application. One of the parameters passed into Tomcat on the command line at startup is a Java property called java.library.path which is set to $(wrapper.tomcat_home)\webapps\eMFrame\WEB-INF\bin. Tomcat uses this path to find native libraries including jclient.dll.

For Tomcat 4, Tomcat uses a window's installer which creates a Tomcat service. It uses a similar mechanism to tell Tomcat where to find native libraries. The -Djava.library.path argument to the command line it uses to launch Tomcat.   If a customer uses Tomcat 4, they are responsible for all configuration.  Tomcat 4 is not supported with iManager 1.5. 

Issue 2:
If you are not running Tomcat as a Windows service, you would need to modify the batch files that are used to start it to include the java.library.path.

On a NetWare 6 server only, look in the sys:\tomcat\33\bin\tomcat33.ncf file and verify that the 'envset TOMCAT_CLASSPATH=$TOMCAT_CLASSPATH;SYS:\java\lib\jclient.jar' line is at the end of the list of envset.  If it is not, add that line and restart Tomcat.

For additional information on eDirectory 8.7, please see the following solution.  NOVL81742  - eDirectory 8.7 Readme Addendum

document

Document Title: Error: System Error Could not find native libraries
Document ID: 10078259
Solution ID: NOVL85260
Creation Date: 02Jan2003
Modified Date: 21Apr2003
Novell Product Class:NetWare
Novell eDirectory

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.