Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 9 DefaultServlet and useFileMappedBuffers

I think we had a report on that and it was resolved in the latest jetty 9 release, 9.0.3.v20130506

try that and if you still have an issue open a bug at bugs.eclipse.org under RT/Jetty

jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx


On Thu, May 23, 2013 at 9:51 AM, Craig Ching <craigching@xxxxxxxxx> wrote:
Hi,

Since changing to jetty 9, my windows developers are experiencing problems with updating _javascript_ files while jetty is running.  We use "useFileMappedBuffers=false" in development so that on Windows they can overwrite the _javascript_ source and just refresh in the browser.  But since moving to jetty 9, we are not able to overwrite these resources.

Is anyone else having a problem?  Or is it a misconfiguration on my part?  Here's our web.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
    version="3.0">

   <display-name>Administration Webapp</display-name>
   <servlet>
     <servlet-name>default</servlet-name>
     <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
     <init-param>
       <param-name>useFileMappedBuffer</param-name>
       <param-value>false</param-value>
     </init-param>
     <init-param>
       <param-name>dirAllowed</param-name>
       <param-value>false</param-value>
     </init-param>
     <load-on-startup>0</load-on-startup>
   </servlet>

</web-app>

Note that I just flipped the webapp element from 2.5 to 3.0 without any changes to the content, maybe I'm doing something wrong there?

Cheers,
Craig

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top