Skip to main content

Server Restart requeried for Redeployment

6 replies [Last post]
kosta2
Offline
Joined: 2007-08-05
Points: 0

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*

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hong Zhang

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@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@glassfish.dev.java.net
>For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

kosta2
Offline
Joined: 2007-08-05
Points: 0

Thanks for the response (and the link)...

I tried V2 but every time i tried to access the web-ui I got a HTTP-404 Error from the server

> 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?

I'm not quite sure I understand what you mean, but Glassfish was started inside of NetBeans, and NetBeans also took care of the deployment (so no terminals were open)

Message was edited by: kosta2

Hong Zhang

Hi,

>Thanks for the response (and the link)...
>
>I tried V2 but every time i tried to access the web-ui I hot a HTTP-404 Error from the server
>
So after the deployment, the same app runs fine in v1 but not v2? What's
the stack trace and error messages in the server.log when this happens?
Does this only happen to a specific web application or any web application?

>>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?
>
>I'm not quite sure I understand what you mean, but Glassfish was started inside of NetBeans, and NetBeans also took care of the deployment (so no terminals were open)
>
Ok. You can use Tim's tool to see if it helps identify the cause in v1.

Thanks,

- Hong

>[Message sent by forum member 'kosta2' (kosta2)]
>
>http://forums.java.net/jive/thread.jspa?messageID=230034
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

kosta2
Offline
Joined: 2007-08-05
Points: 0

> So after the deployment, the same app runs fine in v1 but not v2? What's
the stack trace and error messages in the server.log when this happens?
Does this only happen to a specific web application or any web application?

No, I didn't try to deploy my app... I started the Glassfish server, and when trying to access the Glassfish Admin Web-UI (localhost:4848) I got a HTTP-404 error

Hong Zhang

>>So after the deployment, the same app runs fine in v1 but not v2? What's
>>
>>
>the stack trace and error messages in the server.log when this happens?
>Does this only happen to a specific web application or any web application?
>
>No, I didn't try to deploy my app... I started the Glassfish server, and when trying to access the Glassfish Admin Web-UI (localhost:4848) I got a HTTP-404 error
>
This is with a freshly installed v2? Did you happen to change the
default admin port 4848 to a different value when you installed? If you
look at the server.log, did the server start up successfully, any
exceptions there?

- Hong

>[Message sent by forum member 'kosta2' (kosta2)]
>
>http://forums.java.net/jive/thread.jspa?messageID=230045
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

kosta2
Offline
Joined: 2007-08-05
Points: 0

Hm... weird... now it's working *g*

Anyways, thanks! :D