Monday, March 2, 2015

Netconnect on Ubuntu exits with ClassNotFoundException: SecureNCLauncher.class

Environment: Ubuntu 14.04.2 LTS ( i686 i.e. 32 bit )
Browser: Firefox 35.0.1
Java: Oracle Java: v1.8.0_31

Issue Description: While launching Juniper's Netconnect in firefox, it failed with an exception:
java.lang.ClassNotFoundException: SecureNCLauncher.class

Troubleshooting:
  1. Enabled Loggin, Traces & Applet lifecycle on Java ControlPanel (fire ControlPanel command from terminal" :
  2. Try to launch netconnect from browser. A Java Console will pop up and show a lot of logging as the applet loads.
  3. Monitor this console closely as the applet loads and you'll see below exception:
  4. So, the actual point of failure is Certification Path verification using OCSP. Workaround for this issue is to disable OCSP check in Java ControlPanel
  5. For complete resolution of this problem, refer to this article: http://kb.juniper.net/InfoCenter/index?page=content&id=KB29849