I got around this problem by setting the following (which if ommitted is the defayult any way):

<outputJarVersions>false</outputJarVersions>

This seemed simpler than the JNLP download servlet solution for now.

Farrukh Najmi wrote:

Thanks again Jerome,

Signing the jars using <sign> element and sub-elements fixed the last problem.
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)

Reading JNLP spec I see that there is now a "Version-based download protocol" (section 6.3). However, I cannot figure out what I have to do in the server to support version based downloads.

TIA for getting me over this hopefully last hump.

Jerome Lacoste wrote:
On Dec 20, 2007 5:08 PM, Farrukh Najmi <[EMAIL PROTECTED]> wrote:
Thanks to Jerome's help I am now generating a zip file containing my
apps jnlp distribution.

I have another newbie question to whcih I did not find answers in
archives or JNLP spec.

I unzipped this file in a directory on my web server and when I access
the .jnlp file I got:

Unable to load resource: (http://xxx.com:/xxx/jnlp/xxx-1.3-SNAPSHOT.jar,
1.3-SNAPSHOT)

Looking further I noticed that all jars in my jnlp directory are listed as

xxx.jar.unprocessed
xxx.jar.unprocessed.pack.gz

Meanwhile, what the jnlp file is refering to is a jar name xxx.jar which
does not exist.

The unprocessed jars are those that have not been signed by the mojo yet.
There should not end up as unprocessed in the jnlp directory.

Which mojo did you use ? Did you disable signing ? That could be a
problem, I've never tested such a configuration. :)

Also, is signing required by JNLP. I do not care about security during
dev phase.

It's not required but:
* you probably want to test it
* having build processes that are different during dev and production
usually lead to build issues.

Cheers,

Jerome






What is the right way for me to deploy my webstart application and how
can I not get this error.
Also, is signing required by JNLP. I do not care about security during
dev phase.

Thanks for your help.

--
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com



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

    http://xircles.codehaus.org/manage_email









--
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