It has been fixed in master. http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/commit/?id=4037e6111fa59adbba2b1ef0b4d55a359308a7e8
New Milestone release is being planned/discussed this week. -- Joakim Erdfelt <[email protected]> webtide.com <http://www.webtide.com/> Developer advice, services and support from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Wed, Jan 16, 2013 at 3:03 PM, ccleve <[email protected]> wrote: > I set my webdefault.xml file to tell DefaultServlet to set > useFileMappedBuffer to false. Jetty seems to be locking the file anyway, > which makes development difficult. > > I traced through the Jetty source code, and discovered this in > org.eclipse.jetty.server.**ResourceCache: > > public ResourceCache(ResourceCache parent, ResourceFactory factory, > MimeTypes mimeTypes,boolean useFileMappedBuffer,boolean etags) > { > _factory = factory; > _cache=new ConcurrentHashMap<String,**Content>(); > _cachedSize=new AtomicInteger(); > _cachedFiles=new AtomicInteger(); > _mimeTypes=mimeTypes; > _parent=parent; > _etagSupported=etags; > } > > Note that useFileMappedBuffer is a parameter, but it never gets used. This > appears to be the place where the value is getting lost. > > I'm using Jetty 9.0.0.M4. > > ______________________________**_________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users> >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
