Sorry. I feel so stupid that the solution came into my mind AFTER
submitting a question :-(

There were two errors:
* I am using a web-alias. Using the appspot.com url diretly solved the
problem.
* The extension must be .jar, not .war in static-files

On 20 Mar., 16:27, vanosten <rickvanos...@gmail.com> wrote:
> Hi
>
> I am trying to distribute a Java application using Java Web Start from
> GAE for Java. However I get 404 errors for both the .jnlp file and
> the .war file.
>
> In the appengine-web.xml I have specified:
>         <static-files>
>                 <include path="/**.jnlp" expiration="1m" />
>                 <include path="/**.war" expiration="1m" />
>                 <include path="/**.css" />
>                 <include path="/**.html" />
>                 <include path="/**.js" />
>                 <include path="/**.png" />
>                 <include path="/**.gif" />
>                 <include path="/**.jpg" />
>                 <include path="/**.jpeg" />
>         </static-files>
>
> And in web.xml I have specified:
>         <mime-mapping>
>                 <extension>jnlp</extension>
>                 <mime-type>application/x-java-jnlp-file</mime-type>
>         </mime-mapping>
>
> I would appreciate any hints of how to get this working.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to