Standalone install of ZDM7BKSP1.CPK fails

  • 3297226
  • 24-Jan-2007
  • 16-Mar-2012

Environment

Novell ZENworks Desktop Management 6.5 - ZDM6.5
Novell ZENworks Desktop Management 7 - ZDM7 SP1
Novell NetWare 6.5 Support Pack 5
Novell NetWare 6.5

Situation

Error - Failed processing software package : ZDM7-NW-Back
Exception: java.lang.UnsatisfiedLinkError: no RegJNI in java.library.path
ERROR - Package (ZDM7-NW-Back) Component (INV Copy Files): unable to load process DSUtils %TREE_NAME% %DN_ADMIN% %PASSWD% %SERVER_DN% "7.0 1 0"

Resolution

The .CPK process is looking for REGJNI.NLM, once this file RegJNI.nlm is copied to your SYS:\Temp\CPK\zdm7sp1\netware directory, it will resolve the error: "Exception: java.lang.UnsatisfiedLinkError: no RegJNI in java.library.path in your STANDALONE.LOG"
Also 4 new variables TREE_NAME, DN_ADMIN, PASSWD, SERVER_DN need to be resolved. If you add them at the bottom of your SADMNBAK.NCF, with the appropriate values, this will resolve the error "ERROR - Package (ZDM7-NW-Back) Component (INV Copy Files): unable to load process DSUtils %TREE_NAME% %DN_ADMIN% %PASSWD% %SERVER_DN% "7.0 1 0"."
Below is an example of a working Java load line.
java -ns -noclassgc -classpath $zfspaths com.novell.application.servman.services.softwarepackage.PackageProcessor sys:\temp\cpk\zdn7bksp1.cpk 6 DEST_INV SYS:\ DEST_WOL SYS:\ DEST_XML SYS:\ TREE_NAME ndstreename DN_ADMIN admin.novell PASSWD novellAdminpwd SERVER_DN servername.novell

Additional Information

The error log is under the SYS:\TMP directory called STANDALONE.LOG
Note: "value" needs to be replaces at the bottom of the load line not the Varaiable it self but the value. example of a working java load line." SYS:\" was replaced "value"
"java -ns -noclassgc -classpath $zfspaths com.novell.application.servman.services.softwarepackage.PackageProcessor sys:\temp\cpk\zdn7bksp1.cpk 6 DEST_INV SYS:\ DEST_WOL SYS:\ DEST_XML SYS:\ TREE_NAME sgvmtree DN_ADMIN admin.novell PASSWD client SERVER_DN sgvmserver.novell"