Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX Web Start failure – FailedDownloadException: Unable to load resource:

 
Petr Omáčka
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have deployed JavaFX app to web. At local host works fine only applet. Runned from a file works both – applet and web start.

But after deploying to web server I got this exception (probably for both of them):

Ignored exception: ExitException[ 3]com.sun.deploy.net.FailedDownloadException: Unable to load resource: file:/C:/Users/Jan/AppData/Local/Microsoft/Windows/INetCache/IE/jar/myapp.jar

JNLP:
I have found some solution:


Regardless I hope this is the right one it wasn't.

I have tried Google but there is too much similar issues so I gave it up.
 
Petr Omáčka
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem is solved but not the way I want to. I am using folder structure like this:

root
  • arc – storing jar
  • jnlp – storing jnlp file
  • con – storing html files


  • Problem is somewhere in relative URLs. I have put arc and jnlp together and I have removed relative URLs and it is working now.

    Relative path in jnlp was:
    ..\arc\myapp.jar

    Relative path in html was:
    ..\jnlp\myapp.jnlp

    I could not find out the proper paths shapes.
     
    Umar Tahir
    Greenhorn
    Posts: 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Could you further elaborate how did you solve it?
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic