Java jnlp application blocked by Security settings

后端 未结 7 1187
粉色の甜心
粉色の甜心 2021-01-04 01:31

I have an enterprise java application that has plenty of jars that are downloaded to the client\'s jvm cache by a jnlp file. When I start the application I get the following

相关标签:
7条回答
  • 2021-01-04 01:40

    You can also try enabling the checkbox under Advanced tab of java (in controlpanel) and check mark the Always allow option under JNLP file section

    0 讨论(0)
  • 2021-01-04 01:44

    I tried to add the item file:/ and worked.

    0 讨论(0)
  • 2021-01-04 01:46

    I recommend you to enable tracing and logging, see here how:

    enter image description here

    And then run the application from command line.

    javaws -verbose AppName.jnlp
    

    Then you could check for clues in log and trace files stored in this path

    \Documents and Settings\<USERNAME>\Application Data\Sun\Java\Deployment\log
    

    img source:

    http://www.cisco.com/c/en/us/support/docs/security/hostscan/117097-trouble-java7-00.html

    0 讨论(0)
  • 2021-01-04 01:49

    I fixed this by going into the Java Control Panel (Start Menu > All Programs > Java > Configure Java) and adding two URLs to the Security Edit Site List.

    http://code.google.com

    http://androidscreencast.googlecode.com

    For Mac System Preferences > Java

    Where to add these sites

    Java Control Panel > Security Tab > Edit Site List > Add > Apply > Ok enter image description here

    0 讨论(0)
  • 2021-01-04 01:59

    I had a very similar problem (Correctly signed JNLP application prevented from running in Java 7)

    I fixed it by ensuring

    • I compiled using 1.7
    • I updated my JNLP file to enforce 1.7

      <resources>
      <j2se version="1.7*" java-vm-args="-Xmx32m" max-heap-size="32m" href="http://java.sun.com/products/autodl/j2se"/>

    0 讨论(0)
  • 2021-01-04 02:00

    We saw this problem with Java 1.8u60 caused by dead references to icons in the JNLP file. Previously the missing icons were ignored, but now we are seeing failures with the stack trace in the question. Removing the references to the icons fixed our problem.

    Here are the two references we removed:

    <icon href="ORCL.jpg" kind="splash"/>
    <icon href="ORCS.jpg" kind="default"/>
    

    Hope that helps.

    0 讨论(0)
提交回复
热议问题