Search This Blog

Monday, June 15, 2015

NetApp OnCommand System Manager would not launch

It was really pissing me off.  All the sudden, NetApp OnCommand System Manager would not launch.  I tried the desktop icon, the .exe, the start menu but nothing happened.   I clicked away and nothing happened.

I opened a command line and launched java manually and it worked and was 1.8 dot something which is should be OK.

I recently upgraded OnCommand to 3.1.2 RC1 which fixed my last set of connection (500 errors) issues.  Of course I had to make some command line changes to the NetApp box which is a pain in the ass since I never remember the console password.  However, it was working OK.

Maybe Java upgraded, I can't remember but OnCommand stopped working.  So, I installed 3.1.2 RC2 which the links in this forum post said I needed to do http://community.netapp.com/... But, it still would not launch.

So, I poked around on my system look for rogue Java executables. Sure enough I found some in "c:\windows\system32".  Since this is in the path earlier that the real java path, every time I launch System Manager, this java was invoked.  System Manager could be better written to show an error but it isn't, so we just see nothing.

I deleted the java files in the c:\windows\system32 folder and System Manager launched perfectly.



C:\Windows\System32>java
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
has value '1.8', but '1.7' is required.
Error: could not find java.dll

Error: Could not find Java SE Runtime Environment.

C:\Windows\System32>dir java*.*
 Volume in drive C is OS

 Directory of C:\Windows\System32

04/02/2015  09:41 AM           189,352 java.exe
05/22/2015  11:29 AM            77,824 JavaScriptCollectionAgent.dll
04/02/2015  09:41 AM           189,352 javaw.exe
04/02/2015  09:41 AM           320,424 javaws.exe
               4 File(s)        776,952 bytes
               0 Dir(s)  123,620,012,032 bytes free

C:\Windows\System32>del java*.*
C:\Windows\System32\JavaScriptCollectionAgent.dll
Access is denied.

C:\Windows\System32>





No comments: