Configupdate Script Fails After Adding Files to the WAR

  • 7002480
  • 28-Jan-2009
  • 26-Apr-2012

Environment

Novell Identity Manager User Application 3.5.0
Novell Identity Manager User Application 3.5.1
Novell Identity Manager User Application 3.6.0
Novell Identity Manager User Application 3.6.1
Novell Identity Manager 3.5

Situation

The configupdate.sh script fails after you manually add custom files to an IDM.war:
Error:
"
DEBUG===WAR updating...java.util.zip.ZipException: invalid entry compressed size (expected 16176 but got 16177 bytes) at java.util.zip.ZipOutputStream.closeEntry(Unknown Source) at java.util.zip.ZipOutputStream.putNextEntry(Unknown Source)"

Resolution

If changes are made to in the IDM.war, you must use the jar -uf command from Sun's 1.5 JDK (jar is not a part of the jre).
example:/usr/lib/java/bin/jar -cvf IDM.war