Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
     
    Greenhorn
    Posts: 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Could you further elaborate how did you solve it?
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic