This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 150438 - Unable to load resource during WebStart deployment
Summary: Unable to load resource during WebStart deployment
Status: REOPENED
Alias: None
Product: javafx
Classification: Unclassified
Component: Deployment (show other bugs)
Version: 8.0.2
Hardware: All Windows 7
: P2 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 20:41 UTC by Lark Fitzgerald
Modified: 2017-05-15 09:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-10-16 20:41:32 UTC
Tested using Promoted Plugin build #25
Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 741, Build-ID: 2008-10-14_17-39-02 on:
Product Version: NetBeans IDE 6.5 RC1 (Build 200810151402)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Error: Unable to load resource:
(http://jfx.sfbay.sun.com/hudson/job/javafx1.0/label=macosx-universal/741/artifact/build/macosx-
universal/release/javaws/javafx-rt.jnlp" version="hudson-javafx1.0/label=windows-i586-741)

1. Create Color Wheel sample project
2. deploy it (it works fine)
3. right click project > Run > set to Web Start


<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="file:/C:/Users/Lark/Documents/NetBeansProjects/Color%20Wheel/dist/" 
href="Color_Wheel.jnlp">
    <information>
        <title>Color_Wheel</title>
        <vendor>Lark</vendor>
        <homepage href=""/>
        <description>Color_Wheel</description>
        <offline-allowed/>
        <shortcut>
            <desktop/>
        </shortcut>
    </information>
    <security>
        <all-permissions/>
    </security>
    <resources>
        <j2se version="1.5+"/>
        <extension name="JavaFX Runtime" href="http://jfx.sfbay.sun.com/hudson/job/javafx1.0/label=macosx-
universal/741/artifact/build/macosx-universal/release/javaws/javafx-rt.jnlp" version="hudson-javafx1.0/label=windows-
i586-741"/>
        <jar href="Color_Wheel.jar" main="true"/>
    </resources>
    <application-desc main-class="color.ColorWheel"/>
</jnlp>


Exception says:

com.sun.deploy.net.FailedDownloadException: Unable to load resource: 
(http://jfx.sfbay.sun.com/hudson/job/javafx1.0/label=macosx-universal/741/artifact/build/macosx-
universal/release/javaws/javafx-rt.jnlp, hudson-javafx1.0/label=windows-i586-741)
	at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1248)
	at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1456)
	at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1434)
	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1537)
	at com.sun.deploy.net.DownloadEngine.getCachedFile(DownloadEngine.java:559)
	at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(LaunchDownload.java:601)
	at com.sun.javaws.LaunchDownload.downloadExtensions(LaunchDownload.java:544)
	at com.sun.javaws.Launcher.downloadResources(Launcher.java:1053)
	at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:638)
	at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:217)
	at com.sun.javaws.Launcher.launch(Launcher.java:111)
	at com.sun.javaws.Main.launchApp(Main.java:306)
	at com.sun.javaws.Main.continueInSecureThread(Main.java:210)
	at com.sun.javaws.Main$1.run(Main.java:107)
	at java.lang.Thread.run(Thread.java:619)
Comment 1 Lark Fitzgerald 2008-10-16 21:57:10 UTC
See: http://openjfx.java.sun.com/jira/browse/RT-1258
Comment 2 Martin Ryzl 2008-10-17 14:59:32 UTC
I was told by Craig that Adam had fixed that already. Adam, please close the bug if it is true.
Comment 3 Lark Fitzgerald 2008-10-20 18:08:51 UTC
No longer able to reproduce

Tested using Promoted SDK #42/Plugin build #41 Oct 20, 2008 6:57:29 PM
Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 749, Build-ID: 2008-10-17_19-02-42 on:
Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 4 Alexandr Scherbatiy 2008-10-22 11:46:08 UTC
verified
Comment 5 shilpa1990 2016-01-28 09:34:27 UTC
I am facing this issue now. Altough my dependent jars are signed but always exception comes saying Unable to load resource.
Comment 6 Lou Dasaro 2016-01-28 18:22:38 UTC
Please provide your system information: copy it from the IDE Help->About.
Thank you.