{"id":6436,"date":"2014-01-20T16:31:52","date_gmt":"2014-01-20T15:31:52","guid":{"rendered":"https:\/\/ingmarverheij.com\/?p=6436"},"modified":"2014-07-22T17:54:24","modified_gmt":"2014-07-22T15:54:24","slug":"citrix-netscaler-cannot-load-applet-7u51","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/citrix-netscaler-cannot-load-applet-7u51\/","title":{"rendered":"Citrix NetScaler: Cannot load applet (7u51)"},"content":{"rendered":"<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/01\/Java-Update-Available.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: right; padding-top: 0px; padding-left: 0px; margin: 0px 0px 0px 5px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Java Update Available\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/01\/Java-Update-Available_thumb.png\" alt=\"Java Update Available\" width=\"154\" height=\"116\" align=\"right\" border=\"0\" \/><\/a><\/p>\n<p><i><strong>TIP<\/strong>: NetScaler 10.5 uses HTML5 instead or JRE for most configuration features! Hooraaayyy! &#8211;\u00a0<a href=\"https:\/\/support.citrix.com\/proddocs\/topic\/ns-rn-main-release-10-5-map\/ns-rn-changes-gui-10-5-con.html\" target=\"_blank\">link<\/a><\/i><\/p>\n<p>On January 14 Oracle released <a href=\"https:\/\/www.oracle.com\/technetwork\/java\/javase\/7u51-relnotes-2085002.html\" target=\"_blank\">Java Runtime Environment (JRE) 7 update 51<\/a>. Just like previous updates the raised the security level which could potentially break existing applications. We saw the same when they released 7u45, back then I found a more constructive (but complex) solution to solve a problem where the GUI hanged at \u201c<a href=\"https:\/\/ingmarverheij.com\/en\/citrix-netscaler-hangs-downloading-applet\/\" target=\"_blank\">Downloading Applet..<\/a>\u201d<\/p>\n<p>Citrix updated their NetScaler software to meet the requirements of Oracle on December 3rd (<a href=\"https:\/\/www.citrix.com\/downloads\/netscaler-adc\/firmware\/release-101-build-122110\" target=\"_blank\">download<\/a>, <a href=\"https:\/\/www.citrix.com\/content\/dam\/citrix\/en_us\/documents\/downloads\/netscaler-adc\/NS_10_1_122_11.html\" target=\"_blank\">release notes<\/a>) \u2013 <em>I hope that back then you reverted to a more secure JRE<\/em>. Unfortunately JRE 7u51 gave me again problems, this time the Java Applet could not be loaded.<\/p>\n<p><!--more--><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/01\/Cannot-load-Applet.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;\" title=\"Cannot load Applet\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/01\/Cannot-load-Applet_thumb.png\" alt=\"Cannot load Applet\" width=\"354\" height=\"218\" border=\"0\" \/><\/a><\/p>\n<p>In the Java Console the following error is shown:<\/p>\n<pre>network: Connecting https:\/\/s-nsint-cl01-nsip:80\/ with proxy=DIRECT\r\nnetwork: Connecting https:\/\/s-nsint-cl01-nsip\/nitro\/v1\/config\/auditnslogpolicy?rawdata=yes&amp;view=detail&amp;pageno=1&amp;pagesize=4500 with cookie \"drep=sys0; st_splitter=350px; is_cisco_platform=0; DEFAULT_LAUNCH_SCREEN_PATH=\"\r\nliveconnect: Security Exception: LiveConnect (JavaScript) blocked due to security settings.<\/pre>\n<p>&nbsp;<\/p>\n<p>Fortunately Oracle did something brilliant (\u2026like we didn\u2019t have this in any browser since 1995\u2026): you can now add sites to an <a href=\"https:\/\/blogs.oracle.com\/java-platform-group\/entry\/upcoming_exception_site_list_in\" target=\"_blank\">exception site list<\/a>!\u00a0 Where the deployment rule set (as explained in <a href=\"https:\/\/ingmarverheij.com\/en\/citrix-netscaler-hangs-downloading-applet\/\" target=\"_blank\">my previous article<\/a>) is intended for system administrators (heck, it\u2019s freaking complex) the exception site list is for end users.<\/p>\n<h1><\/h1>\n<h1>Add an exception<\/h1>\n<h6>GUI<\/h6>\n<p>Adding an exception is as easy as 1-2-3:<\/p>\n<ol>\n<li>Open the <strong>Java Control Panel<\/strong><\/li>\n<li>In tab <strong>Security <\/strong>click on <strong>Edit Site List<\/strong><\/li>\n<li>Click on <strong>Add<\/strong> and type in the <strong>file:\/\/ <\/strong>or <strong>http(s):\/\/ <\/strong>URL<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><em><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/01\/Java-Control-Panel.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Java Control Panel\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/01\/Java-Control-Panel_thumb.png\" alt=\"Java Control Panel\" width=\"180\" height=\"204\" border=\"0\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/01\/Exception-Site-List.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Exception Site List\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2014\/01\/Exception-Site-List_thumb.png\" alt=\"Exception Site List\" width=\"285\" height=\"204\" border=\"0\" \/><\/a><\/em><\/p>\n<p><em>Alternatively you can lower the <strong>Security Level <\/strong>to <strong>Medium<\/strong> but I wouldn\u2019t recommend that!<\/em><\/p>\n<p>&nbsp;<\/p>\n<h6>deployment.config<\/h6>\n<p>The exception site list is stored in a plaintext file making it easy to distribute to your users, The file is located in <strong>%userprofile%\\Appdata\\LocalLow\\Sun\\Java\\Deployment\\security\\exception.sites.<\/strong><\/p>\n<pre>https:\/\/s-nsint-cl01-nsip\r\nhttps:\/\/s-nsint-cl02-nsip\r\nhttps:\/\/s-nsdmz-cl01-nsip\r\nhttps:\/\/s-nsdmz-cl02-nsip<\/pre>\n<p>Each exception is written in the file on a separate line, so a file containing multiple exceptions could contain the following content.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>.<\/p>","protected":false},"excerpt":{"rendered":"<p>TIP: NetScaler 10.5 uses HTML5 instead or JRE for most configuration features! Hooraaayyy! &#8211;\u00a0link On January 14 Oracle released Java Runtime Environment (JRE) 7 update 51. Just like previous updates the raised the security level which could potentially break existing applications. We saw the same when they released 7u45, back then I found a more [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[502],"tags":[642,503,60],"class_list":["post-6436","post","type-post","status-publish","format-standard","hentry","category-netscaler","tag-java-applet","tag-netscaler-2","tag-security"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/6436","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=6436"}],"version-history":[{"count":6,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/6436\/revisions"}],"predecessor-version":[{"id":6896,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/6436\/revisions\/6896"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=6436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=6436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=6436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}