Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 98645 invoked from network); 23 Jul 2008 17:03:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2008 17:03:46 -0000 Received: (qmail 9518 invoked by uid 500); 23 Jul 2008 17:03:44 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 9495 invoked by uid 500); 23 Jul 2008 17:03:44 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 9484 invoked by uid 99); 23 Jul 2008 17:03:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 10:03:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.55] (HELO smtp110.prem.mail.sp1.yahoo.com) (98.136.44.55) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 23 Jul 2008 17:02:48 +0000 Received: (qmail 2283 invoked from network); 23 Jul 2008 17:02:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=k7JWlNaOR0rnSXX8nc2tdR+iaqlU0wOxw7V+pGq+ATb1lkL2tf5/c1i1KYS1kyKJGFKTPw12V9H4/mP6KiVOZfo4EgnaNkm9b8ckaZecwzt8A41lxE/4hv4FGObAk77fi2heD7w2nIkxftXbVccbJt0Majv6WTZDZR1x5wYo9As= ; Received: from unknown (HELO ?10.11.55.43?) (david_jencks@63.105.20.225 with plain) by smtp110.prem.mail.sp1.yahoo.com with SMTP; 23 Jul 2008 17:02:12 -0000 X-YMail-OSG: 6YNHeQMVM1lIIPVfYKuKnfeXsOke1pkELIxZhDevoCDOTVzuR6iTLN6X23tZbgCjqR.q_Nu62vDuimnqvcnjPe1gBpNmTsYXGk185EBMsfy8KUQgzTRN_7Qi5hzbWbj_x2P.sIkLR_ylwDczzXPZXbG8 X-Yahoo-Newman-Property: ymail-3 Message-Id: <6537D300-86C6-42CA-84B0-6CB91296DC2F@yahoo.com> From: David Jencks To: user@geronimo.apache.org In-Reply-To: <48873DB6.20708@berghold.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Sending arbitrary file types through geronimo/tomcat Date: Wed, 23 Jul 2008 10:02:10 -0700 References: <48873DB6.20708@berghold.net> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org I think I ran into a similar problem at one point but didn't really investigate what was going on. IIUC there's a default content servlet that serves requests for static content like this. Again IIRC it is configured by default to look in the unpacked war file inside the geronimo repository, but you can include such a servlet in your app explicitly and configure it to look somewhere else. So my first dumb question is... where is the static content? After that I'd probably try debugging the default content servlet to see if it is getting called and what its trying to do. hope this helps david jencks On Jul 23, 2008, at 7:18 AM, Peter L. Berghold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi folks, > > Long sordid tale why I want to do this, but here is what I'm > attempting > to do: > > I have a repository of files on my server that I'm trying to use > wget to > retrieve from that server. The files are a mix of plain text, > tar-balls, zip files, etc. etc. > > I set up a context using a geronimo-web.xml file such that: > > > > > net.berghold > served-files > 1.0 > car > > > > /served-files > www.berghold.net > > > > and did a in-place deployment. So far so good.... > > When I execute the wget I get something that looks like this: > > wget http://www.berghold.net/served-files/awstats-6.7.tar.gz > - --10:12:53-- http://www.berghold.net/served-files/ > awstats-6.7.tar.gz > Resolving www.berghold.net... 72.249.39.173 > Connecting to www.berghold.net|72.249.39.173|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 0 [application/x-gzip] > Saving to: `awstats-6.7.tar.gz' > > [ <=> ] 0 --.-K/s in > 0s > > 10:12:54 (0.00 B/s) - `awstats-6.7.tar.gz' saved [0/0] > > and a zero length file results. I just know in my heart of hearts > there > is some bit I gotta flip to make this work. Or do I have to create a > web.xml with all the possible mime types in it? > > What to do? > > > - -- > > Peter L. Berghold http://www.berghold.net peter@berghold.net > Unix Professional Dog Agility Fan Crazed Cook > "Those who fail to learn from history are condemned to repeat it." > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIhz21UM9/01RIhaARAoDjAKCs7VoLjMtDDNdjM46Hj44h7yUkyQCeJ5oI > p16oyXhcnuW3XwtOmX91wAQ= > =syot > -----END PGP SIGNATURE-----