<?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>Suneel Gundlapalli's blog</title>
	<atom:link href="http://suneelgv.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://suneelgv.wordpress.com</link>
	<description>My technorants</description>
	<lastBuildDate>Tue, 06 Dec 2011 17:38:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='suneelgv.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Suneel Gundlapalli's blog</title>
		<link>http://suneelgv.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://suneelgv.wordpress.com/osd.xml" title="Suneel Gundlapalli&#039;s blog" />
	<atom:link rel='hub' href='http://suneelgv.wordpress.com/?pushpress=hub'/>
		<item>
		<title>glassfish EMBEDDED Broker start failure:code = 1</title>
		<link>http://suneelgv.wordpress.com/2011/12/06/glassfish-embedded-broker-start-failurecode-1/</link>
		<comments>http://suneelgv.wordpress.com/2011/12/06/glassfish-embedded-broker-start-failurecode-1/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 17:36:42 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=344</guid>
		<description><![CDATA[You might get this error when you copy the glassfish directory to a different machine, or the existing machine gets a new IP address. The fix is to delete the file under \imq\instances\imqbroker\lock . More on this here:http://old.nabble.com/Glassfish-V2-failed-to-start,-broker%3Dembedded,-failure%3Acode-%3D-1-td17728741.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=344&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You might get this error when you copy the glassfish directory to a different machine, or the existing machine gets a new IP address. The fix is to delete the file under \imq\instances\imqbroker\lock . More on this here:<a href="http://old.nabble.com/Glassfish-V2-failed-to-start,-broker%3Dembedded,-failure%3Acode-%3D-1-td17728741.html">http://old.nabble.com/Glassfish-V2-failed-to-start,-broker%3Dembedded,-failure%3Acode-%3D-1-td17728741.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/344/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=344&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/12/06/glassfish-embedded-broker-start-failurecode-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>
	</item>
		<item>
		<title>ubuntu 11.04 &#8220;cannot display this video mode&#8221; error</title>
		<link>http://suneelgv.wordpress.com/2011/10/11/ubuntu-11-04-cannot-display-this-video-mode-error/</link>
		<comments>http://suneelgv.wordpress.com/2011/10/11/ubuntu-11-04-cannot-display-this-video-mode-error/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 19:24:46 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=338</guid>
		<description><![CDATA[I started getting this with my onboard Nvidia graphics adapter. I would get this message during bootup and during shutdown/restart. It went away after installing the &#8220;recommended/current version&#8221; Nvidia driver instead of the generic driver. Do not install version 173 as it had the same issue. The current version fixed the problem but introduced another [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=338&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I started getting this with my onboard Nvidia graphics adapter. I would get this message during bootup and during shutdown/restart. It went away after installing the &#8220;recommended/current version&#8221; Nvidia driver instead of the generic driver. Do not install version 173 as it had the same issue.</p>
<p>The current version fixed the problem but introduced another issue. Now all I see is just white screen on applications like Eclipse etc.</p>
<p>Then I tried uninstalling all the Nvidia drivers. Now I get the old UI instead of Unity. So I reinstalled version 173 and everything works fine now!!!!!!!!!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/338/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=338&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/10/11/ubuntu-11-04-cannot-display-this-video-mode-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>
	</item>
		<item>
		<title>removing timezone from webservice dates (XMLGregorianCalendar) for date of birth etc.</title>
		<link>http://suneelgv.wordpress.com/2011/08/09/removing-timezone-from-webservice-dates-xmlgregoriancalendar-for-date-of-birth-etc/</link>
		<comments>http://suneelgv.wordpress.com/2011/08/09/removing-timezone-from-webservice-dates-xmlgregoriancalendar-for-date-of-birth-etc/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 20:51:51 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=334</guid>
		<description><![CDATA[If you have webservice that recieves a XMLGregorianCalendar as a parameter, if you try to obtain date from it, you might see a difference of 1 day due to timezone differences. (i.e., xmlDate.toGregorianCalendar().getTime()) . The solution is to eliminate the timeZone from xmldate using the following: xmlDt.setTimezone( DatatypeConstants.FIELD_UNDEFINED ) &#160; More details on this here: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=334&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have webservice that recieves a XMLGregorianCalendar as a parameter, if you try to obtain date from it, you might see a difference of 1 day due to timezone differences. (i.e., xmlDate.toGregorianCalendar().getTime()) . The solution is to eliminate the timeZone from xmldate using the following:</p>
<p><code>xmlDt.setTimezone( DatatypeConstants.FIELD_UNDEFINED )</code></p>
<p>&nbsp;</p>
<p>More details on this here:</p>
<p><a href="http://knowhow.amazers.net/space/dev/java+tips/Hacks+around+XMLGregorianCalendar">http://knowhow.amazers.net/space/dev/java+tips/Hacks+around+XMLGregorianCalendar</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/334/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=334&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/08/09/removing-timezone-from-webservice-dates-xmlgregoriancalendar-for-date-of-birth-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>
	</item>
		<item>
		<title>Compling JSP using org.apache.jasper.JspC generated empty web.xml when run in eclipse 64bit</title>
		<link>http://suneelgv.wordpress.com/2011/07/29/compling-jsp-using-org-apache-jasper-jspc-generated-empty-web-xml-when-run-in-eclipse-64bit/</link>
		<comments>http://suneelgv.wordpress.com/2011/07/29/compling-jsp-using-org-apache-jasper-jspc-generated-empty-web-xml-when-run-in-eclipse-64bit/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 20:27:23 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=331</guid>
		<description><![CDATA[I was getting an empty web.xml when I tried to compile the JSPs using JspC shown above. I was running this using ant script and this ant script was run using eclipse. Turns out, eclipse was using a 64bit JDK but the ant script had a 32bit JDKs tools.jar in classpath. Making that point to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=331&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was getting an empty web.xml when I tried to compile the JSPs using JspC shown above. I was running this using ant script and this ant script was run using eclipse. Turns out, eclipse was using a 64bit JDK but the ant script had a 32bit JDKs tools.jar in classpath. Making that point to the 64bit jdk in the script solved the issue.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/331/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=331&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/07/29/compling-jsp-using-org-apache-jasper-jspc-generated-empty-web-xml-when-run-in-eclipse-64bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>
	</item>
		<item>
		<title>oracle sqldeveloper column ordering and hiding</title>
		<link>http://suneelgv.wordpress.com/2011/07/13/oracle-sqldeveloper-column-ordering-and-hiding/</link>
		<comments>http://suneelgv.wordpress.com/2011/07/13/oracle-sqldeveloper-column-ordering-and-hiding/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 20:34:53 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=318</guid>
		<description><![CDATA[You can right click on any column in data view or query result and reorder the columns. This is useful when you have a table with large number of columns and you are only interested in few columns like status etc. Sometimes you may not see this option when you right click. This is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=318&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can right click on any column in data view or query result and reorder the columns. This is useful when you have a table with large number of columns and you are only interested in few columns like status etc. Sometimes you may not see this option when you right click. This is a bug I noticed in 3.0.0.04. In such cases, just restart sqldeveloper.</p>
<p><a href="http://suneelgv.files.wordpress.com/2011/07/clipboard01.jpg"><img class="alignnone size-full wp-image-319" title="sqldeveloper column ordering 1" src="http://suneelgv.files.wordpress.com/2011/07/clipboard01.jpg?w=630" alt="" /></a></p>
<p><a href="http://suneelgv.files.wordpress.com/2011/07/clipboard02.jpg"><img class="alignnone size-full wp-image-320" title="sqldeveloper column ordering 2" src="http://suneelgv.files.wordpress.com/2011/07/clipboard02.jpg?w=630" alt="" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=318&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/07/13/oracle-sqldeveloper-column-ordering-and-hiding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>

		<media:content url="http://suneelgv.files.wordpress.com/2011/07/clipboard01.jpg" medium="image">
			<media:title type="html">sqldeveloper column ordering 1</media:title>
		</media:content>

		<media:content url="http://suneelgv.files.wordpress.com/2011/07/clipboard02.jpg" medium="image">
			<media:title type="html">sqldeveloper column ordering 2</media:title>
		</media:content>
	</item>
		<item>
		<title>Debugging &#8220;Hibernate bind parameters not getting logged&#8221;</title>
		<link>http://suneelgv.wordpress.com/2011/06/27/debugging-hibernate-bind-parameters-not-getting-logged/</link>
		<comments>http://suneelgv.wordpress.com/2011/06/27/debugging-hibernate-bind-parameters-not-getting-logged/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 17:47:52 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=313</guid>
		<description><![CDATA[I did set org.hibernate.type=trace. But it still didn&#8217;t print bind parameters. So decided to debug through the hibernate source code.  The code for logging the bind parameters exists in org.hibernate.type.NullableType.nullSafeSet(PreparedStatement, Object, int). Found that it is infact logging the bind parameters. But I still don&#8217;t see those in the log file or the console. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=313&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I did set org.hibernate.type=trace. But it still didn&#8217;t print bind parameters. So decided to debug through the hibernate source code.  The code for logging the bind parameters exists in org.hibernate.type.NullableType.nullSafeSet(PreparedStatement, Object, int). Found that it is infact logging the bind parameters. But I still don&#8217;t see those in the log file or the console. I might have to dig deeper into the org.slf4j.Logger.trace method.</p>
<p>The issue turned out to be with the appender and the appender threshold. We have 3 appenders in our log4j configuration and we were using only one of the the 3 for the category &#8220;org.hibernate.type&#8221;. And this appender had threshold set WARN, as a result it kept supressing all the &#8220;trace&#8221; logs. Another thing you need to be careful about this is that you need to initialize log4j before calling hibernate API. This is because hibernate determines the log level at class load time using the following statement:<br />
private static final boolean IS_VALUE_TRACING_ENABLED = LoggerFactory.getLogger( StringHelper.qualifier( Type.class.getName() ) ).isTraceEnabled();</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=313&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/06/27/debugging-hibernate-bind-parameters-not-getting-logged/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>
	</item>
		<item>
		<title>Marking cookie as HTTPOnly in J2EE 5</title>
		<link>http://suneelgv.wordpress.com/2011/05/19/marking-cookie-as-http-only-in-j2ee-2-5/</link>
		<comments>http://suneelgv.wordpress.com/2011/05/19/marking-cookie-as-http-only-in-j2ee-2-5/#comments</comments>
		<pubDate>Thu, 19 May 2011 20:54:19 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=303</guid>
		<description><![CDATA[The Cookie API in J2EE 2.5 doesn&#8217;t have a &#8216;setHttpOnly&#8217; method. So I had to resort to a work around to achieve this. Instead of doing a response.addCookie, I had to write a custom method that writes the &#8220;Set-Cookie&#8221; header and use StringBuilder to construct the header value.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=303&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Cookie API in J2EE 2.5 doesn&#8217;t have a &#8216;setHttpOnly&#8217; method. So I had to resort to a work around to achieve this. Instead of doing a response.addCookie, I had to write a custom method that writes the &#8220;Set-Cookie&#8221; header and use StringBuilder to construct the header value.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=303&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/05/19/marking-cookie-as-http-only-in-j2ee-2-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>
	</item>
		<item>
		<title>Connecting a Windows 7 machine to Windows 2000 server domain controller</title>
		<link>http://suneelgv.wordpress.com/2011/04/24/connecting-a-windows-7-machine-to-windows-2000-server-domain-controller/</link>
		<comments>http://suneelgv.wordpress.com/2011/04/24/connecting-a-windows-7-machine-to-windows-2000-server-domain-controller/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 07:33:46 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=299</guid>
		<description><![CDATA[You cannot connect unless the Windows 2000 machine has service pack 4. So install that from Microsoft. Then make the NTLM changes suggested here: http://ykyuen.wordpress.com/2009/09/04/windows-7-cannot-connect-to-newtork-drive/ You might then get the DNS error. The fix is here (changing the DNS server on Win 7 point to Server ip): http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/cannot-add-windows-7-pc-to-domain-get-the/f6b8bc13-18b6-4a67-afa5-755d98a51776<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=299&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You cannot connect unless the Windows 2000 machine has service pack 4. So install that from Microsoft. Then make the NTLM changes suggested here:</p>
<p>http://ykyuen.wordpress.com/2009/09/04/windows-7-cannot-connect-to-newtork-drive/</p>
<p>You might then get the DNS error. The fix is here (changing the DNS server on Win 7 point to Server ip):</p>
<p>http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/cannot-add-windows-7-pc-to-domain-get-the/f6b8bc13-18b6-4a67-afa5-755d98a51776</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=299&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/04/24/connecting-a-windows-7-machine-to-windows-2000-server-domain-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>
	</item>
		<item>
		<title>Hiberate and JDBC in same transaction &#8211; Flush is a must if JDBC code depends on changes made by Hibernate</title>
		<link>http://suneelgv.wordpress.com/2011/04/01/hiberate-and-jdbc-in-same-transaction-flush-is-a-must-if-jdbc-code-depends-on-changes-made-by-hibernate/</link>
		<comments>http://suneelgv.wordpress.com/2011/04/01/hiberate-and-jdbc-in-same-transaction-flush-is-a-must-if-jdbc-code-depends-on-changes-made-by-hibernate/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 17:36:35 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=296</guid>
		<description><![CDATA[Hibernate may not issue queries or inserts to the database until the transaction is closed. So any change made to DB using Hibernate is only visble to Hibernate API. So if you have a JDBC code that executes after some Hibernate modifications, that JDBC code won&#8217;t see the change (like if JDBC code is accessing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=296&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hibernate may not issue queries or inserts to the database until the transaction is closed. So any change made to DB using Hibernate is only visble to Hibernate API. So if you have a JDBC code that executes after some Hibernate modifications, that JDBC code won&#8217;t see the change (like if JDBC code is accessing the same record hibernate modified, as in a legacy code) unless you issue a flush in Hibernate.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/296/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=296&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/04/01/hiberate-and-jdbc-in-same-transaction-flush-is-a-must-if-jdbc-code-depends-on-changes-made-by-hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>
	</item>
		<item>
		<title>OutOfMemory &#8211; GC OverHead exceeded &#8211; Not closing prepared statements &#8211; JDBC with Oracle 11g</title>
		<link>http://suneelgv.wordpress.com/2011/04/01/outofmemory-gc-overhead-exceeded-not-closing-prepared-statements-jdbc-with-oracle-11g/</link>
		<comments>http://suneelgv.wordpress.com/2011/04/01/outofmemory-gc-overhead-exceeded-not-closing-prepared-statements-jdbc-with-oracle-11g/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 17:13:05 +0000</pubDate>
		<dc:creator>suneel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://suneelgv.wordpress.com/?p=293</guid>
		<description><![CDATA[I wrote a unit test using Spring and for datasource, I used org.springframework.jdbc.datasource.SingleConnectionDataSource. This unit test was calling a legacy code in loop for 5000 times. After 3000 iterations, it was throwing a OutOfMemory (OOM) error. After further research, it turned out to be an issue with legacy code that this unit test was calling [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=293&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wrote a unit test using Spring and for datasource, I used org.springframework.jdbc.datasource.SingleConnectionDataSource. This unit test was calling a legacy code in loop for 5000 times. After 3000 iterations, it was throwing a OutOfMemory (OOM) error. After further research, it turned out to be an issue with legacy code that this unit test was calling that didn&#8217;t close prepared statements. And since this is a &#8216;single connection&#8217; datasource, I never got the &#8216;connections exhausted&#8217; error. Looks like when ever you call a connection.prepareStatement, the connection object created a few objects and stored them in. As a result, the connection object grew in size and eventually we got the OOM error. Closing the prepared statement fixed the issue.</p>
<p>Before this incident, I didn&#8217;t think we could have memory leaks if a statement is not closed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suneelgv.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suneelgv.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suneelgv.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suneelgv.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/suneelgv.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/suneelgv.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/suneelgv.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/suneelgv.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suneelgv.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suneelgv.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suneelgv.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suneelgv.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suneelgv.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suneelgv.wordpress.com/293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=suneelgv.wordpress.com&amp;blog=4834542&amp;post=293&amp;subd=suneelgv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://suneelgv.wordpress.com/2011/04/01/outofmemory-gc-overhead-exceeded-not-closing-prepared-statements-jdbc-with-oracle-11g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/52b7345641fd3ef31904c68b84dc7ee1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">the kid</media:title>
		</media:content>
	</item>
	</channel>
</rss>
