UnsatisfiedLinkError on ZDM Windows server

  • 7001285
  • 04-Sep-2008
  • 30-Apr-2012

Environment

Novell ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1 Automatic Workstation Import
Novell ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1 Automatic Workstation Removal

Situation

After updating eDirectory, or installing new version of java or unknown, the following errors occur when trying to register or remove workstations.
 
ERROR (from zenwsreg.log):
 
08/26/2008 14:00:16:764 ZENWSREGRegister -- <error>Could not authenticate as policy: Server Package:General:Workstation Import.ORG</error>
ERROR (from zenwsimp.log):
 
Aug 26, 2008 2:00:17 PM [Root exception is java.lang.UnsatisfiedLinkError: NWDSLogin]com.novell.java.security.LoginException: Login failed.
Aug 26, 2008 2:00:17 PM Could not authenticate as policy: Server Package:General:Workstation Import.ORG

Resolution

Merge the settings from zenwsimp.reg file on the server into the server's registry.  Then add the following to the zenwsimportCmdLine and zenwsremovalCmdLine string values by appending this to the previous value:
 
-Djava.library.path=C:\Novell\ZENWORKS\JRE\njclv2\bin
 
The final string value should look like this, for example:
 
-Dlogfile=c:\\zenwsimp.log -Dlogfilelevel=2 -Djava.library.path=C:\Novell\ZENWORKS\JRE\njclv2\bin
-Dlogfile=c:\\zenwsrem.log -Dlogfilelevel=2 -Djava.library.path=C:\Novell\ZENWORKS\JRE\njclv2\bin
 
Restart the zwsimport and removal services.
 
 
 

Additional Information

For testing the zenwsimport.exe application or batch file directly you must be running as system service user.  In this case you can modify the java settings prior to testing the registry version.
 
Note:  depends.exe does not necessarily show the missing or out of date dll since it may be loaded at runtime.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.