You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "nicolas de loof (JIRA)" <ji...@codehaus.org> on 2006/10/24 09:54:39 UTC
[jira] Created: (MRM-213) cannot undeploy archiva webapp
cannot undeploy archiva webapp
------------------------------
Key: MRM-213
URL: http://jira.codehaus.org/browse/MRM-213
Project: Archiva
Issue Type: Bug
Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
Reporter: nicolas de loof
Priority: Minor
I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
jpox-1.1.1.jar
plexus-container-default-1.0-alpha-10.jar
plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
webwork-2.2.4.jar
xwork-1.2.1.jar
I cannot remove those jars (files locked)
Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRM-213) cannot undeploy archiva webapp
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_107964 ]
Joakim Erdfelt commented on MRM-213:
------------------------------------
Tested on Linux w/ Tomcat 5.0.28.
Using Archiva SVN Trunk r577463
JDK 1.5.0_11
This problem cannot be duplicated.
See notes on JAR incompatibilities at http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat#ArchivaonTomcat-Tomcat5.0.xSpecifics
Not closing until tested on Tomcat 5.5.x and 6.0.x too.
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.0-alpha-1
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Assignee: Joakim Erdfelt
> Priority: Minor
> Fix For: 1.0.x
>
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRM-213) cannot undeploy archiva webapp
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108119 ]
Arnaud Heritier commented on MRM-213:
-------------------------------------
Another tip: Use antiResourceLocking="true" and antiJARLocking="true" in the context declaration ....
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.0-alpha-1
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Assignee: Joakim Erdfelt
> Priority: Minor
> Fix For: 1.0-beta-3
>
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRM-213) cannot undeploy archiva webapp
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=comments#action_79185 ]
Arnaud Heritier commented on MRM-213:
-------------------------------------
I don't have this problem on linux.
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Priority: Minor
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Work started: (MRM-213) cannot undeploy archiva webapp
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on MRM-213 started by Joakim Erdfelt.
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.0-alpha-1
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Assignee: Joakim Erdfelt
> Priority: Minor
> Fix For: 1.0.x
>
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MRM-213) cannot undeploy archiva webapp
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joakim Erdfelt closed MRM-213.
------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.0.x)
1.0-beta-3
Upgrading the ehcache version to get the benefits of the reworked shutdown hook has worked.
Fix has been commit'd to revision 578314 in archiva/trunk.
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.0-alpha-1
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Assignee: Joakim Erdfelt
> Priority: Minor
> Fix For: 1.0-beta-3
>
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRM-213) cannot undeploy archiva webapp
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_107994 ]
Joakim Erdfelt commented on MRM-213:
------------------------------------
Encountered this problem not on undeploy specifically, but even Tomcat shutdown.
This prevented the proper shutdown of the JDK/JRE too. It was left running in memory, even though the Tomcat threads were no longer running.
Tested on Windows XP (SP2) w/ Tomcat 5.0.28
Using Archiva SVN Trunk r578241
JDK 1.5.0_11
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.0-alpha-1
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Assignee: Joakim Erdfelt
> Priority: Minor
> Fix For: 1.0.x
>
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MRM-213) cannot undeploy archiva webapp
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=all ]
Brett Porter updated MRM-213:
-----------------------------
Fix Version/s: 1.0
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Priority: Minor
> Fix For: 1.0
>
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Reopened: (MRM-213) cannot undeploy archiva webapp
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=all ]
Dan Tran reopened MRM-213:
--------------------------
I think we can fix this using this suggestion
http://permalink.gmane.org/gmane.comp.jakarta.hivemind.user/2014
It is a big help for to solve jar lockup problem on windows
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Priority: Minor
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MRM-213) cannot undeploy archiva webapp
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=all ]
Brett Porter closed MRM-213.
----------------------------
Resolution: Won't Fix
Fix Version/s: (was: 1.0)
we can't really control how Tomcat is dealing with webapps, unless there is some other servlet shutdown problem...
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Priority: Minor
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRM-213) cannot undeploy archiva webapp
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108120 ]
Joakim Erdfelt commented on MRM-213:
------------------------------------
Arnaud,
Those 2 options are not available on Tomcat 5.0.x (at least I can't find them).
They appear to be present on Tomcat 5.5.x and Tomcat 6.0.x though.
> cannot undeploy archiva webapp
> ------------------------------
>
> Key: MRM-213
> URL: http://jira.codehaus.org/browse/MRM-213
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.0-alpha-1
> Environment: I'm running Archiva webapp under tomcat 5.5 / windows 2003 server
> Reporter: nicolas de loof
> Assignee: Joakim Erdfelt
> Priority: Minor
> Fix For: 1.0-beta-3
>
>
> I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains:
> jpox-1.1.1.jar
> plexus-container-default-1.0-alpha-10.jar
> plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar
> plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar
> webwork-2.2.4.jar
> xwork-1.2.1.jar
> I cannot remove those jars (files locked)
> Maybe some background thread is not stopped at application undeploy ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira