Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
add comment

2 Answers

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
1  
Notepad2 to the rescue! - flos-freeware.ch/notepad2.html –  Mr_Chimp Apr 8 '11 at 14:20
    
A definitive answer: docs.codehaus.org/display/JETTY/Files+locked+on+Windows –  Mr_Chimp Apr 11 '11 at 13:58
add comment

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
add comment

Your Answer

 
discard

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.