jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Archiva
  • MRM-213

cannot undeploy archiva webapp

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0-alpha-1
  • Fix Version/s: 1.0-beta-3
  • Component/s: None
  • Labels:
    None
  • Environment:
    I'm running Archiva webapp under tomcat 5.5 / windows 2003 server

Description

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 ?

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. CONTINUUM-1355 No admin user found after Tomcat shutdown (Tomcat doesn't shutdown properly)

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Bug - A problem which impairs or prevents the functions of the product. MRM-333 Tomcat deployment of archiva results in unstable instance.

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Arnaud Heritier added a comment - 02/Nov/06 4:07 PM

I don't have this problem on linux.

Show
Arnaud Heritier added a comment - 02/Nov/06 4:07 PM I don't have this problem on linux.
Hide
Permalink
Brett Porter added a comment - 19/Dec/06 8:26 PM

we can't really control how Tomcat is dealing with webapps, unless there is some other servlet shutdown problem...

Show
Brett Porter added a comment - 19/Dec/06 8:26 PM we can't really control how Tomcat is dealing with webapps, unless there is some other servlet shutdown problem...
Hide
Permalink
Dan Tran added a comment - 03/Jan/07 3:54 PM

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

Show
Dan Tran added a comment - 03/Jan/07 3:54 PM 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
Hide
Permalink
Joakim Erdfelt added a comment - 21/Sep/07 1:27 PM

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.

Show
Joakim Erdfelt added a comment - 21/Sep/07 1:27 PM 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.
Hide
Permalink
Joakim Erdfelt added a comment - 21/Sep/07 5:33 PM

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

Show
Joakim Erdfelt added a comment - 21/Sep/07 5:33 PM 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
Hide
Permalink
Joakim Erdfelt added a comment - 21/Sep/07 5:45 PM

This issue might be related to our usage of pre 1.3 versions of ehcache.
See CONTINUUM-1355 for discussion on this.

Show
Joakim Erdfelt added a comment - 21/Sep/07 5:45 PM This issue might be related to our usage of pre 1.3 versions of ehcache. See CONTINUUM-1355 for discussion on this.
Hide
Permalink
Joakim Erdfelt added a comment - 21/Sep/07 6:11 PM

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.

Show
Joakim Erdfelt added a comment - 21/Sep/07 6:11 PM 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.
Hide
Permalink
Arnaud Heritier added a comment - 24/Sep/07 9:58 AM

Another tip: Use antiResourceLocking="true" and antiJARLocking="true" in the context declaration ....

Show
Arnaud Heritier added a comment - 24/Sep/07 9:58 AM Another tip: Use antiResourceLocking="true" and antiJARLocking="true" in the context declaration ....
Hide
Permalink
Joakim Erdfelt added a comment - 24/Sep/07 10:04 AM

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.

Show
Joakim Erdfelt added a comment - 24/Sep/07 10:04 AM 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.

People

  • Assignee:
    Joakim Erdfelt
    Reporter:
    nicolas de loof
Vote (0)
Watch (0)

Dates

  • Created:
    24/Oct/06 2:53 AM
    Updated:
    24/Sep/07 10:04 AM
    Resolved:
    21/Sep/07 6:11 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.