portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24769] New: - [FIX] Registry service can screw files on unproper tomcat shutdown
Date Tue, 18 Nov 2003 08:52:47 GMT
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: jetspeed-dev@jakarta.apache.org
        ReportedBy: apernoud@sopragroup.com


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: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message