No main JAR file specified

428 views Asked by At

I have a middle tier app using JWS to download the jar to execute. On one computer I goto the webpage and everything works as expected. The jar is downloaded and runs perfectly. I go to another computer and it fails with the following error

JNLPException[category: Launch File Error : Exception: null : LaunchDesc: 
<jnlp spec="1.6+" codebase="http://server03-xtx-02:8080/App">
  <information>
    <title>someApp One Launch</title>
    <vendor>Worldwide International, Inc.</vendor>
    <homepage href="docs/help.html"/>
    <description>someApp OneLauncher</description>
    <description kind="short">someApp .</description>
    <icon href="images/someApp.jpg"/>
    <icon href="images/Splash.jpg" kind="splash"/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources arch="amd64">
    <j2se version="1.8" initial-heap-size="512m" max-heap-size="1024m"/>
    <j2se version="1.7" initial-heap-size="512m" max-heap-size="1024m"/>
    <j2se version="1.6" initial-heap-size="512m" max-heap-size="1024m"/>
    <jar href="jnlplib/onelauncher.jar"/>
  </resources>
  <application-desc main-class="com.wi.App.launch.OneLauncher">
    <argument>1</argument>
    <argument>http://server03-xtx-02:8081/App</argument>
    <argument>null</argument>
    <argument>false</argument>
    <argument>Tools--QA</argument>
    <argument>ms_vars:=false</argument>
  </application-desc>
</jnlp> ]
                at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
                at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
                at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
                at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
                at com.sun.javaws.Launcher.launch(Unknown Source)
                at com.sun.javaws.Main.launchApp(Unknown Source)
                at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
                at com.sun.javaws.Main.access$000(Unknown Source)
                at com.sun.javaws.Main$1.run(Unknown Source)
                at java.lang.Thread.run(Unknown Source)

I've tried comparing both computers and nothing is sticking out as to why one would work and another wouldn't. I feel like this could be a red herring but am at a loss to where I should dig next.

Any help is appreciated.

0

There are 0 answers