• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't Edit JRE Exception Site List  RSS feed

 
John Tenaya
Greenhorn
Posts: 5
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm new here. I'm a longtime computer user and once-upon-a-time programmer, but a neophyte when it comes to Java/JRE.

I have an ISY99i Home Automation Controller. The ISY99i was replaced by a newer model (ISY994i) and its last firmware update was in early 2013. The ISY99i has a built-in Administration Console that runs via JRE. When I try to run the console from the ISY99i's internal web page, JRE 1.8.0_60 reports that the console's site certificate has expired and refuses to run it because (it says) it's a security risk. I have Java Security set to High because Medium no longer exists.

Web searching seems to indicate that I can run the console by adding it to the Exception Site List in the Security tab of the Java Control Panel. When I click on the Edit Site List button and then click in the "Click Add to add an item to this list" box, nothing happens (i.e. no text cursor). I am therefore unable to add certificates to the Exceptions list.

Can anyone help me correct this or point me to an appropriate resource?

FYI, I'm running 64bit Windows 7 Professional Service Pack 1 on an Intel Core i7 950 with 12.0GB of Ram.

Thank you in advance,

Tenaya
 
Campbell Ritchie
Marshal
Posts: 56221
171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
 
John Tenaya
Greenhorn
Posts: 5
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.

Tenaya
 
Tony Docherty
Bartender
Posts: 3271
82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is probably not what you want to hear but the procedure you have described is the way I have successfully added exceptions to the site list in the past on my win 7 pro system albeit I am using Java 32bit. I even went through the process again just now to make sure you hadn't missed any steps out. The only thing you may not have spotted is when you click the final "Add" button nothing appears to happen other than a black box appears in the exception list display - It doesn't show a flashing cursor but you can click in and then type directly into this box
 
John Tenaya
Greenhorn
Posts: 5
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tony Docherty wrote:The only thing you may not have spotted is when you click the final "Add" button nothing appears to happen other than a black box appears in the exception list display - It doesn't show a flashing cursor but you can click in and then type directly into this box


Tony,

Thank you for your reply.

In the hopes that I had, indeed, missed something, I went back and tried again. When I go to the Security tab on the Java Control panel, I click on the Edit Site List... button. That opens an Exception Site List window with a text box that is supposed to list sites that are already Exceptions. Since I've never added any before, it's empty EXCEPT for the grayed words "Click Add to add an item to this list." There's an Add button below this text box, but it's grayed out. I suspect this function is locked out for a reason that makes sense to someone at Oracle or Microsoft, but I have no idea why it should be; what I'm trying to do is exactly what this feature is for. In any case, nowhere that I click in this window does anything EXCEPT the OK and Cancel buttons. I've tried running javacpl.exe as Administrator, but that makes no difference.

Anyone got any thoughts?

Tenaya
 
Tony Docherty
Bartender
Posts: 3271
82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a properties file which holds settings for the Java Control Panel. It may be that the feature you require is marked as locked in that file.
For details on the file see http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html
 
John Tenaya
Greenhorn
Posts: 5
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tony Docherty wrote:There is a properties file which holds settings for the Java Control Panel. It may be that the feature you require is marked as locked in that file.
For details on the file see http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html


Tony,
I appreciate the information you gave me; the link provided contains a wealth of information, most of which means little or nothing to me. Unfortunately I was unable to use any of it to figure out how to make this feature work.

I found and edited the properties file, but I see nothing in there that would "lock out" this feature. Since I was able to edit the file to change the security level from HIGH to VERY_HIGH and back, I'm pretty sure I'm editing the file correctly. Unfortunately, everything that seemed to me to be relevant is defaulted to, or already set to what seemed to me to be correct.

I guess I'm back where I started.

Thanks,

Tenaya
 
Tony Docherty
Bartender
Posts: 3271
82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One entry is "deployment.user.security.exception.sites" which points to the exception sites file. If you locate and open this file you could try to manually add your exception site URL. The file is simply a list of URL's of every site you want to create an exception for with one entry per line.
 
John Tenaya
Greenhorn
Posts: 5
1
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tony Docherty wrote:One entry is "deployment.user.security.exception.sites" which points to the exception sites file. If you locate and open this file you could try to manually add your exception site URL. The file is simply a list of URL's of every site you want to create an exception for with one entry per line.


Tony,

Wonderful advice.

My deployment.properties file does not contain that property, so I assumed it was looking for the default file in the default location (Exception Site List Documentation). When I looked for the default file exception.sites file, not only was there no such file, the default directory didn't exist. Soooooo, I created the directory and file, with a single entry: the URL (local) of the ISY99i Admin Console. Now, when I open the Java Control Panel, that site is listed as an exception and the Add button is no longer grayed. It appears that if no exception file exists, the Java Control Panel is NOT smart enough to create one and instead of warning the user, it just opaquely refuses to add any exceptions.

Even better, the ISY99i Admin Console now runs properly. I need to turn off the storm of warnings that come up before the admin screen opens, but IT RUNS.

Problem solved.

Thank you very much, Tony,

Tenaya
 
Tony Docherty
Bartender
Posts: 3271
82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fantastic news and thanks for explaining the situation as it may well help others in the future.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!