Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Why do I get a "Save could not be completed" error in eclipse whenever I try to save a file while Jetty is running? 

This is a limitation of windows - that having the file open in one process (Jetty has mapped the file to it's cache) means that you can't write that file with another process.

You can turn off caching in the default servlet by setting <useFileMappedBuffer> to false in webdefault.xml. This file may be found in the etc subdirectory of Jetty.  If you are using the maven-jetty-plugin, you'll have to specify its directory location in the pom.xml.

This problem is related to the Troubleshooting entry Files locked on Windows.

  • No labels
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery