<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: I Put A Spell On You, Because you&#8217;re mine: Aka Why is TomCat Holding Onto Jars?</title>
	<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/</link>
	<description>Whatever hits the spot</description>
	<pubDate>Thu, 11 Mar 2010 09:20:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: James Carr &#187; Blog Archive &#187; &#8220;Please Tomcat, I beg of you! Please release my jars!&#8221;</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-25732</link>
		<pubDate>Sun, 10 Jun 2007 15:24:07 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-25732</guid>
					<description>[...] Luckily, a little googling yielded this fine solution, which I am sharing in hopes google picks this post up for other people, as it took me looking through 3 or 4 pages of google results to find it. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Luckily, a little googling yielded this fine solution, which I am sharing in hopes google picks this post up for other people, as it took me looking through 3 or 4 pages of google results to find it. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Al</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1858</link>
		<pubDate>Mon, 13 Feb 2006 09:36:20 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1858</guid>
					<description>Best title for a blog entry I've seen in some time. BTW, it's actually a Screamin' Jay Hawkins song, covered by CCR. Clearly there's a little bit of the devil spirit of SJH in Tomcat :)</description>
		<content:encoded><![CDATA[<p>Best title for a blog entry I&#8217;ve seen in some time. BTW, it&#8217;s actually a Screamin&#8217; Jay Hawkins song, covered by CCR. Clearly there&#8217;s a little bit of the devil spirit of SJH in Tomcat <img src='http://blog.exis.com/colin/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Larry Singer</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1722</link>
		<pubDate>Fri, 20 Jan 2006 05:31:03 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1722</guid>
					<description>Creating the context file didn't work for me to remove ehcache.jar. What did work was placing an ehcache.xml in the classes directory.</description>
		<content:encoded><![CDATA[<p>Creating the context file didn&#8217;t work for me to remove ehcache.jar. What did work was placing an ehcache.xml in the classes directory.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Larry Singer</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1720</link>
		<pubDate>Fri, 20 Jan 2006 04:43:35 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1720</guid>
					<description>I have just been investigating this exact problem. I found the reason one of my JARs was being held was that a library was not closing the InputStream to a resource it was loading. I now have ehcache only stuck. I'll try the context switche suggestion to see if it fixes it.</description>
		<content:encoded><![CDATA[<p>I have just been investigating this exact problem. I found the reason one of my JARs was being held was that a library was not closing the InputStream to a resource it was loading. I now have ehcache only stuck. I&#8217;ll try the context switche suggestion to see if it fixes it.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Sex toys</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1577</link>
		<pubDate>Sat, 10 Dec 2005 15:47:41 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1577</guid>
					<description>thanks alot guys very good job.</description>
		<content:encoded><![CDATA[<p>thanks alot guys very good job.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Victor Ott</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1491</link>
		<pubDate>Thu, 17 Nov 2005 17:08:15 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1491</guid>
					<description>Tomcat hot redeployment: you shouldn't rely on that very much on productive systems. As others stated before, the memory leakage is tremendous. Even with PermGen memory space set to astronomic values (max=256MB) certain applications can't be hot redeployed more than 15-17 times in Tomcat. Maybe it is Bill's revenge? ;-)</description>
		<content:encoded><![CDATA[<p>Tomcat hot redeployment: you shouldn&#8217;t rely on that very much on productive systems. As others stated before, the memory leakage is tremendous. Even with PermGen memory space set to astronomic values (max=256MB) certain applications can&#8217;t be hot redeployed more than 15-17 times in Tomcat. Maybe it is Bill&#8217;s revenge? <img src='http://blog.exis.com/colin/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Cris Daniluk</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1431</link>
		<pubDate>Thu, 03 Nov 2005 05:34:19 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1431</guid>
					<description>Actually, XML and XSLT should live on the classpath and be read as resources... you shouldn't really be reading anything contained in the war, and fortunately, there's never a time where you actually need it explicitly on the file system anyway... Java's InputStream is flexible enough.

At any j2ee release, they may mandate that wars are not exploded (they've hinted at it so far) at which point any code like this breaks, unless you manually explode (and therefore deploy)</description>
		<content:encoded><![CDATA[<p>Actually, XML and XSLT should live on the classpath and be read as resources&#8230; you shouldn&#8217;t really be reading anything contained in the war, and fortunately, there&#8217;s never a time where you actually need it explicitly on the file system anyway&#8230; Java&#8217;s InputStream is flexible enough.</p>
<p>At any j2ee release, they may mandate that wars are not exploded (they&#8217;ve hinted at it so far) at which point any code like this breaks, unless you manually explode (and therefore deploy)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Colin Sampaleanu</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1343</link>
		<pubDate>Sun, 23 Oct 2005 01:29:24 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1343</guid>
					<description>Unfortunately that may well mean that your app is one such app that needs to always be deployed in expanded form, or on a container that fully expands WAR files...</description>
		<content:encoded><![CDATA[<p>Unfortunately that may well mean that your app is one such app that needs to always be deployed in expanded form, or on a container that fully expands WAR files&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Arron Ferguson</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1328</link>
		<pubDate>Fri, 21 Oct 2005 22:37:18 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1328</guid>
					<description>Thanks for the reply Colin. But the path is not just for classes. I have a Web app that references XML, XSLT templates and media (e.g. images) from the file system and so knowing where it these files are is imperative.

This is the part of Web app development that I love to hate with a passion.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply Colin. But the path is not just for classes. I have a Web app that references XML, XSLT templates and media (e.g. images) from the file system and so knowing where it these files are is imperative.</p>
<p>This is the part of Web app development that I love to hate with a passion.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Colin Sampaleanu</title>
		<link>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1322</link>
		<pubDate>Fri, 21 Oct 2005 15:29:54 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2005/08/23/i-put-a-spell-on-you-because-youre-mine-aka-why-is-tomcat-holding-onto-jars/#comment-1322</guid>
					<description>Realistically the only portable solution is to rely only on loading resources through the classloader, off the classpath, and never expect to be able to call getRealPAth.

Now you do come across web-apps which expressly say they must be installed in expanded form (not WARed), exactly because they do expect to be able to call this method and get a proper result.</description>
		<content:encoded><![CDATA[<p>Realistically the only portable solution is to rely only on loading resources through the classloader, off the classpath, and never expect to be able to call getRealPAth.</p>
<p>Now you do come across web-apps which expressly say they must be installed in expanded form (not WARed), exactly because they do expect to be able to call this method and get a proper result.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
