<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	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>The Java Blog</title>
	<atom:link href="http://thejavablog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thejavablog.wordpress.com</link>
	<description>Thoughts, tips and tricks about the Java programming language</description>
	<lastBuildDate>Thu, 26 Jan 2012 07:35:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='thejavablog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Java Blog</title>
		<link>http://thejavablog.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://thejavablog.wordpress.com/osd.xml" title="The Java Blog" />
	<atom:link rel='hub' href='http://thejavablog.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Unknown runtime error Line: 120 Char: 1 Code: 0 URI: 3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript</title>
		<link>http://thejavablog.wordpress.com/2011/08/30/unknown-runtime-error-3_3_3-finalorg-ajax4jsf-javascript-ajaxscript-line-120-character-1/</link>
		<comments>http://thejavablog.wordpress.com/2011/08/30/unknown-runtime-error-3_3_3-finalorg-ajax4jsf-javascript-ajaxscript-line-120-character-1/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 11:55:27 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[RichFaces]]></category>
		<category><![CDATA[Seam]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[seam]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=395</guid>
		<description><![CDATA[Not strictly Java related but I thought I could post it here. I was getting the error Unknown runtime error Line: 120 Char: 1 Code: 0 URI: 3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript on I.E. (FF and Chrome worked fine) when I included a form within a form in RichFaces. As soon as I got rid of the second form [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=395&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Not strictly Java related but I thought I could post it here. I was getting the error </p>
<p><code>Unknown runtime error Line: 120 Char: 1 Code: 0 URI: 3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript</code></p>
<p>on I.E. (FF and Chrome worked fine) when I included a form within a form in RichFaces. As soon as I got rid of the second form (in the included file) the problem went away.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/395/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=395&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2011/08/30/unknown-runtime-error-3_3_3-finalorg-ajax4jsf-javascript-ajaxscript-line-120-character-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
		<item>
		<title>Caused by javax.persistence.TransactionRequiredException with message: &#8220;no transaction is in progress&#8221;</title>
		<link>http://thejavablog.wordpress.com/2011/05/02/caused-by-javax-persistence-transactionrequiredexception-with-message-no-transaction-is-in-progress/</link>
		<comments>http://thejavablog.wordpress.com/2011/05/02/caused-by-javax-persistence-transactionrequiredexception-with-message-no-transaction-is-in-progress/#comments</comments>
		<pubDate>Mon, 02 May 2011 09:50:39 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Seam]]></category>
		<category><![CDATA[WebLogic]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=386</guid>
		<description><![CDATA[This is weird, I am not sure why I am getting it. I have an application that makes some calculations that take some considerable time, and I persist the results. I run my application with 100 records from the database and everything works fine. I run my application with 60.000 records from the database and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=386&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is weird, I am not sure why I am getting it. I have an application that makes some calculations that take some considerable time, and I persist the results. I run my application with 100 records from the database and everything works fine. I run my application with 60.000 records from the database and I am getting the above error message. The exception happens when the <code>flush()</code> method is called on the <code>EntityManager</code>. If I am to have a wild guess I&#8217;d say that there is a transaction time out (it is set to 30 seconds in the weblogic console) and therefore when the <code>flush()</code> method is called there is no active transaction.</p>
<p>Anyway I managed to overcome this issue by explicitly defining a user transaction </p>
<p><pre class="brush: java;">
import org.jboss.seam.transaction.Transaction;
import org.jboss.seam.transaction.UserTransaction;
...
...

UserTransaction ut = Transaction.instance();
ut.begin();
...
...
ut.commit();
</pre></p>
<p>If you have any idea why this is happening please leave a comment.</p>
<p><strong>UPDATE</strong>: Now the first transaction (the one with 100 records) fails. It complains that there is already one transaction active when I try to start a new one. I guess I need to revert my code and to increase the transaction timeout on the weblogic console, this would solve both issues.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=386&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2011/05/02/caused-by-javax-persistence-transactionrequiredexception-with-message-no-transaction-is-in-progress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
		<item>
		<title>javax.naming.OperationNotSupportedException: bind not allowed in a ReadOnlyContext; remaining name</title>
		<link>http://thejavablog.wordpress.com/2011/03/01/javax-naming-operationnotsupportedexception-bind-not-allowed-in-a-readonlycontext-remaining-name-mail/</link>
		<comments>http://thejavablog.wordpress.com/2011/03/01/javax-naming-operationnotsupportedexception-bind-not-allowed-in-a-readonlycontext-remaining-name-mail/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 09:08:05 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[WebLogic]]></category>
		<category><![CDATA[jndi]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[weblogic]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=381</guid>
		<description><![CDATA[I got this exception when i tried to define a mail session in WebLogic&#8217;s console. I defined the JNDI name to be java:/Mail but it seems that WebLogic does not like the java:/ prefix, so I had to remove it (both from the console and the calling code), and it worked.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=381&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got this exception when i tried to define a mail session in WebLogic&#8217;s console. I defined the JNDI name to be <code>java:/Mail</code> but it seems that WebLogic does not like the <code>java:/</code> prefix, so I had to remove it (both from the console and the calling code), and it worked.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/381/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=381&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2011/03/01/javax-naming-operationnotsupportedexception-bind-not-allowed-in-a-readonlycontext-remaining-name-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
		<item>
		<title>org.hibernate.MappingException: broken column mapping for</title>
		<link>http://thejavablog.wordpress.com/2011/02/16/org-hibernate-mappingexception-broken-column-mapping-for/</link>
		<comments>http://thejavablog.wordpress.com/2011/02/16/org-hibernate-mappingexception-broken-column-mapping-for/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 08:46:01 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[Hibernate]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=373</guid>
		<description><![CDATA[I got this error when I tried to map a child element by using its parent&#8217;s foreign key. I had a parent element with a region id (as foreign key) and I needed to get the child element whose primary key was this region id (and a language id). My child element (Region.hbm.xml) had a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=373&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got this error when I tried to map a child element by using its parent&#8217;s foreign key. I had a parent element with a region id (as foreign key) and I needed to get the child element whose primary key was this region id (and a language id). My child element (<code>Region.hbm.xml</code>) had a composite primary key</p>
<p><pre class="brush: xml;">
&lt;composite-id&gt;
  			&lt;key-property name=&quot;regionCode&quot; type=&quot;integer&quot; column=&quot;RGNCDE&quot;/&gt;
  			&lt;key-property name=&quot;languageCode&quot; type=&quot;integer&quot; column=&quot;LNGCDE&quot;/&gt;
  		&lt;/composite-id&gt;
</pre></p>
<p>and in my parent I did</p>
<p><pre class="brush: xml;">
&lt;property name=&quot;regionCode&quot; column=&quot;REGCDE&quot; type=&quot;integer&quot;/&gt;

&lt;many-to-one name=&quot;region&quot; class=&quot;my.package.hbm.Region&quot;&gt;
</pre></p>
<p>but this resulted in &#8220;<code>org.hibernate.MappingException: broken column mapping for</code>&#8221; error.</p>
<p> I had to split the child&#8217;s composite key </p>
<p><pre class="brush: xml;">
&lt;id name=&quot;regionCode&quot; type=&quot;integer&quot; column=&quot;RGNCDE&quot;&gt;
			&lt;generator class=&quot;assigned&quot;/&gt;
		&lt;/id&gt;

		&lt;property name=&quot;languageCode&quot; column=&quot;LNGCDE&quot; type=&quot;integer&quot;/&gt;
</pre></p>
<p>and add a <code>formula</code> property in my parent&#8217;s class mapping</p>
<p><pre class="brush: xml;">
&lt;property name=&quot;regionCode&quot; column=&quot;REGCDE&quot; type=&quot;integer&quot;/&gt;

&lt;many-to-one name=&quot;region&quot; class=&quot;my.package.hbm.Region&quot; formula=&quot;REGCDE&quot;/&gt;
</pre></p>
<p>so that hibernate could link the region id of the parent to the region id of the child. And since I needed a record based also on the language code (but my parent didn&#8217;t have any language code column) I had to manually add search criteria</p>
<p><pre class="brush: java;">
crit.createCriteria(&quot;region&quot;).add(Restrictions.eq(&quot;languageCode&quot;, 1));
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/373/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=373&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2011/02/16/org-hibernate-mappingexception-broken-column-mapping-for/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
		<item>
		<title>How to retain/get only the duplicate elements in a list</title>
		<link>http://thejavablog.wordpress.com/2011/02/04/how-to-retainget-only-the-duplicate-elements-in-a-list/</link>
		<comments>http://thejavablog.wordpress.com/2011/02/04/how-to-retainget-only-the-duplicate-elements-in-a-list/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 10:41:47 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[Collections]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[duplicate]]></category>
		<category><![CDATA[hashset]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=367</guid>
		<description><![CDATA[Let&#8217;s say you have a list of duplicate (and non-duplicate) items, and you want a new collection with only the duplicate items in there. The easiest way is to extend the HashSet. Call it like where original is the Collection with the duplicate items. Compliments to Markos for his implementation.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=367&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you have a list of duplicate (and non-duplicate) items, and you want a new collection with only the duplicate items in there. The easiest way is to extend the <code>HashSet</code>.</p>
<p><pre class="brush: java;">
public class DuplicatesOnlySet&lt;E&gt; extends HashSet&lt;E&gt;
{
    private final Set&lt;E&gt; uniques = new HashSet&lt;E&gt;();

    public  DuplicatesOnlySet(Collection&lt;? extends E&gt; c) 
    {
        super.addAll(c);
    }

    @Override
    public boolean add(E e) 
    {                
        if(!this.uniques.add(e))
             return super.add(e);

    return false;
    }
}
</pre></p>
<p>Call it like</p>
<p><pre class="brush: java;">
List&lt;String&gt; duplicates = new ArrayList&lt;String&gt;(new DuplicatesOnlySet&lt;String&gt;(original)) ;
</pre></p>
<p>where <code>original</code> is the <code>Collection</code> with the duplicate items.</p>
<p>Compliments to <a href="http://forrst.me/Cue">Markos</a> for his <a href="http://forrst.com/posts/How_to_think_of_Aspects-RZe">implementation</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=367&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2011/02/04/how-to-retainget-only-the-duplicate-elements-in-a-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
		<item>
		<title>java.lang.StackOverflowError and Hibernate</title>
		<link>http://thejavablog.wordpress.com/2010/12/30/java-lang-stackoverflowerror-and-hibernate/</link>
		<comments>http://thejavablog.wordpress.com/2010/12/30/java-lang-stackoverflowerror-and-hibernate/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 08:37:48 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[entity]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=361</guid>
		<description><![CDATA[If you have set up your relationships correctly in your @Entity bean but you are still getting this error, I have found out that by explicitly setting the Query&#8216;s flush mode type to COMMIT you can avoid recursive calls that result in a StackOverflowError<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=361&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have set up your relationships correctly in your <code>@Entity</code> bean but you are still getting this error, I have found out that by explicitly setting the <code>Query</code>&#8216;s flush mode type to <code>COMMIT</code> you can avoid recursive calls that result in a <code>StackOverflowError</code></p>
<p><pre class="brush: java;">
query.setFlushMode(FlushModeType.COMMIT);	// Avoid recursive call and StackOverflowError
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/361/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=361&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2010/12/30/java-lang-stackoverflowerror-and-hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
		<item>
		<title>Error loading element Identity with component name null and component class null</title>
		<link>http://thejavablog.wordpress.com/2010/12/10/error-loading-element-identity-with-component-name-null-and-component-class-null/</link>
		<comments>http://thejavablog.wordpress.com/2010/12/10/error-loading-element-identity-with-component-name-null-and-component-class-null/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 14:34:41 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[JBoss]]></category>
		<category><![CDATA[Seam]]></category>
		<category><![CDATA[WebLogic]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=359</guid>
		<description><![CDATA[This error is related to this post, and is solved by the exact same manner. 1) Edit your application.xml and move the jboss-seam.jar module to the top. 2) Edit each MANIFEST.MF file of the rest of your modules defined in the application.xml and remove the jboss-seam.jar entry. 3) Rebuild and redeploy your ear.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=359&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This error is related to <a href="http://thejavablog.wordpress.com/2010/12/01/no-phase-id-bound-to-current-thread-make-sure-you-do-not-have-two-seamphaselistener-instances-installed/">this post</a>, and is solved by the exact same manner. </p>
<p>1) Edit your <code>application.xml</code> and move the <code>jboss-seam.jar</code> module to the top.<br />
2) Edit each <code>MANIFEST.MF</code> file of the rest of your modules defined in the <code>application.xml</code> and remove the <code>jboss-seam.jar </code>entry.<br />
3) Rebuild and redeploy your ear.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/359/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=359&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2010/12/10/error-loading-element-identity-with-component-name-null-and-component-class-null/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
		<item>
		<title>ORA-12505: TNS:listener does not currently know of SID given in connect descriptor</title>
		<link>http://thejavablog.wordpress.com/2010/12/09/ora-12505-tnslistener-does-not-currently-know-of-sid-given-in-connect-descriptor/</link>
		<comments>http://thejavablog.wordpress.com/2010/12/09/ora-12505-tnslistener-does-not-currently-know-of-sid-given-in-connect-descriptor/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 09:44:47 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[JDBC]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=354</guid>
		<description><![CDATA[I am not sure why I get this error since I can connect to the current SID by using sqlplus but I cannot connect to it by using jdbc with the following url: After searching for about an hour I found out that you can also use the full blown jdbc url protocol to connect [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=354&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am not sure why I get this error since I can connect to the current SID by using sqlplus but I cannot connect to it by using jdbc with the following url:</p>
<p><pre class="brush: java;">
jdbc:oracle:thin:@aHost:1521:theSID
</pre></p>
<p>After searching for about an hour I found out that you can also use the full blown jdbc url protocol to connect to oracle</p>
<p><pre class="brush: java;">
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=aHost) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=theSID)))
</pre></p>
<p>This does not explain why the issue happens but at least for now it solves the problem. I will post an update if I find anything else.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/354/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=354&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2010/12/09/ora-12505-tnslistener-does-not-currently-know-of-sid-given-in-connect-descriptor/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
		<item>
		<title>java.lang.ClassCastException: YOUR_REPORT_NAME_1290416522329_455758 cannot be cast to net.sf.jasperreports.engine.fill.JREvaluator</title>
		<link>http://thejavablog.wordpress.com/2010/12/03/java-lang-classcastexception-your_report_name_1290416522329_455758-cannot-be-cast-to-net-sf-jasperreports-engine-fill-jrevaluator/</link>
		<comments>http://thejavablog.wordpress.com/2010/12/03/java-lang-classcastexception-your_report_name_1290416522329_455758-cannot-be-cast-to-net-sf-jasperreports-engine-fill-jrevaluator/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 08:28:27 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[Jasper]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JBoss]]></category>
		<category><![CDATA[WebLogic]]></category>
		<category><![CDATA[jasper]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[weblogic]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=342</guid>
		<description><![CDATA[Another classloading issue. While jasper reports work fine on JBoss, on WebLogic they fail with the exception net.sf.jasperreports.engine.JRException: Error loading expression class : MYREPORT_1290416522329_455758 ... Caused by: java.lang.ClassCastException: MYREPORT_1290416522329_455758 cannot be cast to net.sf.jasperreports.engine.fill.JREvaluator at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadEvaluator(JRAbstractJavaCompiler.java:101) This is easily resolved. In my configuration it was just a matter of moving my jasper jar file from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=342&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another classloading issue. While jasper reports work fine on JBoss, on WebLogic they fail with the exception</p>
<p><code>net.sf.jasperreports.engine.JRException: Error loading expression class : MYREPORT_1290416522329_455758<br />
...<br />
Caused by: java.lang.ClassCastException: MYREPORT_1290416522329_455758 cannot be cast to net.sf.jasperreports.engine.fill.JREvaluator<br />
        at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadEvaluator(JRAbstractJavaCompiler.java:101)</code></p>
<p>This is easily resolved. In my configuration it was just a matter of moving my jasper jar file from the root of ear to the <code>WEB-INF/lib</code> folder of my web app, in order to be picked up by a different classloader. If this does not work try moving the jasper jar file around in different locations, one of them will work.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/342/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=342&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2010/12/03/java-lang-classcastexception-your_report_name_1290416522329_455758-cannot-be-cast-to-net-sf-jasperreports-engine-fill-jrevaluator/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
		<item>
		<title>ClassNotFoundException: org.hibernate.hql.ast.HqlToken</title>
		<link>http://thejavablog.wordpress.com/2010/12/02/classnotfoundexception-org-hibernate-hql-ast-hqltoken/</link>
		<comments>http://thejavablog.wordpress.com/2010/12/02/classnotfoundexception-org-hibernate-hql-ast-hqltoken/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 11:08:43 +0000</pubDate>
		<dc:creator>Panos</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[WebLogic]]></category>
		<category><![CDATA[antlr]]></category>
		<category><![CDATA[weblogic]]></category>

		<guid isPermaLink="false">http://thejavablog.wordpress.com/?p=331</guid>
		<description><![CDATA[Another exception under WebLogic server. This exception occurs because the default query factory class in persistence.xml is the org.hibernate.hql.ast.ASTQueryTranslatorFactory. As the name suggests this is a classpath issue. You might wondering why you get it since you have the hibernate jar file (the file that contains the HqlToken class) in your classpath. The reason is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=331&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another exception under WebLogic server. This exception occurs because the default query factory class in <code>persistence.xml</code> is the <code>org.hibernate.hql.ast.ASTQueryTranslatorFactory</code>. As the name suggests this is a classpath issue. You might wondering why you get it since you have the hibernate jar file (the file that contains the <code>HqlToken</code> class) in your classpath. The reason is that the weblogic.jar contains a version of <code>antlr.jar</code> which is loaded by a classloader, while the hibernate stuff are loaded by another classloader. So when the server runs it&#8217;s using the version of antlr bundled with weblogic which cannot see the hibernate classes. There are two solutions to this problem</p>
<p>1) Use a<br />
<pre class="brush: xml;">
&lt;property name=&quot;hibernate.query.factory_class&quot; value=&quot;org.hibernate.hql.classic.ClassicQueryTranslatorFactory&quot;/&gt;
</pre><br />
instead of a<br />
<pre class="brush: xml;">
&lt;property name=&quot;hibernate.query.factory_class&quot; value=&quot;org.hibernate.hql.ast.ASTQueryTranslatorFactory&quot;/&gt;
</pre><br />
in your <code>persistence.xml</code>. This will solve the problem but you will have additional issues if you use <code>Enums</code> as parameters to queries (like I do) since I found out the the <code>ClassicQueryTranslatorFactory</code> has problems translating <code>Enum</code> data types to parameters (instead it translates them as bytes, unless you pass the actual value itself and not the <code>Enum</code> object).</p>
<p>2) </p>
<p>Add Hibernate&#8217;s antlr jar file as first entry in the classpath (in your <code>startWeblogic</code> script of your domain&#8217;s <code>bin</code> folder) and force weblogic to use this instead. I copied it into the <code>common/lib</code> folder and used</p>
<p><code>set CLASSPATH=%WL_HOME%\common\lib\antlr-2.7.6.jar;%SAVE_CLASSPATH%</code></p>
<p>There is another solution suggested, to add the following </p>
<p><pre class="brush: xml;">
    &lt;prefer-application-packages&gt;
        &lt;package-name&gt;antlr.*&lt;/package-name&gt;
    &lt;/prefer-application-packages&gt;
</pre></p>
<p>in your <code>weblogic-application.xml</code>, but for some reason this did not work for me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/331/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=331&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thejavablog.wordpress.com/2010/12/02/classnotfoundexception-org-hibernate-hql-ast-hqltoken/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c619b1ddf3905d8bc061a992b4e0a0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Panos</media:title>
		</media:content>
	</item>
	</channel>
</rss>
