Forum Discussion

Dazster's avatar
13 years ago

loadUI does not start

I installed loadUI 1.5.0 successfully on Windows 7 but it doesn't start. I cleared the javaws cache to no avail. Here is the output in the java console which shows some unresolved dependencies:


Launching loadUI Build: loadUI-Dist-2011-06-13-[3] 2011/06/13 20:56
ERROR: Bundle com.springsource.org.apache.ivy [9] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/com.springsource.org.apache.ivy-2.1.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.org.apache.ivy [9]: Unable to resolve 9.0: missing requirement [9.0] package; (&(package=javax.swing)(version>=0.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.org.apache.ivy [9]: Unable to resolve 9.0: missing requirement [9.0] package; (&(package=javax.swing)(version>=0.0.0))
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.springsource.org.apache.log4j [10] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/com.springsource.org.apache.log4j-1.2.16.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.org.apache.log4j [10]: Unable to resolve 10.0: missing requirement [10.0] package; (&(package=javax.management)(version>=0.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.org.apache.log4j [10]: Unable to resolve 10.0: missing requirement [10.0] package; (&(package=javax.management)(version>=0.0.0))
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.springsource.slf4j.api [11] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/com.springsource.slf4j.api-1.6.1.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.slf4j.api [11]: Unable to resolve 11.0: missing requirement [11.0] package; (&(package=org.slf4j.impl)(version>=1.6.1)(!(version>=2.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.slf4j.api [11]: Unable to resolve 11.0: missing requirement [11.0] package; (&(package=org.slf4j.impl)(version>=1.6.1)(!(version>=2.0.0)))
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.springsource.slf4j.org.apache.commons.logging [13] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/com.springsource.slf4j.org.apache.commons.logging-1.6.1.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.slf4j.org.apache.commons.logging [13]: Unable to resolve 13.0: missing requirement [13.0] package; (&(package=org.slf4j)(version>=1.6.1)(version<=1.6.1)) [caused by: Unable to resolve 11.0: missing requirement [11.0] package; (&(package=org.slf4j.impl)(version>=1.6.1)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.slf4j.org.apache.commons.logging [13]: Unable to resolve 13.0: missing requirement [13.0] package; (&(package=org.slf4j)(version>=1.6.1)(version<=1.6.1)) [caused by: Unable to resolve 11.0: missing requirement [11.0] package; (&(package=org.slf4j.impl)(version>=1.6.1)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle org.eclipse.jetty.client [17] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/jetty-client-7.3.1.v20110307.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.client [17]: Unable to resolve 17.0: missing requirement [17.0] package; (package=javax.net))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.client [17]: Unable to resolve 17.0: missing requirement [17.0] package; (package=javax.net)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle org.eclipse.jetty.http [19] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/jetty-http-7.3.1.v20110307.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.http [19]: Unable to resolve 19.0: missing requirement [19.0] package; (package=javax.net.ssl))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.http [19]: Unable to resolve 19.0: missing requirement [19.0] package; (package=javax.net.ssl)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle org.eclipse.jetty.io [20] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/jetty-io-7.3.1.v20110307.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.io [20]: Unable to resolve 20.0: missing requirement [20.0] package; (package=javax.net.ssl))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.io [20]: Unable to resolve 20.0: missing requirement [20.0] package; (package=javax.net.ssl)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle org.eclipse.jetty.server [21] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/jetty-server-7.3.1.v20110307.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.server [21]: Unable to resolve 21.0: missing requirement [21.0] package; (package=javax.naming))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.server [21]: Unable to resolve 21.0: missing requirement [21.0] package; (package=javax.naming)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle org.eclipse.jetty.websocket [23] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/jetty-websocket-7.3.1.v20110307.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.websocket [23]: Unable to resolve 23.0: missing requirement [23.0] package; (&(package=org.eclipse.jetty.http)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve 19.0: missing requirement [19.0] package; (package=javax.net.ssl)])
org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.jetty.websocket [23]: Unable to resolve 23.0: missing requirement [23.0] package; (&(package=org.eclipse.jetty.http)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve 19.0: missing requirement [19.0] package; (package=javax.net.ssl)]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.eviware.loadui.api [24] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/loadui-api-1.5.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.api [24]: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing))
org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.api [24]: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.eviware.loadui.base [25] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/loadui-base-1.5.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.base [25]: Unable to resolve 25.0: missing requirement [25.0] package; (package=com.eviware.loadui.api.addressable) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.base [25]: Unable to resolve 25.0: missing requirement [25.0] package; (package=com.eviware.loadui.api.addressable) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.eviware.loadui.cmd-base [26] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/loadui-cmd-base-1.5.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.cmd-base [26]: Unable to resolve 26.0: missing requirement [26.0] package; (package=com.eviware.loadui.api.model) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.cmd-base [26]: Unable to resolve 26.0: missing requirement [26.0] package; (package=com.eviware.loadui.api.model) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.eviware.loadui.component [27] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/loadui-component-1.5.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.component [27]: Unable to resolve 27.0: missing requirement [27.0] package; (package=com.eviware.loadui.api.component) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.component [27]: Unable to resolve 27.0: missing requirement [27.0] package; (package=com.eviware.loadui.api.component) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.eviware.loadui.controller-base [28] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/loadui-controller-base-1.5.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.controller-base [28]: Unable to resolve 28.0: missing requirement [28.0] package; (package=com.eviware.loadui.api.addressable) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.controller-base [28]: Unable to resolve 28.0: missing requirement [28.0] package; (package=com.eviware.loadui.api.addressable) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.eviware.loadui.fx-interface [29] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/loadui-fx-interface-1.5.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.fx-interface [29]: Unable to resolve 29.0: missing requirement [29.0] package; (package=com.eviware.loadui.api.chart) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.fx-interface [29]: Unable to resolve 29.0: missing requirement [29.0] package; (package=com.eviware.loadui.api.chart) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.eviware.loadui.groovy-components [30] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/loadui-groovy-components-1.5.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.groovy-components [30]: Unable to resolve 30.0: missing requirement [30.0] package; (package=com.eviware.loadui.api.component) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.groovy-components [30]: Unable to resolve 30.0: missing requirement [30.0] package; (package=com.eviware.loadui.api.component) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Bundle com.eviware.loadui.http-client [31] Error starting file:/C:/Program%20Files/eviware/loadUI-1.5.0/bundle/loadui-http-client-1.5.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.http-client [31]: Unable to resolve 31.0: missing requirement [31.0] package; (package=com.eviware.loadui.api.messaging) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.eviware.loadui.http-client [31]: Unable to resolve 31.0: missing requirement [31.0] package; (package=com.eviware.loadui.api.messaging) [caused by: Unable to resolve 24.0: missing requirement [24.0] package; (package=javax.swing)]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
.
.
.
-> Framework started!

10 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello!

    Wow, that sure looks like a mess. A few questions:

    • Did you fix use the default Windows installer (loadUI-1_5_0.exe)?

    • What's the JRE version on your system (in a command line, type java -version)?

    • In the [loadUI installation folder]\bundle, does the file com.springsource.org.apache.ivy-2.1.0.jar exist?

    • Does this Java test run successfully on your computer?


    Thanks! I'm sure we'll be able to fix this.

    Henrik
    SmartBear Software
  • tunen2fate's avatar
    tunen2fate
    Occasional Contributor
    This is the same error I get also I will try to get this working tomarrow. I was going to post my dump but it is almost identical

    java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)


    Yes that jar is there.

    And the test runs

    Cheers
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Now, I heard people having problems with loadUI+Java 7 (1.7.0) and when they downgraded to Java 6 it worked fine. I can't really see why Java 7 would break loadUI, and I'm not saying that that's a good solution -- but if you are willing to try a quick fix...

    Henrik
    SmartBear Software
  • tunen2fate's avatar
    tunen2fate
    Occasional Contributor
    I am a developer and I have noticed that Java & likes to break some things. So it is on going, I know it has something to do with the structure in different places at least that is what I am seeing. I will go back to JAVA 6 and update this thread. We all should really not be using JAVA 7 in production yet IMO till everyone catches up.
  • tunen2fate's avatar
    tunen2fate
    Occasional Contributor
    BTW I am on WIN XP SP3

    OK, it seems that LOADUI needs to build some files on the first load, just switching back to JAVA6 will not work as there will be missing files that load UI builds on the first run. What I did was uninstalled JAVA7, LOADUI and JAVAFX then I restated and made sure my java version was the later by typing java -version in cmd window. Should look something like this.

    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)


    I enabled the console output in java by going to control panel or type javaws -viewer close the cashe window and you should see a tab on the java control panel called Advanced click that. exspand the java console and tick the "SHOW CONSOLE" radio button.

    This is rutamentry but its nice to see whats going on under the hood.

    Install LOADUI just as you would if it was a new install, if you do not have Internet you will need to download JavaFX from another computer and install it on your machine.

    When you run it you will see the console and should work. If not copy the log and post it.

    I hope this works for you as it did for me.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Wow, I'm glad to hear that you got it running!

    Great troubleshooting -- I'm sure this will help other users facing the same problem

    Thanks

    Henrik
    SmartBear Software
  • tunen2fate's avatar
    tunen2fate
    Occasional Contributor
    SmartBear Support wrote:
    Wow, I'm glad to hear that you got it running!

    Great troubleshooting -- I'm sure this will help other users facing the same problem

    Thanks

    Henrik
    SmartBear Software


    You may want to make a sticky or a NOTE on the troubleshooting steps that JAVA7 is not compiling right so use JAVA6 then reinstall.

    Just a thought
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    tunen2fate wrote:
    You may want to make a sticky or a NOTE on the troubleshooting steps that JAVA7 is not compiling right so use JAVA6 then reinstall.

    Just a thought

    Good idea. I've already updated the Installation Troubleshooting guide.

    I might also create a sticky (I just got the feeling that there's already too many stickies in this forum :p )

    Cheers

    Henrik
    SmartBear Software
  • tunen2fate's avatar
    tunen2fate
    Occasional Contributor
    I might also create a sticky (I just got the feeling that there's already too many stickies in this forum :p )

    This is true link is better
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    For you that have had java 7 issues, please read this! I think that we have fixed this

    /Henrik