{"id":810,"date":"2016-11-29T12:20:32","date_gmt":"2016-11-29T17:20:32","guid":{"rendered":"http:\/\/sites.williams.edu\/lj1\/?p=810"},"modified":"2017-07-10T10:08:15","modified_gmt":"2017-07-10T15:08:15","slug":"java-config-file-and-excepted-sites-deployment","status":"publish","type":"post","link":"https:\/\/sites.williams.edu\/lj1\/software\/java-config-file-and-excepted-sites-deployment\/","title":{"rendered":"Java Config file and excepted sites deployment"},"content":{"rendered":"<p>Some older Java-based websites are so out-of-date that Java refuses to run unless the web site is in the &#8220;excepted sites&#8221; list.  This is normally a user-specific setting however you can set this up as a system wide exception list.<\/p>\n<p><strong>On windows &#8212;- <\/strong><br \/>\nin c:\\Program Files (x86)\\Java\\\\lib\\<br \/>\n(replace  with the correct java release directory for your system)<br \/>\nplace a file called &#8220;deployment.config&#8221;<\/p>\n<p><code>deployment.system.config= file:\/\/\/c:\/williams\/java\/deployment.properties<br \/>\ndeployment.system.config.mandatory=true<\/code><\/p>\n<p>Then in c:\\williams\\java\\<br \/>\nplace a file called &#8220;deployment.properties&#8221;<\/p>\n<p><code>deployment.webjava.enabled=true<br \/>\ndeployment.security.level=MEDIUM<br \/>\ndeployment.security.level.locked<br \/>\ndeployment.user.security.exception.sites=c:\\williams\\java\\exception.sites<\/code><\/p>\n<p>(There are many, many properties you can use here &#8230;)<\/p>\n<p>And in c:\\williams\\java\\<br \/>\nplace another file called &#8220;exception.sites&#8221;<\/p>\n<p><code>http:\/\/phet.colorado.edu\/<br \/>\nhttp:\/\/csi.chemie.tu-darmstadt.de\/<br \/>\nhttp:\/\/winter.group.shef.ac.uk\/<\/code><\/p>\n<p>Once configured this way, you can update the excepted sites by pushing out a new &#8220;exception.sites&#8221; list to the computers.<\/p>\n<p>For additional documentation see the websites at:<\/p>\n<p><a href=\"http:\/\/docs.oracle.com\/javase\/7\/docs\/technotes\/guides\/jweb\/jcp\/properties.html\">http:\/\/docs.oracle.com\/javase\/7\/docs\/technotes\/guides\/jweb\/jcp\/properties.html<\/a><\/p>\n<p><a href=\"http:\/\/www.adminarsenal.com\/admin-arsenal-blog\/manage-javas-control-panel-and-exception-site-list\/\">http:\/\/www.adminarsenal.com\/admin-arsenal-blog\/manage-javas-control-panel-and-exception-site-list\/<\/a><\/p>\n<p><strong>For Macs :<\/strong><\/p>\n<p>Create a folder called &#8220;Deployment&#8221; in: \/Library\/Application\\ Support\/Oracle\/Java\/<\/p>\n<p>In that folder create another folder called &#8220;Security&#8221;<\/p>\n<p>The files &#8220;deployment.properties&#8221; and &#8220;deployment.config&#8221; go in the &#8220;Deployment&#8221; folder, while the &#8220;exception.sites&#8221; file goes in the &#8220;Security&#8221; folder.  Here is a screen shot of what you&#8217;ll have when you are done: <\/p>\n<p><a href=\"https:\/\/sites.williams.edu\/lj1\/files\/2017\/07\/JavaConfigLocation.jpeg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.williams.edu\/lj1\/files\/2017\/07\/JavaConfigLocation-300x183.jpeg\" alt=\"\" width=\"300\" height=\"183\" class=\"aligncenter size-medium wp-image-902\" srcset=\"https:\/\/sites.williams.edu\/lj1\/files\/2017\/07\/JavaConfigLocation-300x183.jpeg 300w, https:\/\/sites.williams.edu\/lj1\/files\/2017\/07\/JavaConfigLocation-768x468.jpeg 768w, https:\/\/sites.williams.edu\/lj1\/files\/2017\/07\/JavaConfigLocation.jpeg 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Keep in mind the Mac OS is always case sensitive on file names you should a plain text editor like &#8220;Atom&#8221; to edit these files (avoids RTF crap that TextEdit adds by default) and the URL file pointer for the deployment.config files looks like:<br \/>\n<code>deployment.system.config=file:\/\/\/\/Library\/Application\\ Support\/Oracle\/Java\/Deployment\/deployment.properties<\/code><\/p>\n<p>For Williams College peeps &#8211; Current copies of these files can be found in macsus and JAMF.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some older Java-based websites are so out-of-date that Java refuses to run unless the web site is in the &#8220;excepted sites&#8221; list. This is normally a user-specific setting however you can set this up as a system wide exception list. &hellip; <a class=\"more-link\" href=\"https:\/\/sites.williams.edu\/lj1\/software\/java-config-file-and-excepted-sites-deployment\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10086,10085],"tags":[73533,50899],"class_list":["post-810","post","type-post","status-publish","format-standard","hentry","category-labs","category-software","tag-java","tag-security"],"acf":[],"_links":{"self":[{"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/posts\/810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/comments?post=810"}],"version-history":[{"count":8,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/posts\/810\/revisions"}],"predecessor-version":[{"id":903,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/posts\/810\/revisions\/903"}],"wp:attachment":[{"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/media?parent=810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/categories?post=810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.williams.edu\/lj1\/wp-json\/wp\/v2\/tags?post=810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}