Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10FEB99BA for ; Tue, 21 Feb 2012 21:42:23 +0000 (UTC) Received: (qmail 62023 invoked by uid 500); 21 Feb 2012 21:42:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 61967 invoked by uid 500); 21 Feb 2012 21:42:19 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 61957 invoked by uid 99); 21 Feb 2012 21:42:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 21:42:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jpbergamin@gmail.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pw0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 21:42:14 +0000 Received: by pbbro12 with SMTP id ro12so7942982pbb.18 for ; Tue, 21 Feb 2012 13:41:54 -0800 (PST) Received-SPF: pass (google.com: domain of jpbergamin@gmail.com designates 10.68.208.136 as permitted sender) client-ip=10.68.208.136; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jpbergamin@gmail.com designates 10.68.208.136 as permitted sender) smtp.mail=jpbergamin@gmail.com; dkim=pass header.i=jpbergamin@gmail.com Received: from mr.google.com ([10.68.208.136]) by 10.68.208.136 with SMTP id me8mr79926602pbc.55.1329860514551 (num_hops = 1); Tue, 21 Feb 2012 13:41:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kcj1+1OuSMWMttlAcb5XR8r9kBBOgZizE3hv/dxwx1A=; b=Mh3LRjApWGnECYuS2GRCVH/agGhJbRZLobPMfF9OkOQj+I42/EUyyCU6FhiGiAu+iw SfzEVUFS9wrG6KZ8yNlUXW8+8pAtII7cRXUMz1ZKfyYUn9bo71XLhU0+Cb7X9u7CLj0p W7n7qphEs9glyzXbu+4x6MRbCAA5q/JVUSc8k= MIME-Version: 1.0 Received: by 10.68.208.136 with SMTP id me8mr65823001pbc.55.1329860514392; Tue, 21 Feb 2012 13:41:54 -0800 (PST) Received: by 10.68.242.201 with HTTP; Tue, 21 Feb 2012 13:41:54 -0800 (PST) In-Reply-To: References: Date: Tue, 21 Feb 2012 22:41:54 +0100 Message-ID: Subject: Re: Serving static files directly from filesystem From: Jean-Pierre Bergamin To: Tomcat Users List Content-Type: multipart/alternative; boundary=14dae9c0985e8faba104b980479c --14dae9c0985e8faba104b980479c Content-Type: text/plain; charset=ISO-8859-1 Hi Violeta 2012/2/21 Violeta Georgieva > > It appears that we (Eclipse Virgo) have a bug in the documentation :( > Please report it in our bugzilla [1] > Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=372168 > We do support element with several limitations - see user > documentation [2] > > If you want let's continue the discussion in Virgo forum [3]? > I created a new thread in the virgo forum: http://www.eclipse.org/forums/index.php/m/803820/#msg_803820 Thanks so far, James > [1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Virgo > [2] > > http://www.eclipse.org/virgo/documentation/virgo-documentation-3.0.2.RELEASE/docs/virgo-user-guide/html/ch11s07.html > - > Context Configuration chapter > [3] http://www.eclipse.org/forums/index.php?t=thread&frm_id=159 > > Best Regards > Violeta Georgieva > > 2012/2/21 Jean-Pierre Bergamin > > > Hello everyone > > > > 2012/2/21 Jean-Pierre Bergamin > > > > > > I'm trying to configure tomcat 7 on Windows to serve static files. > During > > > development I want to have uncompresses javascript files delivered > > directly > > > from the file system. > > > I followed this blog post > > > > > > http://th1rty7.blogspot.com/2009/05/tomcat-is-often-considered-to-be-too.htmland > > > configured a context in the server.xml file like: > > > > > > > I just found out why it does not work in my case. Tomcat is running > inside > > the Virgo OSGi container where the documentation [1] states: > > "The following Tomcat features are not supported: elements." > > > > So this explains why it is not working as expected. > > > > But thanks for the help anyway. > > > > > > Best regards, > > James > > > > [1] > > > > > http://www.eclipse.org/virgo/documentation/virgo-documentation-3.0.0.x/docs/virgo-programmer-guide/html/ch09s05.html > > > --14dae9c0985e8faba104b980479c--