Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
refs #23 Disabled JENKINS-12467. It not only does nothing at all, but…
… is harmful.
  • Loading branch information
ikedam committed May 2, 2013
1 parent 0d0c06d commit d6d6281
Showing 1 changed file with 5 additions and 10 deletions.
Expand Up @@ -25,7 +25,6 @@

import hudson.Functions;

import java.util.Map;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.ThreadPoolExecutor;
Expand Down Expand Up @@ -59,17 +58,13 @@ protected ServletContext createWebServer() throws Exception
server.setHandler(context);
context.setMimeTypes(MIME_TYPES);
if(Functions.isWindows()) {
// This is a customized block.
// To avoid "requested operation can't be performed on file with user-mapped section open"
// in Windows.
// No more need to setCopyWebDir.

// This causes "requested operation can't be performed on file with user-mapped section open"
// For details, SEE JENKINS-17774.
/*
// this is only needed on Windows because of the file
// locking issue as described in JENKINS-12647
//context.setCopyWebDir(true);
@SuppressWarnings("unchecked")
Map<Object,Object> initParams = context.getInitParams();
initParams.put("useFileMappedBuffer", "false");
context.setCopyWebDir(true);
*/
}

SocketConnector connector = new SocketConnector();
Expand Down

0 comments on commit d6d6281

Please sign in to comment.