Mantis - Resin
Viewing Issue Advanced Details
4469 minor always 03-01-11 10:22 03-01-11 15:07
alex  
alex  
normal  
closed 4.0.16  
fixed  
none    
none 4.0.17  
0004469: .war remains locked after deployment
-after the war file is moved to web-app-deploy path it remains locked after repository import.

Notes
(0005145)
alex   
03-01-11 15:07   
Modified:
  resin/trunk/modules/resin/src/com/caucho/env/git/GitCommitJar.java
Log:
autodeploy: open .war: resin (not-pro) fix-draft

Modified: resin/trunk/modules/resin/src/com/caucho/env/git/GitCommitJar.java
===================================================================
--- resin/trunk/modules/resin/src/com/caucho/env/git/GitCommitJar.java 2011-03-31 17:13:26 UTC (rev 7990)
+++ resin/trunk/modules/resin/src/com/caucho/env/git/GitCommitJar.java 2011-03-31 21:19:28 UTC (rev 7991)
@@ -246,6 +246,9 @@

  public void close()
  {
+ if (_jar != null)
+ _jar.closeJar();
+
    if (_tempJar != null) {
      try {
        _tempJar.remove();