Upgrading 30+ different kinds of UNIX boxes’ STAF installations is a pain in the but under the best of circumstances. It’s made all the more annoying be a recent development where their “InstallAnywhere” installer will randomly fail with:
Stack Trace:
java.util.zip.ZipError: jzentry == 0,
…
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Out of the 4 times it’s happened so far today, 3 times I was able to get past the error by just trying the install again, after removing any leftover /tmp/install.dir entries. I might have been able to do that with the 1st failure as well, but I tried a different build package first that time.
UPDATE: Oh great, a new error on zlinux,
./STAF345-setup-zlinux-32.bin
Preparing to install…
Extracting the JRE from the installer archive…
Unpacking the JRE…
Extracting the installation resources from the installer archive…
Configuring the installer for this system’s environment…
strings: ‘/lib/libc.so.6′: No such file
Launching installer…
./STAF345-setup-zlinux-32.bin: line 2472: /tmp/install.dir.2598/Linux/resource/jre/jre/bin/java: No such file or directory
./STAF345-setup-zlinux-32.bin: line 2472: exec: /tmp/install.dir.2598/Linux/resource/jre/jre/bin/java: cannot execute: Bad address
# ls -l /tmp/install.dir.2598/Linux/resource/jre/jre/bin/java
-rwxr-xr-x 1 1003 513 58042 Dec 14 2009 /tmp/install.dir.2598/Linux/resource/jre/jre/bin/java
