4 Replies Latest reply: Mar 15, 2012 7:23 PM by 924171 RSS

    help: Unable to launch any JNLP app

    924171
      Something got wrong with no apparent reason in recent days. I got
      unable to launch JAVAWS apps that have been working for years.

      Code signing has not expired, also I get a strange exception (detailed
      log trace is below) like the JNLP file was unreadable, but it is actually
      on server, and I can even download it.

      Can anybody help me to understand what went wrong?

      Thanks

      TRACE:


      Java Web Start 1.6.0_23
      Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Server VM
      User home directory = /home/franco
      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      m: print memory usage
      o: trigger logging
      p: reload proxy configuration
      q: hide console
      r: reload policy configuration
      s: dump system and deployment properties
      t: dump thread list
      v: dump thread stack
      0-5: set trace level to <n>
      ----------------------------------------------------
      basic: Java part started
      basic: jnlpx.jvm: /usr/lib/jvm/java-6-sun-1.6.0.26/jre/bin/java
      basic: jnlpx.splashport: 33818
      basic: jnlpx.remove: false
      basic: jnlpx.heapsize: null
      network: Loading user-defined proxy configuration ...
      network: Done.
      network: Loading proxy configuration from Netscape Navigator ...
      network: network.proxy.ftp=189.245.72.135
      network: network.proxy.ftp_port=80
      network: network.proxy.gopher=82.140.68.76
      network: network.proxy.gopher_port=3128
      network: network.proxy.http=189.245.72.135
      network: network.proxy.http_port=80
      network: network.proxy.socks=189.245.72.135
      network: network.proxy.socks_port=80
      network: network.proxy.ssl=189.245.72.135
      network: network.proxy.ssl_port=80
      network: Proxy enable: 4
      network: Unable to perform Auto Proxy Detection, domain name too short:
      network: Done.
      network: Loading auto proxy configuration ...
      network: Unable to use auto proxy configuration - fallback to MANUAL
      network: Loading manual proxy configuration ...
      network: Done.
      network: Proxy Configuration: Manual Configuration
      Proxy: http=189.245.72.135:80,https=189.245.72.135:80,ftp=189.245.72.135:80,gopher=82.140.68.76:3128,socks=189.245.72.135:80
      Proxy Overrides:
      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.definition value null
      security: property package.definition new value com.sun.javaws
      security: property package.definition value com.sun.javaws
      security: property package.definition new value com.sun.javaws,com.sun.deploy
      security: property package.definition value com.sun.javaws,com.sun.deploy
      security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
      security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
      basic: Running JVMParams: [JVMParameters: isSecure: true, args: ]
           -> [JVMParameters: isSecure: true, args: ]
      network: Created version ID: 1.6.0.26
      network: Created version ID: 1.6
      network: Cache entry not found [url: http://www.cbsolution.net/jnlp/solidbilling.jnlp, version: null]
      network: Cache entry not found [url: http://www.cbsolution.net/jnlp/solidbilling.jnlp, version: null]
      network: Connecting http://www.cbsolution.net/jnlp/solidbilling.jnlp with proxy=HTTP @ /189.245.72.135:80
      java.io.FileNotFoundException: http://www.cbsolution.net/jnlp/solidbilling.jnlp
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
           at com.sun.deploy.net.HttpUtils.followRedirects(HttpUtils.java:45)
           at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:176)
           at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(BasicHttpRequest.java:63)
           at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1150)
           at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1525)
           at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1503)
           at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1609)
           at com.sun.deploy.net.DownloadEngine.getCachedFile(DownloadEngine.java:617)
           at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:167)
           at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:447)
           at com.sun.javaws.Main.launchApp(Main.java:312)
           at com.sun.javaws.Main.continueInSecureThread(Main.java:248)
           at com.sun.javaws.Main$1.run(Main.java:110)
           at java.lang.Thread.run(Thread.java:662)
      network: Connecting http://www.cbsolution.net/jnlp/solidbilling.jnlp with proxy=HTTP @ /189.245.72.135:80
      com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://www.cbsolution.net/jnlp/solidbilling.jnlp
           at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1372)
           at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1525)
           at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1503)
           at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1609)
           at com.sun.deploy.net.DownloadEngine.getCachedFile(DownloadEngine.java:617)
           at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:167)
           at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:447)
           at com.sun.javaws.Main.launchApp(Main.java:312)
           at com.sun.javaws.Main.continueInSecureThread(Main.java:248)
           at com.sun.javaws.Main$1.run(Main.java:110)
           at java.lang.Thread.run(Thread.java:662)
      Caused by:
      java.io.FileNotFoundException: http://www.cbsolution.net/jnlp/solidbilling.jnlp
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
           at com.sun.deploy.net.HttpUtils.followRedirects(HttpUtils.java:45)
           at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:176)
           at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:113)
           at com.sun.deploy.net.BasicHttpRequest.doGetRequest(BasicHttpRequest.java:78)
           at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1182)
           at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1525)
           at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1503)
           at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1609)
           at com.sun.deploy.net.DownloadEngine.getCachedFile(DownloadEngine.java:617)
           at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:167)
           at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:447)
           at com.sun.javaws.Main.launchApp(Main.java:312)
           at com.sun.javaws.Main.continueInSecureThread(Main.java:248)
           at com.sun.javaws.Main$1.run(Main.java:110)
           at java.lang.Thread.run(Thread.java:662)
      network: Cache entry not found [url: http://www.cbsolution.net/jnlp/solidbilling.jnlp, version: null]
      network: Connecting http://www.cbsolution.net/jnlp/solidbilling.jnlp with proxy=HTTP @ /189.245.72.135:80
      network: Connecting socket://127.0.0.1:33818 with proxy=DIRECT
      #### Java Web Start Error:
      #### Could not load file/URL specified: http://www.cbsolution.net/jnlp/solidbilling.jnlp
        • 1. *** UPDATE ***
          924171
          After more checks I discovered I can't launch ANY Java Web Start application deployed on the Web,
          including demos at page: http://java.sun.com/javase/technologies/desktop/javawebstart/demos.html

          The same happens to my users.

          The error is file not found. Apparently web starts makes many attempts but is systematically unable
          to load the URL.

          Ant idea of what can be wrong? All required resources (jnlp, jars) are available and if I point them
          with the browser I get them.
          • 2. Re: *** UPDATE ***
            DrClap
            If it's happening on many different machines then it's not anything to do with the configuration on those machines. It's much more likely to be a problem with something they all have in common. My guess would be the network between them and the server where the JNLP comes from.
            • 3. Re: help: Unable to launch any JNLP app
              817264
              Does your browser use same proxy?
              http=189.245.72.135:80

              Use traffic sniffer like Wireshark to see what request is sent by browser when you try to load JNLP or jar file and what will be send by java.
              Compare request headers as well as destination of request.

              Sounds like something related to proxy config.
              • 4. Re: help: Unable to launch any JNLP app
                924171
                Thanks Igor! It actually was a proxy issue.