users@glassfish.java.net

Re: Server Restart requeried for Redeployment

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Wed, 08 Aug 2007 09:49:04 -0400

Hi,
   When you do a redeployment (deploy an ear which has already been
deployed), the old version of the application will be removed and the
new version of the application will be installed. As part of the
removing the old version, the old application bits will be cleaned up
from the application repository. The messages in your server.log
indicated there was problem in removing the bits, and it's probably due
to open files or streams.

    It's not unusual for this type of file locking happen on windows,
and Tim has written a quite useful tool to diagnose the cause of the
file locking. Please read this blog for more details:
      http://blogs.sun.com/quinn/entry/tool_for_diagnosing_failed_glassfish
    Looking at the number of jars that failed to be removed in the
server.log, did you happen to have a teminal window open at the relevant
directory? After the redeployment finishes (before you restart server),
try to manually delete the directory
"C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM" and see what
happens.

    Also I noticed you were using 9.0_1 (v1_ur1). In 9.1 (v2), we have
made major revisions in how redeployment and undeployment work to
address/alleviate this type of problem from appserver side. Please read
this blog for more details:
http://blogs.sun.com/quinn/entry/addressing_locked_jar_problems
    We have heard great feedback for this change, so please try with 9.1
(v2) if that's an option for you.


   Thanks,

- Hong
 
  
  

glassfish_at_javadesktop.org wrote:

>Hi,
>
>When I use Netbeans to deploy a ear that has already been deployed (with an older version of the ear)
>
>I get this from the app server (Sun App Server 9.0_1)
>
>CORE5022: All ejb(s) of [SAM] were unloaded successfully!
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\appbase.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\appbase.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\appbase.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\commons-fileupload.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\commons-fileupload.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\commons-fileupload.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dataprovider.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dataprovider.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dataprovider.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dojo-0.4.1-ajax.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dojo-0.4.1-ajax.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dojo-0.4.1-ajax.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\errorhandler.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\errorhandler.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\errorhandler.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\jsfcl.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\jsfcl.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\jsfcl.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\json.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\json.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\json.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\prototype-1.5.0.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\prototype-1.5.0.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\prototype-1.5.0.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\rowset.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\rowset.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\rowset.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\sqlx.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\sqlx.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\sqlx.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf-suntheme.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf-suntheme.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf-suntheme.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM failed; now marked for delete-on-exit
>ADM1064:The upload file at [C:\Dokumente und Einstellungen\Jimmy\Lokale Einstellungen\Temp\s1astempdomain1server-1036455939\SAM.ear] exists and will be overwritten.
>ADM1006:Uploading the file to:[C:\Dokumente und Einstellungen\Jimmy\Lokale Einstellungen\Temp\s1astempdomain1server-1036455939\SAM.ear]
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\appbase.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\appbase.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\appbase.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\commons-fileupload.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\commons-fileupload.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\commons-fileupload.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dataprovider.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dataprovider.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dataprovider.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dojo-0.4.1-ajax.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dojo-0.4.1-ajax.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dojo-0.4.1-ajax.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\errorhandler.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\errorhandler.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\errorhandler.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\jsfcl.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\jsfcl.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\jsfcl.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\json.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\json.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\json.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\prototype-1.5.0.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\prototype-1.5.0.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\prototype-1.5.0.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\rowset.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\rowset.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\rowset.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\sqlx.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\sqlx.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\sqlx.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf-suntheme.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf-suntheme.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf-suntheme.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\appbase.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\appbase.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\appbase.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\commons-fileupload.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\commons-fileupload.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\commons-fileupload.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dataprovider.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dataprovider.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dataprovider.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dojo-0.4.1-ajax.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dojo-0.4.1-ajax.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\dojo-0.4.1-ajax.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\errorhandler.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\errorhandler.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\errorhandler.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\jsfcl.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\jsfcl.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\jsfcl.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\json.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\json.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\json.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\prototype-1.5.0.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\prototype-1.5.0.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\prototype-1.5.0.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\rowset.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\rowset.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\rowset.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\sqlx.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\sqlx.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\sqlx.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf-suntheme.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf-suntheme.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf-suntheme.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf.jar
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf.jar failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib\webui-jsf.jar failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF\lib failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war\WEB-INF failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM\SAM-war_war failed; now marked for delete-on-exit
>UTIL6040: Error attempting to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM
>UTIL6041: Performing gc to try to force file closures
>UTIL6043: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM failed after 4 retries
>UTIL6048: Attempt to delete C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM failed; now marked for delete-on-exit
>Exception occured in J2EEC Phase
>com.sun.enterprise.deployment.backend.IASDeploymentException: Cannot delete existing directory C:\Sun\SDK\domains\domain1\applications\j2ee-apps\SAM, possibly due to one or more open files or streams; these may interfere with later deployment attempts so you may need to manually delete this directory and/or restart the server to release the open files
> at com.sun.enterprise.deployment.backend.AppDeployer.cleanAndCheck(AppDeployer.java:313)
> at com.sun.enterprise.deployment.backend.AppDeployer.liquidateAppDirAndStubsDirIfTheyHappenToExist(AppDeployer.java:285)
> at com.sun.enterprise.deployment.backend.AppDeployer.predeploy(AppDeployer.java:167)
> at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:128)
> at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
> at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
> at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
> at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
> at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
> at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
> at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
>
>After a restart everything works fine, but it kind of sucks to keep restarting the server everytime *g*
>[Message sent by forum member 'kosta2' (kosta2)]
>
>http://forums.java.net/jive/thread.jspa?messageID=229991
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>