Friday 9 September 2011

OraFormsFaces Java trusted/untrusted warning message

Problem statement:
The OraFormsFaces' applet contains code which is trusted and also untrusted. So, as per Java's help pages: "As of the Java SE 6 Update 19 release, when a program contains both signed and unsigned components, a warning dialog is raised. " Therefore, if it is the case with your scenario as it was with mine you'll see the following warning dialog when you load a OraFormsFaces Form component in ADF:

Resolution:
You have to open the Java Console from Control Panel (in the case of Windows) and change the security settings in order to make the display of the warning message go away.
To access the Java Control Panel goto, Start menu > Control Panel > Java Control Panel > Advanced > Security. See the Mixed code heading towards the bottom of the Java Control Panel.
You can tick any of the two "Enable - hiding warning..." options provided. In my case I picked: "Enable - hide warning and run with protections." I've included a screenshot of the Java Console Security options as it is displayed in Windows 7:

I hope you've found it useful! :-)

No comments:

Post a Comment