<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Which jar contains my&#8230;</title>
	<link>http://www.isocra.com/2006/02/jarfinder/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Fri, 16 May 2008 10:32:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: denish</title>
		<link>http://www.isocra.com/2006/02/jarfinder/#comment-9</link>
		<dc:creator>denish</dc:creator>
		<pubDate>Tue, 29 Jan 2008 22:18:48 +0000</pubDate>
		<guid>http://www.isocra.com/2006/02/jarfinder/#comment-9</guid>
		<description>Unfortunately I don't thing it will work in application servers because they don't use the classpath for the actual applications. They use specific class loaders that dynamically load jars from WEB-INF/lib, or whereever.

However, have a look at the code in this post &lt;a href="http://www.isocra.com/2007/10/jndi-problems-with-tomcat-5515/" rel="nofollow"&gt;JNDI problems with Tomcat&lt;/a&gt;. If you look at the second code block you can see some code that loads a class and then tries to find where it was loaded from by getting the source code for the class and then the location for that. This definitely works with Tomcat (as long as the classes have been compiled with enough debugging information which is normally the case).</description>
		<content:encoded><![CDATA[<p>Unfortunately I don&#8217;t thing it will work in application servers because they don&#8217;t use the classpath for the actual applications. They use specific class loaders that dynamically load jars from WEB-INF/lib, or whereever.</p>
<p>However, have a look at the code in this post <a href="http://www.isocra.com/2007/10/jndi-problems-with-tomcat-5515/" rel="nofollow">JNDI problems with Tomcat</a>. If you look at the second code block you can see some code that loads a class and then tries to find where it was loaded from by getting the source code for the class and then the location for that. This definitely works with Tomcat (as long as the classes have been compiled with enough debugging information which is normally the case).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://www.isocra.com/2006/02/jarfinder/#comment-8</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Tue, 29 Jan 2008 21:24:10 +0000</pubDate>
		<guid>http://www.isocra.com/2006/02/jarfinder/#comment-8</guid>
		<description>Does this work in tomcat and application servers in general?</description>
		<content:encoded><![CDATA[<p>Does this work in tomcat and application servers in general?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
