SHIFT

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

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2019/06/22 10:36 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments

fixnetappjavaerror

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:

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

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.
You could leave a comment if you were logged in.
fixnetappjavaerror.txt · Last modified: 2013/04/18 20:13 by sjoerd