{"id":4135,"date":"2013-04-30T16:32:53","date_gmt":"2013-04-30T20:32:53","guid":{"rendered":"https:\/\/pitss.org\/us\/2013\/04\/30\/intermittent-java-exception-prevents-access-to-oracle-forms-application\/"},"modified":"2017-05-15T14:26:59","modified_gmt":"2017-05-15T18:26:59","slug":"intermittent-java-exception-prevents-access-to-oracle-forms-application","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2013\/04\/30\/intermittent-java-exception-prevents-access-to-oracle-forms-application\/","title":{"rendered":"Intermittent Java Exception Prevents Access to Oracle Forms Application"},"content":{"rendered":"<p>In Oracle Forms, there has been a known issue where the following error is presented in the Java console when trying to launch an Oracle Forms application:<\/p>\n<p>\u201cCaused by: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)\u201d<\/p>\n<p><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/04\/clip_image0021.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/04\/clip_image002_thumb1.jpg\" alt=\"clip_image002\" width=\"616\" height=\"369\" border=\"0\" \/><\/a><\/p>\n<p>When this error appears, the Forms application is unable to launch. When the issue happens, clearing the Java cache has been known to fix the problem. This can happen when hyperthreading is enabled in the client PC who is accessing the Oracle Forms application.<\/p>\n<p>To fix this problem, go into the base.htm file (or webutiljpi.htm) (make a backup first) and remove the following lines:<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;!&#8211; Registration applet definition (start) &#8211;&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;OBJECT classid=&#8221;%jpi_classid%&#8221; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">codebase=&#8221;%jpi_codebase%&#8221; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">WIDTH=&#8221;0&#8243; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">HEIGHT=&#8221;0&#8243; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">HSPACE=&#8221;0&#8243; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">VSPACE=&#8221;0&#8243;&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;PARAM NAME=&#8221;TYPE&#8221; VALUE=&#8221;%jpi_mimetype%&#8221;&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;PARAM NAME=&#8221;CODEBASE&#8221; VALUE=&#8221;%codebase%&#8221;&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;PARAM NAME=&#8221;CODE&#8221; VALUE=&#8221;oracle.forms.webutil.common.RegisterWebUtil&#8221; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;PARAM NAME=&#8221;ARCHIVE&#8221; VALUE=&#8221;%webUtilArchive%&#8221; &gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;COMMENT&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;EMBED SRC=&#8221;&#8221; PLUGINSPAGE=&#8221;%jpi_download_page%&#8221; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">TYPE=&#8221;%jpi_mimetype%&#8221; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">java_codebase=&#8221;%codebase%&#8221; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">java_code=&#8221;oracle.forms.webutil.common.RegisterWebUtil&#8221; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">java_archive=&#8221;%webUtilArchive%&#8221; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">WIDTH=&#8221;1&#8243; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">HEIGHT=&#8221;1&#8243; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">HSPACE=&#8221;0&#8243; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">VSPACE=&#8221;0&#8243; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;NOEMBED&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;\/COMMENT&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;\/NOEMBED&gt;&lt;\/EMBED&gt; <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\"><span style=\"color: #1f497d\">&lt;\/OBJECT&gt; <\/span><\/p>\n<p><span style=\"color: #1f497d\">&lt;!&#8211; Registration applet definition (end) \u2013&gt;<\/span><\/p>\n<p>Save and close the file. You should be able to run the Oracle Forms application successfully without having the exception appear in the Java console. If the problem still continues, you may need to clear the Java cache one more time and\/or restart WLS_FORMS first.<\/p>\n<p><strong>Source: Oracle Support Note 601534.1 <\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Oracle Forms, there has been a known issue where the following error is presented in the Java console when trying to launch an Oracle Forms application: \u201cCaused by: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)\u201d When this error appears, the Forms application is unable to launch. When the issue happens, clearing the Java cache has [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[22,14,19,10],"tags":[15,11,16,32,25,12,23,44,17,24],"class_list":["post-4135","post","type-post","status-publish","format-standard","hentry","category-forms","category-resolve-issues","category-unix-linux","category-windows","tag-10g","tag-11g","tag-11gr2","tag-bug","tag-customer-support-request","tag-error","tag-forms","tag-java","tag-linux","tag-windows"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=4135"}],"version-history":[{"count":3,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4135\/revisions"}],"predecessor-version":[{"id":9145,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4135\/revisions\/9145"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=4135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=4135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=4135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}