Farrukh Najmi wrote:
Jerome Lacoste wrote:

....
After that fix I am getting the following error during download of JNLP:

Missing version field in response from server when accessing resource:
(http://xxx/xxx-1.3-SNAPSHOT.jar, 1.3-SNAPSHOT)

Are you using the jnlp-download servlet on the server ?

No. Is this the preferred way? If so, do the following steps sound right?

   * Move my jar project to a war project

In retrospect above does not sound right. What if I want to distribute my app as a jar and also wish to have it be available via JNLP?

   * Find the pom that provides the JnlpDownloadServlet and include it
     as a dependency (where do I get that? Is it part of
     webstart-maven-plugin?)
   * In my web.xml configure to use the JnlpDownloadServlet
   * Use webstart:jnlp-download-servlet as goal


if so, you
probably want to use the webstart mojo written to support it directly.
http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/jnlp-download-servlet-mojo.html

Got that part.

Otherwise, there could be various causes to this problem and I need
more information.

* which JRE version on the client ?
* which servelt container are you using (name, version)
* is there an error on the server logs ?

Sounds like this answers my first question. The preferred way is probably to use the JnlpDownloadServlet and avoid all of above headaches.
So what pom do I need as dependency to get this servlet?

Sorry for so many newbie questions. I really appreciate the incredibly responsive help I have gotten for this project and I hope to become
more self sufficient soon.



--
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to