This discussion is archived
5 Replies Latest reply: Feb 6, 2013 7:37 PM by RogerL (Oracle) RSS

Security error since upgrade to JDK 7u13

989000 Newbie
Currently Being Moderated
I've developed an application with javaFX embedded into a browser.
No problem since 2 month.
But since the upgrade to JRE 7u13, I've a security error (my previous version was 7u11).

Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "mapAnyUriToUri" "read")
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)

My javaFX component is signed with a custom certificat and use JAXB.

Is anyone have the same problem? Somebody have found a solution?
  • 1. Re: Security error since upgrade to JDK 7u13
    jsmith Guru
    Currently Being Moderated
    Log a bug against the Runtime => http://javafx-jira.kenai.com

    There was a somewhat similar issue with Ensemble earlier (also a signed embedded app)
    http://javafx-jira.kenai.com/browse/RT-26971"Sample Showcase (Ensemble) does not start"

    Ensemble also wasn't starting due to access permissions on a property lookup. It was an issue with a different property though as ensemble's encountered the error trying to access "java.net.useSystemProxies".

    I'm sure what was done to fix Ensemble as I don't have access to the patch link.
  • 2. Re: Security error since upgrade to JDK 7u13
    989000 Newbie
    Currently Being Moderated
    Thank you for your answer.

    Finally, the system seems to consider my applet as unsigned... but I don't know why, I use the javafx Ant task...
    I've used an old trick: System.setSecurityManager(null); just before JAXBContext.newInstance(NEEDED_CLASSES);
    Probably not the best and clean way, but pretty darn effective.

    The main problem for me is the opacity of this new version.
    How to anticipate next JRE version?
    How to use this technology in a professional environment if each JRE update can break my application?
  • 3. Re: Security error since upgrade to JDK 7u13
    zmirc Newbie
    Currently Being Moderated
    + 1 for "How to use this technology in a professional environment if each JRE update can break my application?"
    I put myself in a "bad light" in front of my customers because of Java & JFX bugs.
  • 4. Re: Security error since upgrade to JDK 7u13
    989000 Newbie
    Currently Being Moderated
    In fact, I don't have development bug.

    The biggest problem is the integration in the browsers.
    The behavior is not the same according to the browser. Chrome seems to be more cool. Firefox don't like java plugin...
    Today, I'm really not sure to have choosen the best technology and I'll probably evaluate flex/flash.
  • 5. Re: Security error since upgrade to JDK 7u13
    RogerL (Oracle) Java Champion
    Currently Being Moderated
    Similar bug has been filed: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8007440

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points