Forum Discussion

EpicOfChaos's avatar
13 years ago

Load UI Will Not Install/Launch

I am trying to install load UI but have ran into several issues today. For one the download link was not working this morning, that has since been fixed. Now when I try to install 2.1.1 after the loadui install when it goes to install java FX I get the following error.

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://dl.javafx.com/1.3/javafx-rt-wind ... _b101a.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


I have tried install serveral times but no luck. Any ideas?
  • DavidEtcell's avatar
    DavidEtcell
    Occasional Contributor
    I am having the exact same issue. I was using Java 7u06, I updated to the latest 7u13, same problem. I am using LoadUI 2.1.1, so I will give 2.1.2 a go since thats meant to specifically address the startup issue, though thats difficult since my works firewall blocks sourceforge.
  • jedizippy's avatar
    jedizippy
    New Contributor
    Is 2.1.2 supposed to address this issue with JavaFX ? I have spent a whole day trying to get LoadUI to work behind a corporate firewall with absolutely no success. It just still tries to download JavaFX and fails. Most (if not all corporate firewalls with proxy use username/password authentication) but LoadUI seems not to support this. I have tried on Windows 7, Windows XP and Linux and all failed.

    I tried installing it (as per some forum posts) on a windows machine not in the firewall zone and then copying that install to the windows box that was behind the firewall (with JavaFX installed manually) and that did not work either.

    Seems that this piece of extremely useful software was never designed to work in corporate internets (which is probably where 95% of the usage would have been !).

    If anyone has managed to get this to work then please let me know how. We have no proxy without authentication so I assume we can never use this tool !.

    TIA
    Martin
  • DavidEtcell's avatar
    DavidEtcell
    Occasional Contributor
    2.1.2 addresses the JaveFX issue very well.

    I downloaded the new version from the alternate site and its starting all good. One issue I did notice is that the agent .exe seemed to be a dead link, so I had to get the bin version, and grab the jre directory from the existing 2.1.1 direcrory on the agents.

    I have noticed that occasionally LoadUI sits there 'connecting' to a load generator agent for ever, and sometimes the scenario distribution to the clients stick on 'distributing', which is usually fixed by a agent machine reboot, and removing/readding the agent in LoadUI. I suspect this is because of the canibalised 2.1.1 dist...
  • jedizippy's avatar
    jedizippy
    New Contributor
    Hi David,

    I did actually get it to work in the end and pretty much followed the process you mentioned !. Thanks for the response.

    Cheers
    Martin
  • raosaheb's avatar
    raosaheb
    Occasional Contributor
    I solved this problem.
    Do follwing Steps:
    1. Download manually javafx-rt.jnlp file and place it in loadUI installation folder (ie.C:\Program Files\SmartBear\loadUI-2.1.1)
    2. Open loadUI.jnlp file. This file already present in your installation folder. Edit this file by changing the line
    <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/> with <extension name="JavaFX Runtime" codebase="file:." href="javafx- rt.jnlp"/>
    3. Open javafx-rt.jnlp file and check what are the jars required according to your OS and download that jars manually.
    4. Place downloaded jars into lib folder (ie. C:\Program Files\SmartBear\loadUI-2.1.1\lib)
    Ex. Windows require following jar files
    i. javafx-rt-windows-i586__V1.3.1_b101.jar
    ii. javafx-rt-lazy-windows-i586__V1.3.1_b101.jar
    iii. javafx-rt-fonts-windows-i586__V1.3.1_b101.jar
    iv. javafx-rt-natives-windows-i586__V1.3.1_b101.jar
    v. jmc-natives-windows-i586__V1.3.1_b101.jar
    5. Now edit javafx-rt.jnlp with following code.
    This code is for windows OS
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" version="1.3.1_b101" codebase="file:." href="javafx-rt.jnlp">
    <information>
    <title>JavaFX Runtime</title>
    <vendor>Oracle Corporation</vendor>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="background"/>

    <resources>
    <jar href="lib/progressbar__V1.3.1_b101.jar"/>
    </resources>

    <resources os="Windows">
    <jar href="lib/javafx-rt-windows-i586__V1.3.1_b101.jar"/>
    <jar href="lib/javafx-rt-lazy-windows-i586__V1.3.1_b101.jar"/>
    <jar href="lib/javafx-rt-fonts-windows-i586__V1.3.1_b101.jar"/>
    </resources>

    <resources os="Windows" arch="x86">
    <nativelib href="lib/javafx-rt-natives-windows-i586__V1.3.1_b101.jar"/>
    <nativelib href="lib/jmc-natives-windows-i586__V1.3.1_b101.jar"/>
    </resources>

    <resources os="Mac OS X">
    <jar href="javafx-rt-macosx-universal__V1.3.1_b101.jar" size="1229513" part="javafx-rt" download="eager"/>
    <jar href="javafx-rt-lazy-macosx-universal__V1.3.1_b101.jar" size="221529" part="javafx-rt" download="lazy"/>
    <jar href="javafx-rt-fonts-macosx-universal__V1.3.1_b101.jar" size="155282" part="javafx-rt" download="lazy"/>
    </resources>

    <resources os="Mac OS X" arch="ppc">
    <nativelib href="javafx-rt-natives-macosx-universal__V1.3.1_b101.jar" size="486786" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="Mac OS X" arch="i386">
    <nativelib href="javafx-rt-natives-macosx-i386__V1.3.1_b101.jar" size="224644" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="Mac OS X" arch="x86_64">
    <nativelib href="javafx-rt-natives-macosx-x86_64__V1.3.1_b101.jar" size="243787" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="Linux">
    <jar href="javafx-rt-linux-i586__V1.3.1_b101.jar" size="1089958" part="javafx-rt" download="eager"/>
    <jar href="javafx-rt-lazy-linux-i586__V1.3.1_b101.jar" size="221638" part="javafx-rt" download="lazy"/>
    <jar href="javafx-rt-fonts-linux-i586__V1.3.1_b101.jar" size="155272" part="javafx-rt" download="lazy"/>
    </resources>

    <resources os="Linux" arch="i386">
    <nativelib href="javafx-rt-natives-linux-i586__V1.3.1_b101.jar" size="422337" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="Linux" arch="x86">
    <nativelib href="javafx-rt-natives-linux-i586__V1.3.1_b101.jar" size="422337" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="SunOS">
    <jar href="javafx-rt-solaris-i586__V1.3.1_b101.jar" size="1079380" part="javafx-rt" download="eager"/>
    <jar href="javafx-rt-lazy-solaris-i586__V1.3.1_b101.jar" size="221687" part="javafx-rt" download="lazy"/>
    <jar href="javafx-rt-fonts-solaris-i586__V1.3.1_b101.jar" size="155270" part="javafx-rt" download="lazy"/>
    </resources>

    <resources os="SunOS" arch="x86">
    <nativelib href="javafx-rt-natives-solaris-i586__V1.3.1_b101.jar" size="189894" part="javafx-rt" download="eager"/>
    </resources>
    <component-desc progress-class="com.javafx.progressbar.ProgressManager"/>
    </jnlp>


    (NOTE: u have to change the resources tag according to your OS)

    6. Now start loadUI app.

    Regards,
    Raosaheb