SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


fixnetappjavaerror
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fixnetappjavaerror [2013/04/18 20:13] (current)
sjoerd created
Line 1: Line 1:
 += Fix: NetApp Java Error
  
 +When managing NetApps with your browser over http(s) you can also use the commandline utility. You can find it under '​Filer'​ -> 'Use Command Line'. However, on one of my filers (strangely enough the other filer did work) I got a java error:
 +
 +<​code>​
 +load: class com/​netapp/​admin/​FilerSNMPConfigUIApplet.class not found.
 +java.lang.ClassNotFoundException:​ com.netapp.admin.FilerSNMPConfigUIApplet.class
 +                at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
 +                at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
 +                at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
 +                at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
 +                at java.lang.ClassLoader.loadClass(Unknown Source)
 +                at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
 +                at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
 +                at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
 +                at java.lang.Thread.run(Unknown Source)
 +Caused by: javax.net.ssl.SSLException:​ Received fatal alert: bad_record_mac
 +                at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 +                at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
 +                at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
 +                at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
 +                at java.net.HttpURLConnection.getResponseCode(Unknown Source)
 +                at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
 +                at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
 +                at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
 +                at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
 +                at java.security.AccessController.doPrivileged(Native Method)
 +                ... 9 more
 +Exception: java.lang.ClassNotFoundException:​ com.netapp.admin.FilerSNMPConfigUIApplet.class
 +load: class com/​netapp/​admin/​FilerCommandApplet.class not found.
 +java.lang.ClassNotFoundException:​ com.netapp.admin.FilerCommandApplet.class
 +                at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
 +                at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
 +                at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
 +                at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
 +                at java.lang.ClassLoader.loadClass(Unknown Source)
 +                at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
 +                at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
 +                at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
 +                at java.lang.Thread.run(Unknown Source)
 +Caused by: javax.net.ssl.SSLException:​ Received fatal alert: bad_record_mac
 +                at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 +                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 +                at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
 +                at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
 +                at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
 +                at java.net.HttpURLConnection.getResponseCode(Unknown Source)
 +                at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
 +                at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
 +                at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
 +                at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
 +                at java.security.AccessController.doPrivileged(Native Method)
 +                ... 9 more
 +Exception: java.lang.ClassNotFoundException:​ com.netapp.admin.FilerCommandApplet.class
 +</​code>​
 +
 +As said before, the other filer did work, and that was with the same browser, same filer type etc. The error was received with both Internet Explorer and FireFox. ​
 +
 += Solution
 +To fix this condition, configure Java so that it does not use TLS1.0:
 +
 +* Start the Control Panel -> Java -> Advanced Settings Tab -> Security List
 +* Deselect the TLS1.0 protocol.
 +* Close all browser windows.
 +
 +In my case this solved the issue, but you might also want to disable it in the browser:
 +
 +* In IE, go to Tools -> Internet Options -> Advanced and scroll to Security. Uncheck 'Use TLS 1.0'.
 +
 +* In Firefox, go to Tools -> Options -> Advanced -> Encryption and uncheck the 'Use TLS 1.0' box.
 +
 +{{tag>​fix hardware netapp}}
fixnetappjavaerror.txt ยท Last modified: 2013/04/18 20:13 by sjoerd