Deployment Rule Sets do not properly launch the latest available version from the JRE6 family when the jpi-version is specified by the RIA

Issue Summary
In Java 1.7 Update 71, Java 1.7 Update 72 and Java 1.8 Update 25 Deployment Rule Sets do not properly launch the latest available version from the JRE6 family when the jpi-version is specified by the RIA.  We've noticed this with Oracle Forms and Reports 11g where we have forms that specify Java 1.6 Update 20.  We used to be able to specify Java 1.6 Update 26 in our Ruleset, but now the only version a that works in our ruleset is Java 1.6 Update 20 which is the same version requested by the JPI-Version attribute of the jar.  The long term solution would be to upgrade Oracle Forms and Reports, however this isn't currently in the cards.
RuleSet.xml Test
Ruleset.xml

2
3
4
5
6
7
8
9
10
11
<ruleset version="1.0+">  
<rule>
   <id location="*.javatester.org" />
   <action permission="run" version="1.6*" />
</rule>
<ruleset version="1.0+">
<rule>
   <id location="*.internaldomain.name" />
   <action permission="run" version="1.6*" />
</rule>
</ruleset>
Test 1 (Control)
Installed Java Versions:
– 1.7 Update 51 b13 (both x86 and x64 however x86 is invoked)
– 1.6 Update 26 b03 (both x86 and x64 however x86 is invoked)
Deployment Ruleset works as expected for both URLs
Test 2
Installed Java Versions:
– 1.7 Update 72 (both x86 and x64 however x86 is invoked)
– 1.6 Update 26 b03 (both x86 and x64 however x86 is invoked)
The RuleSet works for JavaTester.org however on internaldomain.name we get the following error:
With the trace logging turned on, I suspected the version attribute supplied by the RIA. I was able to trick Java by adding the following to my system deployment.properties file:
deployment.javaws.jre.0.product=1.6.0_20
deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.0.enabled=true
Because the RIA requests 1.6.0_20 it matches 1.6* from the deployment ruleset sooner than 1.6.0_26. However, if 1.6.0_20 is not available 1.6.0_26 should match according to the Deployment Rule Set documentation:
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/deployment_rules.html
The version of the JRE that is used is determined by the following order of precedence:
1. The current version of the JRE is used if it is available and matches both the version attribute and the version requested by the RIA.
2. The latest available version of the JRE is used if it matches both the version attribute and the version requested by the RIA.
3. The current version of the JRE is used if it is available and matches the version attribute.
4. The latest available version of the JRE is used if it matches the version attribute.
If no version is available that meets the criteria, then the RIA is blocked, and a message is shown to the user. To provide a custom message, include the message element.
As a result:
If Java 1.6.0_20 is listed in the version requested by the RIA and 1.6.0_20 is listed in the deployment.properties file, #1 matches.
If Java 1.6.0_20 is listed in the version requested by the RIA, but 1.6.0_20 is NOT listed in the deployment.properties file the #1 SHOULD match, but doesn’t. It used to match up-to and including JRE 1.7 Update 51 however the ruleset appears to no longer match in subsequent versions.
#2 should never match with our current Deployment Ruleset. It would match if we specified 1.7* as a version in the Ruleset.xml.
#3 used to be broken as well after JRE 1.7 Update 51 however this bug has been marked as fixed. See: http://bugs.java.com/view_bug.do?bug_id=8032781
I have reproduced this issue with Java 1.7 Update 71, Java 1.7 Update 72, and Java 1.8 Update 25 when one of these versions are installed with Java 1.6 Update 26.

I can't seem to edit this post anymore, for some odd reason.
So here goes;
I found this post in NVIDIA's knowledge base;
When installing an after-market graphics card into a certified Windows 8 PC with UEFI enabled, the s...
The interesting parts in this post are as follows;
When an after-market graphics card is installed into a motherboard with UEFI enabled in the system BIOS, or if the system is a certified Windows 8 PC with Secure Boot enabled, the system may not boot.
UEFI is a new system BIOS feature that is provided on most new motherboards. A UEFI system BIOS is required in order for the Windows 8 Secure Boot feature to work. Secure boot is enabled by default on certified Windows 8 PCs.
In order to get the PC to boot with a graphics card that does not contain UEFI firmware, the end-user must first disable the secure boot feature in the system's SBIOS before installing the graphics card.
Note: Some system SBIOS's incorporate a feature called compatibility boot. These systems will detect a non-UEFI-enabled firmware VBIOS and allow the user to disable secure boot and then proceed with a compatibility boot. If the system contains a system SBIOS the supports compatibility boot, the user will need to disable secure boot when asked during boot process
This leads me to believe that the BIOS update that wrecked my setup was 9SKT58A/9SJT58A, which only contains one change;
"Adds support for updating BIOS from a WIN7 BIOS to a WIN8 BIOS".
I've just ordered a cheap UEFI-compatible GT640 from Gainward, so I hope I'll be able to try that out this weekend.

Similar Messages

  • 7u45: MacOS X: Deployment Rule Set not found?

    Per the Deployment Rule Set packaging instructions:
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/deployment_rules.html#package
    "Install the DeploymentRuleSet.jar file on your users' systems in the following directories:
    On Windows platforms, install the file in the <Windows-directory>\Sun\Java\Deployment directory, for example, c:\Windows\Sun\Java\Deployment.
    On Mac OS X and UNIX platforms, install the file in the /etc/.java/deployment directory.
    To view the active rule set, see the Security section of Java Control Panel."
    I am able to use and view the rule set on Windows and Linux platforms, but the deployment rule set is not seen under MacOS X (10.9 Mavericks).
    I placed it in:
    /etc/.java/deployment/DeploymentRuleSet.jar and yes, it is properly signed, in the correct format, etc. Identical file works fine under Windows and Linux.
    Anyone else have this issue?

    Hurray!! I finally found out how to get the JCP to display the DeployementRuleSet.jar file.
    The path in the documentation (/etc/.java/deployment) is wrong (at least on Mac OSX 10.7.5)!.
    I went through the decompilation of the ControlPanel source code, and found out that the expected path for the jar file is
    /Library/Application Support/Oracle/Java/Deployment
    Note:The Deployment directory has to be created

  • Deployment Rule Set broken with Java 7u55

    Hello!
    I'm using Deployment Rule Set in my company environment, its signed by code signing certificate that is given out by internal CA. After I upgraded to Java 7u55, the Deployment Rule Set does not recognize older statically installed Java version.
    Versions I have:
    7u45 - install directory: C:\Program Files\Java\jre1.7.0_45
    7u51 - install directory: C:\Program Files\Java\jre1.7.0_51
    7u55 - install directory: C:\Program Files\Java\jre1.7.0_55 or C:\Program Files\Java\jre7\ - neither does not work
    When I go to site described in Ruleset and that has to use Java 7u45, then I receive an message "Deployment Rule Set required Java version 1.7.0_45 not available. In the same way it doesn't recognize 1.7.0.51 or even Java version 6.
    When I uninstall Java 7u55, everthing works fine again.
    My ruleset looks like this:
    <ruleset version="1.0+">
         <rule>
              <id location="first.site.com" />
              <action permission="run" version="1.7.0_45" />
         </rule>
         <rule>
              <id location="second.site.com" />
              <action permission="run" version="1.7.0_51" />
         </rule>
         <rule
              <id />
              <action permission="default" />
         </rule>
    </ruleset>
    Anyone knows what's wrong or is it a bug?

    costlow - I disagree.  If I'm using IE, then I only need the internal certficate used to sign the jar to be also insalled on the machine in question in the windows CA Certs store.  If the cert was the issue, why does it work with 7u51.  If it was a bad cert, it should fail with every version.  Plus, I think the pop up has a different error message if it has a cert issue.
    I'm having the exact same issue as the OP described and it all started with 7u55.  Here's what I've found:
    - With 7u55 or 7u60 installed, the error will come up rergardless of what prior version is being requested.
    - If 7u51 is the latest installed, it works
    -  If 8u05 is installed with 7u55 and/or 7u60, it works
    - If I install the 7u60 EA b15, it works
    Something in the final release is being added that blocks this functionality, but for some odd reason only in the 7 family starting with 7u55.
    Any insight you could give would be very helpful.  In the meantime, I am deploying 8u05 to cover this up, but it does pose issues for some apps that don't work with the new 8 family plugin.

  • Allowing jnlp via deployment rule set

    Hello,
    In our network, we use a deployment rule set to only allow applets that we deem necessary, and all others are blocked.  This has been working fine.  However recently I've been asked to add a website to the allowed list.  This website downloads a jnlp file, then launches the jnlp locally, and is blocked every time.  Now I'm not that well versed in java applets.  But I've added the website address that this applet calls too, and have had no luck with this running.  Everything I've tried has not worked.
    This is a snippet of the ruleset.xml
    <rule>
    <id location="http://elm.elluminate.com:80/" /> <!-- Assessor Online Class -->
    <action permission="run" />
    </rule>
    The java console has not been helpful, as the application is blocked before java even starts...after the jnlp verifies, it blocks the application due to the ruleset.  How can i set this ruleset up so that this jnlp is allowed to run?

    Hello,
    To allow a local jnlp to run without any prompts using Deployment Rule Sets, you can use a rule to allow all the applets signed with a specific certitificate:
    <rule>
            <id>
                 <certificate hash="794F53C746E2AA77D84B843BE942CAB4309F258FD946D62A6C4CCEAB8E1DB2C6" />
            </id>
            <action permission="run" />
    </rule>   
    You can get your certificate hash in SHA-256 from the signed jar file following this doc:
    http://docs.oracle.com/javase/8/docs/technotes/guides/jweb/security/deployment_rules.html#gethash

  • Getting Deployment Rule Sets to work

    So, I'm struggling trying to get Java deployment rule sets working as follows:
    Here is my simple ruleset.xml:
    <ruleset version="1.0+">
      <rule>
        <id location="javatester.org" />
        <action permission="run" version="1.6.0_35" />
      </rule>
    </ruleset>
    I have gotten this same ruleset working using 3 different older versions of jre7 (7u45, 7u35, 7u9) where javatester.org website will display the specified version, even when a newer version is present.  However, this seems to break when I try to specify a jre6 version (tried both 6u35 & 6u27).
    For example, when I try 6u35, the javatester.org website displays
    Error.  Click for details
    When I click, a blank pop up windows briefly pops up then disappears, with a title bar "Application Error".  I have made the Java console visible for testing purposes, and both the 1.7.0_51 & 1.6.0_35 consoles pop up, but I can't find anywhere why this might not work.  I am assuming it's not a certificate issue, as I imported my self-signed certificate into the Signer CA store and can see it in both the Java 7u51 control panel, and the Java 6u35 control panel.
    Any thoughts?  Anyone else get this working?

    Hello,
    can you show me your "ruleset.xml"?
    I had similar problems when I had an error in there (invalid XML). You have to be extra careful that it is valid UTF-8 too. I already got a problem because of an invalid umlaut,
    Regards
    Markus

  • Deployment Rule Set Centrally Managed location of .jar file?

    Hello,
    We are currently looking at implementing the Deployment Rule Set in our company and I was wondering if there is a way to centrally manage the Deployment Rule Set?
    Having to keep up with deploying the jar file for every change and expiring certificates isn't ideal
    Thanks!

    And your OS doesn't have a file search feature, which might have given you the answer faster than waiting for a response on these columns?
    db

  • I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

  • I had just put the finishing touches on my 36 minute documentatary when I got an error message that the external 1TB HD I was using to store the project had been ejected improperly (must have shaken a cord).  The result is that the project would not load

    I had just put the finishing touches on my 36 minute documentatary when I got an error message that the external 1TB HD I was using to store the project had been ejected improperly (must have shaken a cord).  The result is that the project would not load in the edit Projects window.  I can see the file in the finder window and it will launch iMovie but the file itself will not load in the projects window.
    I have contacted apple support and they tried to do a few things... to no available.
    With my limited knowledge of file structures I assume that the header file must be corrupt.
    Is there a 3rd party utility that can decompile and fix the file structure so it will load properly.  I've been working on this project since june and would hate to have to redo the whole thing again.

    I had just put the finishing touches on my 36 minute documentatary when I got an error message that the external 1TB HD I was using to store the project had been ejected improperly (must have shaken a cord).  The result is that the project would not load in the edit Projects window.  I can see the file in the finder window and it will launch iMovie but the file itself will not load in the projects window.
    I have contacted apple support and they tried to do a few things... to no available.
    With my limited knowledge of file structures I assume that the header file must be corrupt.
    Is there a 3rd party utility that can decompile and fix the file structure so it will load properly.  I've been working on this project since june and would hate to have to redo the whole thing again.

  • Version 8.1 Can't Activate, Can't Update, Can't create/export NX *.prt Files to 3D PDF. Screen Capture feature does not properly represent Model/Bodies. Printing from NX does not recognize Adobe Acrobat 3D as a printer to try and export.

    Version 8.1 Can't Activate, Can't Update, Can't create/export NX *.prt Files to 3D PDF. Screen Capture feature does not properly represent Model/Bodies. Printing from NX does not recognize Adobe Acrobat 3D as a printer to try and export.
    I was able to register it though.

    Not a surprise. The Acrobat 8 product family passed into End of Support back in 2011.
    Be well...

  • Im trying to uninstall itunes because the newest version wont download.  But when i go to uninstall, it says "The system administrator has set policies to prevent this uninstallation"  Whats can i do to uninstall

    Im trying to uninstall itunes because the newest version wont download.  But when i go to uninstall, it says "The system administrator has set policies to prevent this uninstallation"  Whats can i do to uninstall

    Windows right?
    Likely your not the administor any more, the botnet is.
    Check on this site really quick if your part of a botnet
    http://botnetchecker.com/
    All clear? Hopefully. Backup your files to a external drive, cd or dvd, USB keye etc off your computer.
    Run the sfx file on this site and it will burn to a cd.
    http://www.avira.com/en/support-download-avira-antivir-rescue-system
    Next hit your BIO's key and set the cd to boot first, run the scanner and see what it pops up.
    If your all clear then create another Admin, transfer your files over from the first Admin.
    See if that works, eventually when your totally over to the new Admin, delete the old one.
    If you can't create a new Admin, find out who locked your machine down, like your parents or it's a school computer?
    Likely installed spyware or "nanyware" to watch you.
    Hope that works.

  • ITunes could not copy "Beethoven's Symphony No 9 (from "A Clockwork Orange")" to iPhone "Heywood Floyd's iPhone" because the file could not be read or written

    Hello, i am having the following problem...
    "iTunes could not copy "Beethoven's Symphony No 9 (from "A Clockwork Orange")" to iPhone "Heywood Floyd's iPhone" because the file could not be read or written" [ ... and yes, Heywood Floyd is an avatar name..]
    With this...
    a. it occurs when I try to synch my iphone with iTunes.
    b. I have tested the "Beethoven's Symphony No 9" files that I have found on my iTunes, and my iPhone, as there is a copy of "Beethoven_ Symphony No. 9, _Choral_" folder that is the concert from Bernard Haitink & London Symphony Orchestra;
    c. This is where is get weird, a sort of Jack Torrance moment, they only file related to "A clock work orange" is 06 A Clockwork Orange - Ode to Joy.m4p...
    So what is happening, and how can I resolve this, as I am not able to synch between my mac and my iPhone....

    Check the media source drive for errors.
    See also Repair security permissions for iTunes for Windows. Not sure it is relevant but can't hurt.
    If iTunes is confused about what media is and is not on the device take these steps:
    Backup the device.
    Restore as a new device.
    Restore from the earlier backup.
    tt2

  • Using Windows 8.1 with Directx11, when I lauch Photoshop Elements Organizer, I see the error message "DirectX could not be initialized. Please be sure that it is installed on your system. You can download the latest DirectX installer from:[URL] I have the

    Using Windows 8.1 with Directx11, when I lauch Photoshop Elements 12 Organizer, I see the error message "DirectX could not be initialized. Please be sure that it is installed on your system. You can download the latest DirectX installer from:[URL] I have the latest version, Directx11, as verified by running dxdiag.

    Maybe you need to enable Direct Play under Legacy Components in the Turn Windows Features on or off dialog.
    1. Right click on the windows start Logo on the taskbar, select Control Panel and click on Programs
    2. Under Programs and Features click on Turn Windows Features on or off and then under Legacy Components enable Direct Play

  • I just got an iPod shuffle yesterday and I have downloaded the latest update for iTunes (10.7) and when I plugin it in it says that I have not got the correct software for the iPod

    I just got an iPod shuffle yesterday and I have downloaded the latest update for iTunes (10.7) and when I plugin it in it says that I have not got the correct software for the iPod

    What is the exact error message you are receiving?  Have you checked to make sure the connections on each end of the USB cable are nice and snug?
    B-rock

  • After uninstalling and downloading the latest Abobe Flash player, I can no lnger play youtube videos. I get the message "blocked plug-in". It works in Firefox, but not Safari.

    After uninstalling and downloading the latest Abobe Flash player, I can no lnger play youtube videos. I get the message "blocked plug-in". It works in Firefox, but not Safari?

    Frostbitblue,
    in Safari’s Preferences, select its Security tab, and make sure that its “Internet plug-ins: Allow Plug-ins” checkbox is checked.

  • I just purchased Adobe Acrobat Standard DC andf upgraded from Acrobat XI. When I instalkled it on my PC the print Production Tools were there and functional. I installed it on my Laptop and those tolls are not there. What do I need to do to have Print Pro

    I just purchased Adobe Acrobat Standard DC andf upgraded from Acrobat XI. When I instalkled it on my PC the print Production Tools were there and functional. I installed it on my Laptop and those tolls are not there. What do I need to do to have Print Production Tools on both computers?

    This is quite odd. I wonder if you could try something for me on EACH computer.
    Use Help > About Adobe Acrobat DC.
    At the top of the box it should say Adobe Acrobat Pro DC or Adobe Acrobat Standard DC.
    On each of the two machines, what does it say? (I think something odd has happened)

Maybe you are looking for

  • One drive (sky drive) for sharepoint 2013

    Looking for support on the one drive: referenced here:http://support.microsoft.com/kb/2903984 We have Sharepoint 2013 and would like to use the sky drive (one drive).. We don't use Office 2013, but Office 2010 I found the link to the download of oned

  • MSExchangeSA and IS is not starting automatic at reboot after upgrading the server from SP1 to SP2

    I am running a 2 node DAG with separate Hub & CAS servers I have already upgraded the Hub CAS server and they are fine Exchange running on Windows 2008 R2 SP1 All are in VM-Ware ESXi 5.0 After I upgrade the mailbox server to SP2 the SA and IS service

  • Packaging a vb application

    Hi all! Has anyone tried packaging a vb application (using the Packaging and Deployment Wizard) with an activex control derived from a java bean using the bridge? What are the files that need to be included along with the ones packed by default by th

  • Can I build a test over several pages, and give instant pass/fail feedback.

    I want to build a test over several pages.  I would like to have buttons where you click on the answer, and at the end of the test show pass/fail and answers to failed questions.  I also want to show the percentage to the test answers, such as 76% ou

  • Photos from PC to iphone4s

    how to transfer photos and fils (pdf, ecxel, word) to iphone 4s