Summary: | Reader not closed | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Michael Rauner <michael.rauner> |
Component: | Servlets:SSI | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 5.5.27 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: |
Test application
Process Monitor logs. |
Description
Michael Rauner
2009-01-19 08:17:14 UTC
(In reply to comment #0) > SHTML files are locked when using windows. Closing the reader solves the > problem. > How to reproduce? Please, provide an example. Try editing an SSI Include with Dreamweaver on XP (version seems to be irrelevant). Eclipse and good editors will work. Kind regards, Michael Please Give Some more details about this bug , (explain briefly) If you try to edit a file which is served by the SSI servlet with Dreamweaver, you won't be able to save the file. As a workaround I have added bufferedReader.close() at the end of processSSI(...) method call and things work fine. Hope this helps, kind regards. Michael Created attachment 23187 [details]
Test application
Test application, needs a SSI enabled TC.
Created attachment 23188 [details]
Process Monitor logs.
Hi I don´t have permision to install Dreamweaver and I was unable reproduce this issue. I´ve attached Process Monitor logs(http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) and seems ok to me (here in my enviroment) Enviroment XP.sp3 SUN 1.6.0_11 TC 5.5.27 Let me know if you can reproduce with the Test-app (attached). Flavio Thanks for the suggested fix. It has been applied to trunk and proposed for 6.0.x and 5.5.x This has been fixed in 6.0.x and will be in 6.0.20 onwards. This has been fixed in 5.5.x and will be included in 5.5.28 onwards. |