Looks like serving up a simple .gzip is more complex than I originally thought. Maybe I am wrong but it looks as if to serve up those files for a java web start app requires a JnlpDownloadServlet class and a bit of configuration.
Is there any other simpler way with Tomcat? Thanks, -Tony --- On Mon, 10/19/09, Tony Anecito <adanec...@yahoo.com> wrote: > From: Tony Anecito <adanec...@yahoo.com> > Subject: Tomcat 6.0.20 support for serving via http java pack 200 jars. How? > To: "Tomcat Users Group" <users@tomcat.apache.org> > Date: Monday, October 19, 2009, 5:18 AM > Hi All, > > I am serving up pack 200 conpressed files in Tomcat and > getting an error about support. The error is: > java.io.IOException: Invalid jar file > at > com.sun.deploy.net.HttpDownloadHelper.download(Unknown > Source) > at > com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown > Source) > > In apache web server I needed to set it up to serve pack > 200 jars by setting the following in the config file. > > How would I do this for Tomcat 6.0.20? > > <Files *.pack.gz> > AddEncoding pack200-gzip .jar > RemoveEncoding .gz > </Files> > > Thanks, > -Tony > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org