0 Replies Latest reply on Jan 22, 2004 1:03 PM by jgillespie20

    Issue with Webstart and JBoss 3.2.3

    jgillespie20

       

      "jgillespie20" wrote:
      I am having issues working with Webstart and the JBoss3.2.3/Tomcat 4.1.29 bundle. I am creating a dynamic jnlp file via a servlet for my client application. This servlet is being used to dynamically send arguments to the client application. When I run this application on JBoss 2.4.4/Tomcat4.0.1 everything works fine. But when running the application with the version of tomcat 4.1.x that is bundled with JBoss 3.2.x, I get the following error on Webstart:

      JNLPException[category: Download Error : Exception: java.lang.NullPointerException : LaunchDesc: null ]

      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

      at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)

      at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

      at com.sun.javaws.Launcher.downloadResources(Unknown Source)

      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

      at com.sun.javaws.Launcher.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

      Nested Exception:

      java.lang.NullPointerException

      at sun.net.www.http.ChunkedInputStream.readChunkSize(Unknown Source)

      at sun.net.www.http.ChunkedInputStream.prefill(Unknown Source)

      at sun.net.www.http.ChunkedInputStream.<init>(Unknown Source)

      at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)

      at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

      at java.net.HttpURLConnection.getResponseCode(Unknown Source)

      at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)

      at com.sun.javaws.net.BasicNetworkLayer.doHeadRequest(Unknown Source)

      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

      at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)

      at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

      at com.sun.javaws.Launcher.downloadResources(Unknown Source)

      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

      at com.sun.javaws.Launcher.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)


      The servlet that creates the dynamic jnlp file is correctly serviced and the response generated, but for some reason Webstart is not able to read the response from this version of tomcat. I understand that this is not a JBoss issue, but I haven't gotten any response from anyone else, so I figured I would try the expertise of this board since many of you have had to deal with tomcat issues while working with Jboss.

      Any help would be greatly appreciated.

      Jason