Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8042665

DeploymentRuleSet.jar is not found under MacOS X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 7u45, 8, 9
    • deploy
    • os_x

      FULL PRODUCT VERSION :
      # /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
      java version "1.7.0_45"
      Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
      #

      ADDITIONAL OS VERSION INFORMATION :
      MacOS X Mavericks 10.9
      Darwin 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      JRE 7u45 for MacOS X

      A DESCRIPTION OF THE PROBLEM :
      https://forums.oracle.com/thread/2596477

      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.


      ADDITIONAL REGRESSION INFORMATION:
      # /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
      java version "1.7.0_45"
      Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
      #

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Per instructions

      http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/deployment_rules.html

      Create a ruleset.xml containing valid rules and add it to DeploymentRuleSet.jar and sign with a valid code signing certificate.

      Place DeploymentRuleSet.jar in /etc/.java/deployment

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Able to see the deployed ruleset in the Java Control Panel and have the rules be effective.
      ACTUAL -
      The ruleset is simply not found or is ignored. I suspect the Jav Plugin is simply looking in some other place for the file.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      None -- it just quietly doesn't work.

      REPRODUCIBILITY :
      This bug can be reproduced always.

            ddehaven David Dehaven (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: