sun/net/www/http/KeepAliveCleanerEntry class missing in upgradeJDK17_v004.tar in RSA Identity Governance & Lifecycle
3 years ago
Originally Published: 2018-07-17
Article Number
000042071
Applies To
+RSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: 7.0.2 P05 - 7.0.2 P07
 
Issue
After upgrading to 7.0.2 P05, P06, or P07, the following error occurs when accessing certain connector definitions:
 
ERROR [io.undertow.request] (default task-121) UT005023: Exception handling request to /aveksa/main: java.lang.NoClassDefFoundError: sun/net/www/http/KeepAliveCleanerEntry
 
User-added image

This issue is seen in versions 7.0.2 P05 through 7.0.2 P07. 

User-added image





 
Cause
The upgradeJDK17_v004.tar file provided for JDK upgrade with the patch files has the Class sun/net/www/http/KeepAliveCleanerEntry class missing in it.

Note that Class KeepAliveCleanerEntry is in the v003 upgradeJDK17 .tar file provided in 7.0.3 P03 and P04.

User-added image
Resolution
sun/net/www/http/KeepAliveCleanerEntry class is available in upgradeJDK17_v005 provided with patch 7.0.2 P08. Deploy upgradeJDK17_v005  to have this issue fixed.
Workaround
Copy the KeepAliveCleanerEntry class from rt.jar file provided in 7.0.3 P03 and P04 to rt.jar in 7.0.2 P05.
  1. ​Extract the jar file rt.jar in P03 by copying it to your windows system and you can simply unzip the jar files to a directory. KeepAliveCleanerEntry class is found in sun\net\www\http
  2. In your 7.0.2 P05 version follow below steps to extract the rt.jar file and then wrap it back.
           As a root user:
  •    export PATH=$JAVA_HOME/bin:$PATH
  •    Make a back of existing rt.jar    
  •    Make a directory where you want to extract the files.
  •     mkdir rt 
  •     cd rt
  •     jar xvf rt.jar *
  •    Copy the class file from the extracted rt.jar in version 7.0.2 P03 to           sun\net\www\http 
  •  Wrap the jar back : jar cf *
  • Copy the new rt.jar to /etc/alternatives/java_sdk_1.7.0/jre/lib
  • Check if the class file is available now in rt.jar.