Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have GeoServer installed on Windows XP as part of the OpenGeo bundle. It's working well and I have just started creating my own app using it.

I have created an html file in \WebApps\apps and can view it via localhost:8080. My problem is that once I have viewed the file in a browser it becomes locked and I can't save over it.

Has anyone else had this problem? Is there a fix?

share|improve this question
up vote 1 down vote accepted

I have experienced the same with Notepad++. There is no fix that I'm aware of, but a workaround - use plain Notepad, which will still let you write the file. Other text editors may also work, but I haven't tried.

share|improve this answer
Interesting. I'm using Notepad++ so that sounds like a likely candidate... – Mr_Chimp Apr 8 '11 at 14:15
Yep, I can save in plain old Notepad. How annoying! Thanks! – Mr_Chimp Apr 8 '11 at 14:16
Notepad2 to the rescue! - – Mr_Chimp Apr 8 '11 at 14:20
A definitive answer: – Mr_Chimp Apr 11 '11 at 13:58

Not a fix for GeoServer, but you can unlock files that are locked by other processes by using Unlocker. Crucial utility to have installed on your system.

share|improve this answer
I tried it - it didn't work. Useful piece of software though. – Mr_Chimp Apr 8 '11 at 14:15

This caught me out for a while and that codehaus link no longer works so for reference (based on the OpenGeo suite install but applicable with any Jetty geoserver setup probably)...

Main one to enable editing and saving html files in root is D:\Apps\OpenGeo\jetty\etc\webdefault.xml set useFileMappedBuffer to false (was true)

Cheers Andy

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.