cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: Cocoon locking files on filesystem
Date Wed, 10 Oct 2001 17:18:08 GMT
Darren Gibbons wrote:
> Hi all,
> I'm using Tomcat4+Cocoon2rc1a on Windows NT4 Workstation.  I've run into a
> strange problem when editing XSL files.  After starting up Tomcat, I can
> edit and save my XSL files without any problems.  However, if I access a
> page that uses one of these XSL files, Tomcat sometimes "locks" the file,
> and makes further saving of the file impossible.
> If I use XML Cooktop, I get a message that says:
>   "Error: a sharing violation occurs while accessing <path_to_file>
>    File: <path_to_file>"
> I've seen a similar error in both HomeSite and HTMLKit.
> The odd thing is, it's not always reproducible.  Sometimes I'll be able to
> perform several rounds of editing and saving before the error shows up.
> Shutting down and restarting Tomcat clears the error every time.
> Any ideas?  Any suggestions of IDE's that don't display this behaviour?
> This makes editing somewhat frustrating after a while.

An exception is probably being thrown and and caught before the stream is
closed.  Can someone verify that all streams are closed in a "finally" block?

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message