July 24, 2014

SAP Java application server jcontrol stopped. jvm_bootstrap = java.util.zip.ZipException: error in opening zip file

Symptom
SAP Java portal is down.
Your jcontrol process in the Java process list is stopped. Checking more details on the error you find out more details of the problem

Error:
1. jvm_bootstrap error below.
Exception occurred in openJar(\\host\sapmnt\SID\SYS\global\security\lib\tools\iaik_jsse.jar) :
java.util.zip.ZipException: error in opening zip file

2. When trying to open configtool in the j2ee\configtool directory of application server I get error below:
Exception occurred in openJar(\\host\sapmnt\SID\SYS\global\security\lib\tool
s\iaik_jsse.jar) :
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.(ZipFile.java:111)
        at java.util.jar.JarFile.(JarFile.java:129)
        at java.util.jar.JarFile.(JarFile.java:67)

        at com.sap.engine.offline.JarFilter.(JarFilter.java:30)

Solution:
A. Implement SAP note 710663.
1. Check if the bootstrap.properties file exist under \cluster\bootstrap\bootstrap.properties.

2. If the bootstrap.properties file does not exist, create it.

3. Make sure the bootstrap.properties file contains the property element.resynch

The three possible values for this property are as follows:

detect - precomputed hash values are kept on the file system for each file from the installation and the evaluation if an update is needed is done according to them. Modifying local files will not trigger an update. Even deletion of the complete bin folder will not be noticed by the bootstrap. Update of the local files is made only if the database content hash is different from the precomputed file hash. The benefit of using this mode is that it is highly optimized. This makes it the default one for the standard installation.

force - totally ignores the local precomputed values and recalculates all the local hashes from the files themselves. Any kind of change made on the binaries of the installation will be immediately detected and reverted. This mode runs slower than the default behavior and is most suitable for cleanup after any unattended modifications on the binaries.

skip - prevents any kind of bootstrap activity and causes the bootstrap to exit immediately. It will not download even a single file, regardless of whether there are updates pending or not. Use it only for debug purposes.

If you are using AS Java 7.1, we recommend that you remove all other properties from the bootstrap.properties file.

4. Set the property to a value that serves your purposes. For the changes to take effect, restart the AS Java.

5. After achieving the desired result, switch back to the default value.