Hi Jean, It appears that we (Eclipse Virgo) have a bug in the documentation :( Please report it in our bugzilla [1]
We do support <Context> element with several limitations - see user documentation [2] If you want let's continue the discussion in Virgo forum [3]? [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 <jpberga...@gmail.com> > Hello everyone > > 2012/2/21 Jean-Pierre Bergamin <jpberga...@gmail.com> > > > > 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: <Context> 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 >