2 Replies Latest reply on Aug 29, 2012 9:18 PM by 957685

    DownloadServiceListener methods not getting called

      I have the following JNLP; and in DownloadTracker, I am implementing DownloadServiceListner, but the progress methods and other methods, dont' get called even once. In the JWS logs, I can see progress entries, but why doesn't javaws.jar never call my methods ?

      Any ideas ?


      <?xml version="1.0" encoding="utf-8"?>

      <jnlp spec="1.0+" codebase="http://localhost:8080/demo_signed/" href="webstart.jnlp">
      <title>Download Tracking WebStart Demo</title>
      <homepage href="http://localhost:8080" />
      <description>A demo for download tracking in Java Webstart</description>
      <update check="timeout" policy="prompt-update"/>
      <j2se version="1.6+" initial-heap-size="32m" max-heap-size="1024m"/>
      <jar href="downloadtracker.jar" download="progress" name="DownloadTracker" />
      <jar href="helloworld.jar" main="true"/>
      <jar href="a.jar"/>
      <jar href="b.jar"/>
      <property name="jnlp.server.url" value="http://localhost:8080" />
      <application-desc main-class="com.hello.HelloWorld" progress-class="downloadtracker.DownloadTracker"></application-desc>