<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: JBoss Classloader woes, rants and redemption</title>
	<atom:link href="http://blog.kischuk.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kischuk.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 19 May 2010 15:39:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.kischuk.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-235</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 17 Feb 2006 12:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-235</guid>
		<description>1</description>
		<content:encoded><![CDATA[<p>1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norman Richards</title>
		<link>http://blog.kischuk.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-234</link>
		<dc:creator>Norman Richards</dc:creator>
		<pubDate>Tue, 27 Jan 2004 13:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-234</guid>
		<description>Actually, you can get each of your ears to load separately by setting a loader-repository.  See the XML fragment in one of my UCL rants: http://members.capmac.org/~orb/blog.cgi/tech/java/jboss_ucl.html

This isn&#039;t a perfect solution, but it will keep your classes/resources from being visible outside of the ear and solve the immediate problem.</description>
		<content:encoded><![CDATA[<p>Actually, you can get each of your ears to load separately by setting a loader-repository.  See the XML fragment in one of my UCL rants: <a href="http://members.capmac.org/~orb/blog.cgi/tech/java/jboss_ucl.html" rel="nofollow">http://members.capmac.org/~orb/blog.cgi/tech/java/jboss_ucl.html</a></p>
<p>This isn&#8217;t a perfect solution, but it will keep your classes/resources from being visible outside of the ear and solve the immediate problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Sampaleanu</title>
		<link>http://blog.kischuk.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-233</link>
		<dc:creator>Colin Sampaleanu</dc:creator>
		<pubDate>Mon, 26 Jan 2004 20:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-233</guid>
		<description>In the 3.0/3.2 versions, JBoss&#039;s classloading implementation was a completely buggy piece of crap until about the fall of 2002, when they fixed a number of horrific bugs (for example, using plain java objects from a jar that also had EJBs would cause those EJBs to deploy, etc.).

From about Nov. 2002 until a month ago, I got by pretty well with an EAR setup relying on the unified classloader, which consisted of EJBs, WARs, and plain code in JARs, all listed in the application.xml, and with code being pulled in by one jar which had a manifest class-path entry referring to other code. Then all of a sudden, I crossed some magic threshold, and all hell broke loose. Multiple instances of the same class object would start showing up, resulting in classpath exceptions, when traversing EJB relations. Seemingly no way to resolve it, despite trying to change the order of various jars or similar tactivs. Then with a bit more unrelated code added to the ear, all of a sudden on each startup a randome EJB or two would be listed as illegal (with no code changed anywhere). Playing around with the jar ordering some more in a random fashion resolved that, but I still have the issue with multiple class copies. The only way I have been able to resolve that is to stop using Entity ejbs entirely, which I was halfway in the process of doing anyways. Good riddance.

In short, classloading in JBoss is still royally fucked.</description>
		<content:encoded><![CDATA[<p>In the 3.0/3.2 versions, JBoss&#8217;s classloading implementation was a completely buggy piece of crap until about the fall of 2002, when they fixed a number of horrific bugs (for example, using plain java objects from a jar that also had EJBs would cause those EJBs to deploy, etc.).</p>
<p>From about Nov. 2002 until a month ago, I got by pretty well with an EAR setup relying on the unified classloader, which consisted of EJBs, WARs, and plain code in JARs, all listed in the application.xml, and with code being pulled in by one jar which had a manifest class-path entry referring to other code. Then all of a sudden, I crossed some magic threshold, and all hell broke loose. Multiple instances of the same class object would start showing up, resulting in classpath exceptions, when traversing EJB relations. Seemingly no way to resolve it, despite trying to change the order of various jars or similar tactivs. Then with a bit more unrelated code added to the ear, all of a sudden on each startup a randome EJB or two would be listed as illegal (with no code changed anywhere). Playing around with the jar ordering some more in a random fashion resolved that, but I still have the issue with multiple class copies. The only way I have been able to resolve that is to stop using Entity ejbs entirely, which I was halfway in the process of doing anyways. Good riddance.</p>
<p>In short, classloading in JBoss is still royally fucked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Grott</title>
		<link>http://blog.kischuk.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-232</link>
		<dc:creator>Fred Grott</dc:creator>
		<pubDate>Mon, 26 Jan 2004 10:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-232</guid>
		<description>JBoss is not the only popular app server that doe sthis..

Hwoever you will be gald to know that JBOss gets anew classloader that works the way you expect..</description>
		<content:encoded><![CDATA[<p>JBoss is not the only popular app server that doe sthis..</p>
<p>Hwoever you will be gald to know that JBOss gets anew classloader that works the way you expect..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hani Suleiman</title>
		<link>http://blog.kischuk.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-231</link>
		<dc:creator>Hani Suleiman</dc:creator>
		<pubDate>Mon, 26 Jan 2004 09:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/01/26/jboss-classloader-woes-rants-and-redemption/#comment-231</guid>
		<description>Yep, JBoss&#039; classloader is pretty much the only one of all the appservers I&#039;ve tried that has genuinely surprised me. It works in its own bizarre unique way and seems to gleefully ignore everything any spec has ever said about classloading.

What&#039;s even more fun is how easy it is to clobber jboss internals with your own apps (eg, log4j).</description>
		<content:encoded><![CDATA[<p>Yep, JBoss&#8217; classloader is pretty much the only one of all the appservers I&#8217;ve tried that has genuinely surprised me. It works in its own bizarre unique way and seems to gleefully ignore everything any spec has ever said about classloading.</p>
<p>What&#8217;s even more fun is how easy it is to clobber jboss internals with your own apps (eg, log4j).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
