tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33830] New: - Tomcat 5.5 series fails to undeploy apps with jar resources
Date Thu, 03 Mar 2005 09:55:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33830>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33830

           Summary: Tomcat 5.5 series fails to undeploy apps with jar
                    resources
           Product: Tomcat 5
           Version: 5.5.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Webapps:Manager
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: impriha@surfeu.fi


If a web app has other resources than classes in jar archives and accesses them
through the context class loader, the undeployment of such web apps fails
because the corresponding jar archives are not deleted. This happens in at least
5.5.6, 5.5.7 and 5.5.8a.

The same problem is present in 4.1 series but not in 5.0 series.

The following code snippet shows a simple test case:

        ClassLoader loader = Thread.currentThread().getContextClassLoader();
        URL url1 = loader.getResource("LocalStrings.properties");
        InputStream in = url1.openStream();
        int b = in.read();
        in.close();

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message