You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/03/03 10:55:55 UTC
DO NOT REPLY [Bug 33830] New: -
Tomcat 5.5 series fails to undeploy apps with jar resources
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