<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3" -->
<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/"
	>

<channel>
	<title>ClassNotFoundException</title>
	<link>http://www.classnotfoundexception.info</link>
	<description>Java Errors, Debugging and Moaning</description>
	<pubDate>Sat, 05 Jul 2008 08:23:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
	<language>en</language>
			<item>
		<title>Exception in thread &#8220;main&#8221; java.lang.OutOfMemoryError: Java heap space</title>
		<link>http://www.classnotfoundexception.info/2008/07/05/exception-in-thread-main-javalangoutofmemoryerror-java-heap-space/</link>
		<comments>http://www.classnotfoundexception.info/2008/07/05/exception-in-thread-main-javalangoutofmemoryerror-java-heap-space/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 08:20:39 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[JDBC]]></category>

		<category><![CDATA[Just wanted to create a simple loop that will read all]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2008/07/05/exception-in-thread-main-javalangoutofmemoryerror-java-heap-space/</guid>
		<description><![CDATA[Just wanted to create a simple Loop with JDBC/MySQL that will read a big database table and proces the data.
Unfortunately the &#8220;Java heap space&#8221; error occured.
 The following solution worked though:

stmt = con.createStatement(
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY);
stmt.setFetchSize(Integer.MIN_VALUE);


&#160;
This will tell the driver to step through the resultset instead of loading everything at once.
]]></description>
			<content:encoded><![CDATA[<p>Just wanted to create a simple Loop with JDBC/MySQL that will read a big database table and proces the data.</p>
<p>Unfortunately the &#8220;Java heap space&#8221; error occured.</p>
<p> The following solution worked though:</p>
<p><font size="2"></p>
<p align="left">stmt = con.createStatement(</p>
<p>ResultSet.</font><em><font size="2" color="#0000c0">TYPE_FORWARD_ONLY</font></em><font size="2">,</font><font size="2"></p>
<p align="left">ResultSet.<em><font size="2" color="#0000c0">CONCUR_READ_ONLY</font></em><font size="2">);</p>
<p align="left">stmt.setFetchSize(Integer.<em><font size="2" color="#0000c0">MIN_VALUE</font></em><font size="2">);</font></p>
<p></font></p>
<p></font></p>
<p align="left">&nbsp;</p>
<p align="left"><font size="2">This will tell the driver to step through the resultset instead of loading everything at once.</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2008/07/05/exception-in-thread-main-javalangoutofmemoryerror-java-heap-space/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to resize &#038; crop images</title>
		<link>http://www.classnotfoundexception.info/2008/05/02/how-to-resize-crop-images/</link>
		<comments>http://www.classnotfoundexception.info/2008/05/02/how-to-resize-crop-images/#comments</comments>
		<pubDate>Fri, 02 May 2008 10:07:24 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[Howto's]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2008/05/02/how-to-resize-crop-images/</guid>
		<description><![CDATA[If you resize images the easy way, they are either distorted or have different aspect ratios after conversion. So if you need the same image sizes after conversion, independent of the original input sizes, what you need to do is to resize and crop the image. First you resize the image so that the width [...]]]></description>
			<content:encoded><![CDATA[<p>If you resize images the easy way, they are either distorted or have different aspect ratios after conversion. So if you need the same image sizes after conversion, independent of the original input sizes, what you need to do is to resize and crop the image. First you resize the image so that the width and length are at least the size of the required output format - then you crop the image and cut off the borders either on the left &amp; right or the top &amp; bottom. Sometimes parts are missing, but this forces users to upload proper images the next time ;-)</p>
<p>here you go:</p>
<p><strong>convert input.jpg -resize &#8220;88x&#8221; -resize &#8220;x88&lt;&#8221; -gravity center -crop 88&#215;88+0+0 output.jpg</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2008/05/02/how-to-resize-crop-images/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Object.extend is not a function</title>
		<link>http://www.classnotfoundexception.info/2008/04/24/objectextend-is-not-a-function/</link>
		<comments>http://www.classnotfoundexception.info/2008/04/24/objectextend-is-not-a-function/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 15:18:51 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Object extend is not a function]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2008/04/24/objectextend-is-not-a-function/</guid>
		<description><![CDATA[I currently encounter a javascript problem on IE&#8230;.saying &#8220;Object.extend is not a function&#8221; - which is used inside of the lightbox.js library. Firebug doesn&#8217;t moan as much - it just lists this error in the error console&#8230;..
Object.extend seems to be deprecated?
]]></description>
			<content:encoded><![CDATA[<p>I currently encounter a javascript problem on IE&#8230;.saying &#8220;Object.extend is not a function&#8221; - which is used inside of the lightbox.js library. Firebug doesn&#8217;t moan as much - it just lists this error in the error console&#8230;..</p>
<p>Object.extend seems to be deprecated?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2008/04/24/objectextend-is-not-a-function/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Images outside of DIV container (IE Bug)</title>
		<link>http://www.classnotfoundexception.info/2008/04/23/images-outside-of-div-container-ie-bug/</link>
		<comments>http://www.classnotfoundexception.info/2008/04/23/images-outside-of-div-container-ie-bug/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 15:34:47 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[ie]]></category>

		<category><![CDATA[images outside]]></category>

		<category><![CDATA[overflow]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2008/04/23/images-outside-of-div-container-ie-bug/</guid>
		<description><![CDATA[I have added a new category &#8220;CSS&#8221;.  Doing CSS that works on all browser is a real pain in the neck&#8230;especially finding workarounds to tell lousy Internet Explorer how to behave.
I have had the following problem - a simple div box with images inside:
&#60;div class=&#8221;outerBox&#8221;&#62;
&#60;div class=&#8221;someClass&#8221;&#62;&#60;img src=&#8221;&#8230;&#8221;/&#62;&#60;/div&#62;
&#60;div class=&#8221;someClass&#8221;&#62;&#60;img src=&#8221;&#8230;&#8221;/&#62;&#60;/div&#62;
&#60;div class=&#8221;someClass&#8221;&#62;&#60;img src=&#8221;&#8230;&#8221;/&#62;&#60;/div&#62;
&#60;/div&#62;
IE wouldn&#8217;t display the [...]]]></description>
			<content:encoded><![CDATA[<p>I have added a new category &#8220;CSS&#8221;.  Doing CSS that works on all browser is a real pain in the neck&#8230;especially finding workarounds to tell lousy Internet Explorer how to behave.</p>
<p>I have had the following problem - a simple div box with images inside:</p>
<p>&lt;div class=&#8221;outerBox&#8221;&gt;</p>
<p>&lt;div class=&#8221;someClass&#8221;&gt;&lt;img src=&#8221;&#8230;&#8221;/&gt;&lt;/div&gt;</p>
<p>&lt;div class=&#8221;someClass&#8221;&gt;&lt;img src=&#8221;&#8230;&#8221;/&gt;&lt;/div&gt;</p>
<p>&lt;div class=&#8221;someClass&#8221;&gt;&lt;img src=&#8221;&#8230;&#8221;/&gt;&lt;/div&gt;</p>
<p>&lt;/div&gt;</p>
<p>IE wouldn&#8217;t display the images inside of the DIV - instead they where hovering around below  the box.</p>
<p>The solution was: tell the parent outerBox CSS to overflow:auto;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2008/04/23/images-outside-of-div-container-ie-bug/feed/</wfw:commentRss>
		</item>
		<item>
		<title>com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception</title>
		<link>http://www.classnotfoundexception.info/2008/02/13/commysqljdbccommunicationsexception-communications-link-failure-due-to-underlying-exception/</link>
		<comments>http://www.classnotfoundexception.info/2008/02/13/commysqljdbccommunicationsexception-communications-link-failure-due-to-underlying-exception/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 17:04:54 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[com.mysql.jdbc.CommunicationsException]]></category>

		<category><![CDATA[Communications link failure]]></category>

		<category><![CDATA[connecting to mysql]]></category>

		<category><![CDATA[SocketException]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2008/02/13/commysqljdbccommunicationsexception-communications-link-failure-due-to-underlying-exception/</guid>
		<description><![CDATA[If you ever get this error:
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused: connect
Just  check your database configuration, e.g. in the case of mysql, enter the line:
skip-networking
in your my.cnf file
]]></description>
			<content:encoded><![CDATA[<p>If you ever get this error:</p>
<p><em>com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:</em></p>
<p><em>** BEGIN NESTED EXCEPTION **</em></p>
<p><em>java.net.SocketException<br />
MESSAGE: java.net.ConnectException: Connection refused: connect</em></p>
<p>Just  check your database configuration, e.g. in the case of mysql, enter the line:</p>
<p><strong>skip-networking</strong></p>
<p>in your my.cnf file</p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2008/02/13/commysqljdbccommunicationsexception-communications-link-failure-due-to-underlying-exception/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ProxyRequests not allowed here</title>
		<link>http://www.classnotfoundexception.info/2007/10/28/proxyrequests-not-allowed-here/</link>
		<comments>http://www.classnotfoundexception.info/2007/10/28/proxyrequests-not-allowed-here/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 19:13:52 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2007/10/28/proxyrequests-not-allowed-here/</guid>
		<description><![CDATA[Just encountered a problem trying to configure a Proxy redirect inside an .htaccess file:
ProxyRequests not allowed here
Not a single result on Google for this String.
Altavista had a single result in a language I don&#8217;t understand.
Metacrawler delivered also a result.
Yahoo had the same result as Altavista&#8230;.which redirected to Ebay 
]]></description>
			<content:encoded><![CDATA[<p>Just encountered a problem trying to configure a Proxy redirect inside an .htaccess file:</p>
<p><em>ProxyRequests not allowed here</em></p>
<p>Not a single result on Google for this String.</p>
<p>Altavista had a single result in a language I don&#8217;t understand.</p>
<p>Metacrawler delivered also a result.</p>
<p>Yahoo had the same result as Altavista&#8230;.which redirected to Ebay <img src='http://www.classnotfoundexception.info/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2007/10/28/proxyrequests-not-allowed-here/feed/</wfw:commentRss>
		</item>
		<item>
		<title>org.trails.exception.EmptyModelException Model does not exist</title>
		<link>http://www.classnotfoundexception.info/2007/10/26/orgtrailsexceptionemptymodelexception-model-does-not-exist/</link>
		<comments>http://www.classnotfoundexception.info/2007/10/26/orgtrailsexceptionemptymodelexception-model-does-not-exist/#comments</comments>
		<pubDate>Fri, 26 Oct 2007 15:02:23 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[Trails]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2007/10/26/orgtrailsexceptionemptymodelexception-model-does-not-exist/</guid>
		<description><![CDATA[And today&#8217;s error message of the day is:
org.trails.exception.EmptyModelException 		 		 		 			Model does not exist 
This error message occurs, while extending the HibernateEditPage.
 	   Model does not exist.  Well, this error message could also do with some more specific text&#8230;..
]]></description>
			<content:encoded><![CDATA[<p>And today&#8217;s error message of the day is:</p>
<p><em>org.trails.exception.EmptyModelException 		 		 		 			Model does not exist </em></p>
<p>This error message occurs, while extending the HibernateEditPage.</p>
<p><em> 	   Model does not exist.  </em>Well, this error message could also do with some more specific text&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2007/10/26/orgtrailsexceptionemptymodelexception-model-does-not-exist/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Unable to parse OGNL expression &#8217;selectedList&#8217;: selectedList</title>
		<link>http://www.classnotfoundexception.info/2007/10/25/unable-to-parse-ognl-expression-selectedlist-selectedlist/</link>
		<comments>http://www.classnotfoundexception.info/2007/10/25/unable-to-parse-ognl-expression-selectedlist-selectedlist/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 16:31:45 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[Trails]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2007/10/25/unable-to-parse-ognl-expression-selectedlist-selectedlist/</guid>
		<description><![CDATA[ 	   Unable to parse OGNL expression &#8217;selectedList&#8217;: selectedList
is the error message of the day - when using the Trails HibernateEditPage&#8230;..wonder what the reason turns out to be in the end&#8230;.
Ok - the solution 
Inside of of the Pojos, the Annotation @Entity was missing 
]]></description>
			<content:encoded><![CDATA[<p><em> 	   Unable to parse OGNL expression &#8217;selectedList&#8217;: selectedList</em></p>
<p>is the error message of the day - when using the Trails HibernateEditPage&#8230;..wonder what the reason turns out to be in the end&#8230;.</p>
<p><strong>Ok - the solution </strong></p>
<p>Inside of of the Pojos, the Annotation @Entity was missing <img src='http://www.classnotfoundexception.info/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2007/10/25/unable-to-parse-ognl-expression-selectedlist-selectedlist/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8230; implements ViewRequiresAssociation</title>
		<link>http://www.classnotfoundexception.info/2007/10/18/implements-viewrequiresassociation/</link>
		<comments>http://www.classnotfoundexception.info/2007/10/18/implements-viewrequiresassociation/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 15:19:30 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[Trails]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2007/10/18/implements-viewrequiresassociation/</guid>
		<description><![CDATA[Google is getting worse and worse&#8230;.or maybe there really is no piece of Java code that contains that ?
]]></description>
			<content:encoded><![CDATA[<p>Google is getting worse and worse&#8230;.or maybe there really is no piece of Java code that contains that ?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2007/10/18/implements-viewrequiresassociation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ViewRequiresAssociation, UpdateRequiresAssociation, RemoveRequiresAssociation in Trails</title>
		<link>http://www.classnotfoundexception.info/2007/10/18/viewrequiresassociation-updaterequiresassociation-removerequiresassociation-in-trails/</link>
		<comments>http://www.classnotfoundexception.info/2007/10/18/viewrequiresassociation-updaterequiresassociation-removerequiresassociation-in-trails/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 15:07:55 +0000</pubDate>
		<dc:creator>Java</dc:creator>
		
		<category><![CDATA[Trails]]></category>

		<guid isPermaLink="false">http://www.classnotfoundexception.info/2007/10/18/viewrequiresassociation-updaterequiresassociation-removerequiresassociation-in-trails/</guid>
		<description><![CDATA[This is to remind me to do a small example of ViewRequiresAssociation, UpdateRequiresAssociation, RemoveRequiresAssociation in Trails without having the error message that the Annotation is not allowed at this location&#8230;..
]]></description>
			<content:encoded><![CDATA[<p>This is to remind me to do a small example of ViewRequiresAssociation, UpdateRequiresAssociation, RemoveRequiresAssociation in Trails without having the error message that the Annotation is not allowed at this location&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.classnotfoundexception.info/2007/10/18/viewrequiresassociation-updaterequiresassociation-removerequiresassociation-in-trails/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
