DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24769>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24769

[FIX] Registry service can screw files on unproper tomcat shutdown

           Summary: [FIX] Registry service can screw files on unproper
                    tomcat shutdown
           Product: Jetspeed
           Version: 1.5-dev / CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Registry
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The current registry service directly overwrites xreg files on tomcat (or other 
app server) shutdown.
This can lead to screwed files when tomcat hangs or is killed while rewriting 
those file. I've met this several times in production and modified my 
environment to prevent this direct rewriting succesfully.
Here is a proposed patch, that first write the file into a tmp directory 
(defined in the service), and then only move it to the correct directory. This 
won't resolve the fact that on unproper shutdown some registry infos may be 
lost, but at least xreg files will be ok.
Comments welcome !

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to