<?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>Jayeshpowar's Weblog</title>
	<atom:link href="http://jayeshpowar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jayeshpowar.wordpress.com</link>
	<description>Technical side of me....</description>
	<lastBuildDate>Wed, 26 Jan 2011 09:44:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jayeshpowar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Jayeshpowar's Weblog</title>
		<link>http://jayeshpowar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jayeshpowar.wordpress.com/osd.xml" title="Jayeshpowar&#039;s Weblog" />
	<atom:link rel='hub' href='http://jayeshpowar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Suse 11.3 and you must load kernel first &#8230;</title>
		<link>http://jayeshpowar.wordpress.com/2011/01/26/suse-11-3-and-you-must-load-kernel-first/</link>
		<comments>http://jayeshpowar.wordpress.com/2011/01/26/suse-11-3-and-you-must-load-kernel-first/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 09:43:12 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[Open Suse update issues]]></category>
		<category><![CDATA[OpenSuse 11.3]]></category>
		<category><![CDATA[Ubuntu Bootloader issues]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=92</guid>
		<description><![CDATA[Recently i had a strange experience updating my OS to Open Suse 11.3 .  I have system with Ubuntu and Suse 11.2 . Since Suse 11.3 was available i decided to update my Suse OS . The update went fine and the first time after the update my system rebooted properly to Suse 11.3. However [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=92&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently i had a strange experience updating my OS to Open Suse 11.3 .  I have system with Ubuntu and Suse 11.2 . Since Suse 11.3 was available i decided to update my Suse OS . The update went fine and the first time after the update my system rebooted properly to Suse 11.3. However after a couple of hours when i rebooted my system and chose Open suse ( 11.2 since it didn&#8217;t show 11.3 ) from the boot menu  and to my horror an error showed up &#8220;you must load kernel first&#8230;&#8221; .It was sort of a heart break for me since i had spent so much time in updation . After some hours of reinstalling and  other changes i kept on getting the same problem . Disappointed i logged into Ubuntu to do some other work , as i booted in and was going from the programs menu  one thing suddenly flashed in front of my eyes &#8220;Bootloader&#8221; . I immediately did &#8220;sudo update-grub&#8221; at the terminal , rebooted my system ,selected Suse from boot menu and viola  &#8230; i successfully logged into Open Suse 11.3 .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=92&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2011/01/26/suse-11-3-and-you-must-load-kernel-first/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>
	</item>
		<item>
		<title>Watching TV under ubuntu</title>
		<link>http://jayeshpowar.wordpress.com/2010/11/22/watching-tv-under-ubuntu/</link>
		<comments>http://jayeshpowar.wordpress.com/2010/11/22/watching-tv-under-ubuntu/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 20:50:28 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[composite video under linux]]></category>
		<category><![CDATA[TV under linux]]></category>
		<category><![CDATA[VLC as PVR]]></category>
		<category><![CDATA[Watching tv under linux]]></category>
		<category><![CDATA[Win tv pvr under linux]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=85</guid>
		<description><![CDATA[I had purchased a Hauppauge win tv pvr 150 tv tuner card last 6 months ago . The card was bundled with hauppage wintv application which ran fine on windows .However i use ubuntu and didn&#8217;t wanted to switch over to windows just for watching tv .I tried configuring myth tv for the card but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=85&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had purchased a Hauppauge win tv pvr 150 tv tuner card last 6 months ago . The card was bundled with hauppage wintv application which ran fine on windows .However i use ubuntu and didn&#8217;t wanted to switch over to windows just for watching tv .I tried configuring myth tv for the card but it was a real pain and didn&#8217;t work . I was losing hope on watching tv on ubuntu when i met a thread over web which mentioned the capabilities of vlc . I did some searching over the net and figured out a way to watch my tv (using composite 1 ) input over ubuntu ,the trick was obviously using VLC . Here is the quick and dirty summary of what i did .</p>
<p>sudo apt-get install ivtv-utils<br />
sudo v4l2-ctl -d /dev/video0 -i 2</p>
<p>Opened VLC  , Media-&gt; opened capture device-&gt;capture mode PVR and click play (with norm as pal for me ).</p>
<p>Immediately my output started displaying on the VLC screen . Initially there was some flicker on the video displayed , but once i installed the latest nvidia drivers using following commands the flicker disappeared and a clear video was displayed .</p>
<p>sudo add-apt-repository ppa:ubuntu-x-swat/x-updates<br />
sudo apt-get update<br />
sudo apt-get install nvidia-current nvidia-settings</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=85&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2010/11/22/watching-tv-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>
	</item>
		<item>
		<title>MSXML 6 issues in MSSQL server installations</title>
		<link>http://jayeshpowar.wordpress.com/2010/06/09/msxml-6-issues-in-mssql-server-installations/</link>
		<comments>http://jayeshpowar.wordpress.com/2010/06/09/msxml-6-issues-in-mssql-server-installations/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 07:39:28 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[MXML issues in mysql installation]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=82</guid>
		<description><![CDATA[Most often while installing some Microsoft products (or even some other products ) you might encounter errors related to MSXML . Morever installing the latest MSXML 6 installer again from the site doesn&#8217;t work often ,  in such a scenario even the add remove program menu also shows error in uninstalling the faulty component .Recently [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=82&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Most often while installing some Microsoft products (or even some other products ) you might encounter errors related to MSXML . Morever installing the latest MSXML 6 installer again from the site doesn&#8217;t work often ,  in such a scenario even the add remove program menu also shows error in uninstalling the faulty component .Recently i had the fortune of encountering such an error and after hours of searching i found a valid feasible solution in form of a microsoft utility used for install clean ups .</p>
<p>In case of MSSQL server you need to uninstall  MSXML6  components by using Windows Install Cleanup Utility  which  can be downloaded from <a href="http://download.microsoft.com/download/e/9/d/e9d80355-7ab4-45b8-80e8-983a48d5e1bd/msicuu2.exe">http://download.microsoft.com/download/e/9/d/e9d80355-7ab4-45b8-80e8-983a48d5e1bd/msicuu2.exe</a>.</p>
<p>After the un installation of the component , you can download the latest MSXML SP from the download site , install it and then proceed with your installation of MSSQL server .The installation goes on smoothly  .</p>
<p>Even tough the post is mostly oriented towards MSXML and MSSQL server , I have tried this scenarios with most of the IBM applications which tend to render a further re-installations of the same application to fail .The cleanup utility helps in removing most of the erroneous components from the system which often fail from the &#8220;Add-Remove &#8220;program menu</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=82&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2010/06/09/msxml-6-issues-in-mssql-server-installations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple Spring MVC application</title>
		<link>http://jayeshpowar.wordpress.com/2010/06/07/simple-spring-mvc-application/</link>
		<comments>http://jayeshpowar.wordpress.com/2010/06/07/simple-spring-mvc-application/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 19:09:24 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[Spring Explorations]]></category>
		<category><![CDATA[Spring MVC]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=68</guid>
		<description><![CDATA[I was hearing about Spring MVC application since quite a time time now , recently i  had the fortune to have a go at it .At first what looked too be a too horrendous application resolved into one of the simplest app that i have coded in recent times .The files involved for getting a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=68&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was hearing about Spring MVC application since quite a time time now , recently i  had the fortune to have a go at it .At first what looked too be a too horrendous application resolved into one of the simplest app that i have coded in recent times .The files involved for getting a bare bone MVC application working are as follows :</p>
<ul>
<li> web.xml</li>
<li>dispatcher-servlet.xml</li>
<li>HelloController.java(controller)</li>
<li>index.jsp,mypage.jsp</li>
<li>Library files as usual</li>
</ul>
<p>Lets start with each component step by step :</p>
<p><strong>1.web.xml</strong><br />
This file contains the as usual the servlet stuff and the mapping stuff required for forwarding to any particular servlet .The intercept in the web.xml file for my app  is as follows :</p>
<blockquote><p>&lt;servlet&gt;<br />
&lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;<br />
&lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;<br />
&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;<br />
&lt;/servlet&gt;</p>
<p>&lt;servlet-mapping&gt;<br />
&lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;<br />
&lt;url-pattern&gt;*.htm&lt;/url-pattern&gt;<br />
&lt;/servlet-mapping&gt;</p>
<p>&lt;welcome-file-list&gt;<br />
&lt;welcome-file&gt;<br />
/WEB-INF/pages/index.jsp<br />
&lt;/welcome-file&gt;<br />
&lt;/welcome-file-list&gt;</p></blockquote>
<p>Well this file explains itself and states necessity of the .htm extension for forwarding to the servlet .</p>
<p><strong>2.dispatcher-servlet.xml</strong><br />
Spring  by default looks for this file under the WEB-INF directory , so  this lies in parallel to the web.xml file . This file contains the controller names to which any particular request would be mapped based upon the url .This file also lists the view resolvers which are helpful in mapping and forwarding the views from the controller .The main intercept of a basic dispatcher-servlet.xml file is as follows :</p>
<blockquote><p>&lt;bean id=&#8221;viewResolver&#8221;&gt;<br />
&lt;property name=&#8221;prefix&#8221;&gt;<br />
&lt;value&gt;/WEB-INF/pages/&lt;/value&gt;<br />
&lt;/property&gt;</p>
<p>&lt;property name=&#8221;suffix&#8221;&gt;<br />
&lt;value&gt;.jsp&lt;/value&gt;<br />
&lt;/property&gt;<br />
&lt;/bean&gt;<br />
&lt;bean name=&#8221;/normal.htm&#8221;/&gt;</p></blockquote>
<p><strong>3.HelloController.java(controller)</strong></p>
<p>This is the main part of the application , this is where your java code exist .Controller performs the  business logic (if any or delegates it further) and forward to a view (ideally ViewResolver which further renders view).The intercept for a bare bone controller is as follows :</p>
<blockquote><p>package com.mvcapp.controller;<br />
import javax.servlet.http.HttpServletRequest;<br />
import javax.servlet.http.HttpServletResponse;<br />
import org.springframework.web.servlet.ModelAndView;<br />
import org.springframework.web.servlet.mvc.AbstractController;</p>
<p>public class HelloController extends AbstractController {<br />
private String message;</p>
<p>@Override<br />
protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws                                                     Exception {<br />
Thread.sleep(500);<br />
return new ModelAndView(&#8220;mypage&#8221;,&#8221;mymessage&#8221;, message);<br />
}</p>
<p>public void setMessage(String message) {<br />
this.message=message;<br />
}</p>
<p>}</p></blockquote>
<p>In this file the final return statement hints toward the view that we intend to render . The first parameter &#8220;mypage&#8221; is the view name and the ViewResolver would resolve it to &#8220;/WEB-INF/pages/mypage.jsp&#8221; with help of the definition in the in the dispatcher-servlet.xml file .The second parameter &#8220;mymessge&#8221; is the view parameter and   can be accessed on the view .</p>
<p><strong>4. index.jsp,mypage.jsp</strong></p>
<p>These are the jsp&#8217;s that i have used for the demonstation purposes . mypage.jsp is the final jsp that you are rendering through your controller , while index.jsp is the jsp file use for redirecting to your controller url .The intercept for the index.jsp file is as follows :</p>
<blockquote><p>&lt;a href=&#8221;normal.htm&#8221;&gt;Click here for normal dispatcher&lt;/a&gt;&lt;br/&gt;</p></blockquote>
<p>The pages of course need to be placed under &#8220;WEB-INF/pages&#8221; directory .</p>
<p><strong>5. Library files</strong><br />
I m not too sure about the exact library files required , but the ones that i required are as follows :</p>
<ol>
<li> spring.jar</li>
<li>spring-webmvc.jar</li>
<li>spring-web.jar</li>
<li>spring-core.jar</li>
<li>spring-context.jar</li>
<li>spring-context-support.jar</li>
<li>spring-beans.jar</li>
<li>spring-aop.jar</li>
<li>commons-logging-1.1.jar</li>
</ol>
<p>This is the minimum that you are required to have to get your spring MVC app working (you could have also used annotations , but this did the trick for me ) .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=68&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2010/06/07/simple-spring-mvc-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>
	</item>
		<item>
		<title>Minimal MySQL master-slave replication</title>
		<link>http://jayeshpowar.wordpress.com/2010/02/25/minimal-mysql-master-slave-replication/</link>
		<comments>http://jayeshpowar.wordpress.com/2010/02/25/minimal-mysql-master-slave-replication/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 22:11:30 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[database replication]]></category>
		<category><![CDATA[minimal MySQL database replication]]></category>
		<category><![CDATA[MySQL master-slave replication]]></category>
		<category><![CDATA[MySQL replication]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=54</guid>
		<description><![CDATA[Today i was a bit interested in some mysql configurations when i stumbled across the mysql replication docs on MySQL . The docs seem to be interesting , so instantly i decided to give it a try . I went through the docs entirely and at the end found myself overly confused about the minimum [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=54&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today i was a bit interested in some mysql configurations when i stumbled across the mysql replication docs on MySQL . The docs seem to be interesting , so instantly i decided to give it a try . I went through the docs entirely and at the end found myself overly confused about the minimum changes  required  .After a couple of hours of my head storming with the configurations i found the minimum changes required for the replication .Here are the steps to do a minimal master slave replication for a MySQL server .</p>
<p>The mysql installation used for this article is mysql no install binary installation .The detailed steps for the replication are as follows :</p>
<p>1.Download the binary distribution for the mysql .<br />
2.Extract the downloaded mysql binary zip files twice to two folders namely the &#8220;master&#8221; and &#8220;slave&#8221;.<br />
3.Make a copy of &#8220;my-huge.ini&#8221; in the two folders and rename it as &#8220;my.ini&#8221;.<br />
4.Make the configurations to the &#8220;my.ini&#8221; files in the master and slave folder as follows :</p>
<p><strong>Section required in master my.ini</strong><br />
<code><br />
port=5000<br />
log-error = c:/newmylog/mysql.err<br />
log-bin = c:/newmylog/mysql-bin<br />
</code></p>
<p><strong>Section required in slave my.ini</strong><br />
<code><br />
#log-bin=mysql-bin<br />
server-id = 2<br />
log-error = c:/newmylog/mysql.err<br />
</code></p>
<p><strong>Execute the following code on the master server :</strong><br />
<code><br />
mysql -uroot<br />
mysql&gt;grant replication slave on *.* to slaveuser@'localhost' identified by 'secret';<br />
mysql&gt;\q</p>
<p>mysqldump -u root --all-databases --single-transaction --master-data=1 &gt; masterdump.sql</p>
<p></code></p>
<p><strong>Execute the following code on the slave server :</strong><br />
<code></p>
<p>mysql -uroot &lt; masterdump.sql<br />
mysql -uroot<br />
mysql&gt; CHANGE MASTER TO MASTER_HOST='localhost',MASTER_PORT=5000, MASTER_USER='slaveuser', MASTER_PASSWORD='secret';</p>
<p>mysql&gt;start slave;<br />
mysql&gt;show slave status\G<br />
mysql&gt;\q</p>
<p></code></p>
<p>After the last command on the slave for the status  we get an output as shown below :<br />
<div id="attachment_55" class="wp-caption aligncenter" style="width: 289px"><a href="http://jayeshpowar.files.wordpress.com/2010/02/commandoutput.png"><img src="http://jayeshpowar.files.wordpress.com/2010/02/commandoutput.png?w=279&#038;h=300" alt="Output for the slave status command" title="commandoutput" width="279" height="300" class="size-medium wp-image-55" /></a><p class="wp-caption-text">slave status command output </p></div></p>
<p>With no error displayed on the slave status you can see that any changes made on the master server databases are reflected on the slave immediately .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=54&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2010/02/25/minimal-mysql-master-slave-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>

		<media:content url="http://jayeshpowar.files.wordpress.com/2010/02/commandoutput.png?w=279" medium="image">
			<media:title type="html">commandoutput</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple MySQL binary installation</title>
		<link>http://jayeshpowar.wordpress.com/2010/02/05/simple-mysql-binary-installation/</link>
		<comments>http://jayeshpowar.wordpress.com/2010/02/05/simple-mysql-binary-installation/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 11:32:31 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Mysql binary installation]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=47</guid>
		<description><![CDATA[Today i was stuck around for sometime having default MYSQL installation to work on one of my linux boxes . Tried installing it using Yum but for some reason it didn&#8217;t start at all . As i was having an urgent need for the database for some time i decided to dig up around with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=47&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today i was stuck around for sometime having default MYSQL installation to work on one of my linux boxes . Tried installing it using Yum but for some reason it didn&#8217;t start at all . As i was having an urgent need for the database for some time i decided to dig up around with Mysql binary distribution .I tried a few combinations to get it work the steps that i used for the installation are as listed below :<br />
<code></p>
<p>wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.41-linux-i686-glibc23.tar.gz/from/http://ftp.jaist.ac.jp/pub/mysql/</p>
<p>gunzip mysql-5.1.41-linux-i686-glibc23.tar.gz</p>
<p>tar -xvf mysql-5.1.41-linux-i686-glibc23.tar</p>
<p>mv mysql-5.1.41-linux-i686-glibc23 mysql</p>
<p>cd mysql</p>
<p>./scripts/mysql_install_db --user=root</p>
<p>./bin/mysqld_safe --user=root &amp;</p>
<p>./bin/mysqladmin -u root  password 'mypassword'</p>
<p></code><br />
In case you want to keep this installation for a bit longer , you can add the mysql installation bin directory to the &#8220;PATH&#8221; environment variable.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=47&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2010/02/05/simple-mysql-binary-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>
	</item>
		<item>
		<title>RT61pci driver configurations on Open Suse11.2</title>
		<link>http://jayeshpowar.wordpress.com/2009/11/17/rt61pci-driver-configurations-on-open-suse11-2/</link>
		<comments>http://jayeshpowar.wordpress.com/2009/11/17/rt61pci-driver-configurations-on-open-suse11-2/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 10:44:59 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[Dlink open suse 11.2]]></category>
		<category><![CDATA[DLinkGW510]]></category>
		<category><![CDATA[open suse 11.2 rt61pci]]></category>
		<category><![CDATA[Rt61pci]]></category>
		<category><![CDATA[rt61pci opensuse]]></category>
		<category><![CDATA[rt61pci wireless]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=37</guid>
		<description><![CDATA[I have an AMD 64 bit machine with Dlink GW510 wlan card . The default driver on open suse for it is &#8220;rt61pci&#8221; .The default drivers doesn&#8217;t work with my wireless card . So i decided to configure it , but no matter how i do configurations the wifi didn&#8217;t work . So i decided [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=37&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have an AMD 64 bit machine with Dlink GW510 wlan card . The default driver on open suse for it is &#8220;rt61pci&#8221; .The default drivers doesn&#8217;t work with my wireless card . So i decided to configure it , but no matter how i do configurations the wifi didn&#8217;t work . So i decided to opt for the &#8220;madwifii&#8221;  based drivers .However madwifii based drivers are to be built on the system itself , and on my system the &#8220;make&#8221; failed to build the driver .Ultimately my last option was to turn to the ol Ndiswrapper .I installed the &#8220;Ndiswrapper&#8221; from the package manger in Suse .I Downloaded the 32 bit driver and extracted the driver file .Then installed the drivers as given below :</p>
<p>1. ndiswrapper -i path/to/NetRt61G.INF<br />
console output :- installing netrt61g</p>
<p>2. ndiswrapper -l<br />
console output :- Installed ndis drivers:<br />
netrt61g</p>
<p>3.modprobe ndiswrapper<br />
console output :- ndiswrapper version 1.55+CVS loaded</p>
<p>4.ndiswrapper -m</p>
<p>The driver didn&#8217;t work and no wifi .So i decided to try with a 64 bit driver and it did the trick for me .<br />
Then i configured the network card using following steps :<br />
1.Browse to &#8220;nework settings&#8221; from YAST .<br />
2. Enter &#8220;Wireless&#8221; as device type in the configuration section .<br />
3.Kept the default configuration name as it is .<br />
4.Kept the default hadware config name .<br />
5.Enter &#8220;ndiswrapper&#8221; in the field Module name.<br />
6.Browse to next step by pressing the button &#8220;Wireless settings&#8221;.<br />
7.Operating mode is kept as &#8220;managed &#8220;.<br />
8.Added the network name used by the access point in the field Network Name (ESSID).<br />
9.Kept the encryption settings as WEP-Shared and added a hexadecimal key .<br />
10.Rebooted the system .</p>
<p>And after reboot my wifi was up and running .</p>
<p>The 64 bit driver for Dlink GW510 can be found at <a href="ftp://files.dlink.com.au/products/DWL-G510/REV_C/Drivers/DWL-G510_XP64bit_Vista64bit_Driver_v2.1.2.0.zip">DWL-G510_XP64bit_Vista64bit_Driver_v2.1.2.0.zip </a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=37&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2009/11/17/rt61pci-driver-configurations-on-open-suse11-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>
	</item>
		<item>
		<title>exec: 48: ./catalina.sh: Permission denied</title>
		<link>http://jayeshpowar.wordpress.com/2009/06/16/exec-48-catalina-sh-permission-denied/</link>
		<comments>http://jayeshpowar.wordpress.com/2009/06/16/exec-48-catalina-sh-permission-denied/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 21:24:14 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=26</guid>
		<description><![CDATA[Today as i was deploying a simple tomcat application on EC2 i encountered a strange problem . I copied my war to the webapps folder and tried to start the server using the standard ./startup.sh from the command line . To my surprise i got this error &#8221; exec: 48: ./catalina.sh: Permission denied&#8221; i checked [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=26&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today as i was deploying a simple tomcat application on EC2 i encountered a strange problem . I copied my war to the webapps folder and tried to start the server using the standard ./startup.sh from the command line . To my surprise i got this error<br />
&#8221; exec: 48: ./catalina.sh: Permission denied&#8221; i checked the permission on the script files present in my bin directory and all of them reflected the flags indicating that the execution of catalina.sh file is permissible . I tried using the root privileges just to check the permissions but the problem still persisted . I tried googling it  but mostly as expected i got replies doing a &#8220;chmod&#8221; on the script files .After a few hours for the sake of doing and in a state of desperation i did the &#8220;chmod a+x *.sh &#8220;on script files in the bin directory . As expected the permission flags still reflected the same state as  they were earlier , but to my surprise the server started and deployed the application correctly.<br />
(Still wondering whether i am becoming a zombie or what due to such type of unbelievable experiences that i am getting these days ).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=26&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2009/06/16/exec-48-catalina-sh-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>
	</item>
		<item>
		<title>Kubuntu Jaunty and Knetworkmanager Problems</title>
		<link>http://jayeshpowar.wordpress.com/2009/06/05/kubuntu-jaunty-and-knetworkmanager-problems/</link>
		<comments>http://jayeshpowar.wordpress.com/2009/06/05/kubuntu-jaunty-and-knetworkmanager-problems/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 05:55:16 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[knetwork manager]]></category>
		<category><![CDATA[kubuntu jaunty problems]]></category>
		<category><![CDATA[wicd]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=24</guid>
		<description><![CDATA[Day before yesterday i updated my Laptop OS from Kubuntu Interpid version to Jaunty version . The new OS version had a new Knetworkmanager version installed .My earlier Knetworkmanager worked fine for me , but after the update the network manager gave me tremendous problems with frequent dis-connectivity and password popups .The remedy for this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=24&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Day before yesterday i updated my Laptop OS from Kubuntu Interpid version to Jaunty version . The new OS version had a new Knetworkmanager version installed .My earlier Knetworkmanager worked fine for me , but after the update the network manager gave me tremendous problems with frequent dis-connectivity and password popups .The remedy for this solution was to get &#8220;wicd&#8221; installed on my system.Wicd removed the buggy Knetworkmanager and  works as breeze with my office and home wifi network.All i did to solve my issues was to use couple of commands :</p>
<p>1. sudo apt-get install wicd<br />
2.wicd-client</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=24&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2009/06/05/kubuntu-jaunty-and-knetworkmanager-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>
	</item>
		<item>
		<title>LazyInitialization Exception</title>
		<link>http://jayeshpowar.wordpress.com/2009/06/03/lazyinitialization-exception/</link>
		<comments>http://jayeshpowar.wordpress.com/2009/06/03/lazyinitialization-exception/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 22:43:04 +0000</pubDate>
		<dc:creator>jayeshpowar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hibernate exceptions]]></category>
		<category><![CDATA[LazyInitializationException]]></category>
		<category><![CDATA[OpenSessionInView filter]]></category>

		<guid isPermaLink="false">http://jayeshpowar.wordpress.com/?p=21</guid>
		<description><![CDATA[How to apply an open session in view filter to overcome "LazyInitialization " exception in your web application.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=21&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Few days back i was creating a sample project for sake of my own prcticising .I was using spring struts 2 and hibernate 3 in it . At certain point while loading a collection i encountered an exception viz. &#8220;<em>LazyInitializationException</em>: <em>illegal access to loading collection&#8221;. It wasn&#8217;t the first time i had seen this , but it forced me to write this post due to its common occurence in the day to day projects . </em></p>
<p><em>This exception is caused when an object from the database is detached and a collection from the object (which is supposed to be lazily loaded ) is accessed . Due to the closing of the session this exception is thrown . </em></p>
<p><em>To overcome this exception either we can use an Open Session in View interceptor or my personal favourite a servlet filter .The configuration required for the filter is a simple one and involves addition of following snippet in web.xml file </em></p>
<div><code>&lt;filter&gt;<br />
        &lt;filter-name&gt;hibernateFilter&lt;/filter-name&gt;<br />
        &lt;filter-class&gt;            org.springframework.orm.hibernate3.support.OpenSessionInViewFilter<br />
        &lt;/filter-class&gt;<br />
    &lt;/filter&gt;<br />
    &lt;filter-mapping&gt;<br />
        &lt;filter-name&gt;hibernateFilter&lt;/filter-name&gt;<br />
        &lt;url-pattern&gt;/*&lt;/url-pattern&gt;<br />
        &lt;dispatcher&gt;REQUEST&lt;/dispatcher&gt;<br />
        &lt;dispatcher&gt;FORWARD&lt;/dispatcher&gt;<br />
        &lt;dispatcher&gt;ERROR&lt;/dispatcher&gt;<br />
    &lt;/filter-mapping&gt;</code></div>
<p>That&#8217;s it , the exception goes away with such a small addition . However an interesting point to note was the place of application of filter . If i applied the filter after the struts 2 filter ,the filter didn&#8217;t seem to work.But if its before the struts 2 filter ,then everything works as breeze</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jayeshpowar.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jayeshpowar.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jayeshpowar.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jayeshpowar.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jayeshpowar.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jayeshpowar.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jayeshpowar.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jayeshpowar.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jayeshpowar.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jayeshpowar.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jayeshpowar.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jayeshpowar.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jayeshpowar.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jayeshpowar.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jayeshpowar.wordpress.com&amp;blog=3393860&amp;post=21&amp;subd=jayeshpowar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jayeshpowar.wordpress.com/2009/06/03/lazyinitialization-exception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f7fdf0cae95fab49bd9fd767a9b6fc1e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jayeshpowar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
