1 Reply Latest reply: Jan 15, 2014 12:01 PM by user3921850 RSS

    Deployment Rule set not recognised?

    f9834bf5-b1c2-4ef8-8243-9c0be89ce397

      Hi,

       

      I have created a ruleset.xml , created a DeploymentRuleSet.jar and have the jar-file signed.  When I save it in [appdir]\Sun\Java\Deployment and I do the check in the Control Panel, the.jar-file is not 'recognised'.  In the tab 'Security', the option 'View the active Deployment Rule Set' is not visible.  Does anyone have an idea how to debug?  What could be the issue?

       

      Thanks for the feedback.

      Geert


        • 1. Re: Deployment Rule set not recognised?
          user3921850

          try first to open the xml in firefox, to check if the xml is correctly formated

          then recheck the xml rules for any error or misspelling

          how did you created the .jar file? the "correct"  command line is "jar cvf DeploymentRuleSet.jar ruleset.xml"

          the certificate is valid? test the jar file signature with "jarsigner -verify DeploymentRuleSet.jar"

          Finally, confirm that you really created the %windir%/sun/java/deployment/ . Test by doing a "dir %windir%/sun/java/deployment/DeploymentRuleSet.jar"

           

          if still fails, try reducing your ruleset.xml to the basic and in despair, try using sysinternals "procmon" to check if java is failling to readh the file and why