<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Krishna's page</title><link>http://www.krishnababug.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/KrishnasPage" /><description>One blog...Mavin solutions</description><language>en</language><managingEditor>noreply@blogger.com (Krishna)</managingEditor><lastBuildDate>Thu, 26 Jan 2012 21:55:33 PST</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">260</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><feedburner:info uri="krishnaspage" /><thespringbox:skin xmlns:thespringbox="http://www.thespringbox.com/dtds/thespringbox-1.0.dtd">http://feeds.feedburner.com/KrishnasPage?format=skin</thespringbox:skin><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-nd/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>KrishnasPage</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Invoking p(j)ython script through ant script to deploy and un-deploy WAR files in Websphere</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/K8t-oQi71wA/invoking-pjython-script-through-ant.html</link><category>ANT</category><category>Technical</category><category>Websphere</category><category>Python</category><author>Krishnaspage@gmail.com</author><pubDate>Thu, 19 Jan 2012 02:47:28 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-8053799943295520015</guid><description>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;div trbidi='on' style='text-align: left;' dir='ltr'&gt;&lt;div style='text-align: center;'&gt;&lt;b style='color: red;'&gt;How to invoke p(j)ython script through ANT scripts do deploy WAR files on to Webshere. ? &lt;/b&gt;  &lt;/div&gt;&lt;div style='clear: both; text-align: center;' class='separator'&gt;&lt;a style='margin-left: 1em; margin-right: 1em;' imageanchor='1' href='http://blog.bounceweb.com/wp-content/uploads/2010/11/How-to-build-your-applications-using-ANT-1.png'&gt;&lt;img height='212' border='0' width='320' src='http://blog.bounceweb.com/wp-content/uploads/2010/11/How-to-build-your-applications-using-ANT-1.png'/&gt;&lt;/a&gt;&lt;/div&gt;The below is a simple ant script invoking python files which will deploy and un-deploy the given J2EE Apps in running Websphere server profile. &lt;br/&gt;1. The ant script will invoke python files.&lt;br/&gt;2. Ant script's target pathconvert will convert the property values containg back slashes in a file path to forward slashes.&lt;br/&gt;3. Ant script target timestamp will print the time stamp along with message in the given log file. Takes care of new line character using &amp;amp;#xa; at the end of message ... &lt;br/&gt;Ant Script to call jython scripts which will deploy and undeploy provided J2E WAR file.&lt;br/&gt;Below is the Ant script.&lt;br/&gt;&lt;div style='font-family: Georgia,Garamond,Serif; font-size-adjust: none; font-size: 16px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; height: 400px; line-height: 26px; overflow: scroll; width: 500px;'&gt;hi&lt;project name='DeployFSAdmin' default='install' basedir='.'&gt;&lt;property name='FSAdminLog' value='c:/FSAdmin_install.log'&gt;&lt;target name='timestamp'&gt;&lt;br/&gt;&amp;lt;project name="DeployFSAdmin" default="install" basedir="."&amp;gt;&lt;br/&gt;    &amp;lt;description&amp;gt;&lt;br/&gt;        Silent Deployment of WAR files&lt;br/&gt;    &amp;lt;/description&amp;gt;&lt;br/&gt;    &amp;lt;property name="FSAdminLog" value="c:/FSAdmin_install.log" /&amp;gt;&lt;br/&gt;    &amp;lt;target id="install" name="install" depends="pathconvert"&amp;gt;&lt;br/&gt;        &amp;lt;antcall target="timestamp"&amp;gt;&lt;br/&gt;            &amp;lt;param name="LogFile" value="${FSAdminLog}" /&amp;gt;&lt;br/&gt;            &amp;lt;param name="Message" value="Starting Server now" /&amp;gt;&lt;br/&gt;        &amp;lt;/antcall&amp;gt;&lt;br/&gt;        &amp;lt;exec executable="C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01\\bin\\startServer.bat" output="${FSAdminLog}" append="true"&amp;gt;&lt;br/&gt;            &amp;lt;arg value="server1" /&amp;gt;&lt;br/&gt;        &amp;lt;/exec&amp;gt;&lt;br/&gt;        &amp;lt;antcall target="timestamp"&amp;gt;&lt;br/&gt;            &amp;lt;param name="LogFile" value="${FSAdminLog}" /&amp;gt;&lt;br/&gt;            &amp;lt;param name="Message" value="Starting FS Admin App Deployment now" /&amp;gt;&lt;br/&gt;        &amp;lt;/antcall&amp;gt;&lt;br/&gt;        &amp;lt;exec executable="C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01\\bin\\wsadmin.bat" output="${FSAdminLog}" append="true"&amp;gt;&lt;br/&gt;            &amp;lt;arg value="-lang" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="jython" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="-username" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="krishna" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="-password" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="krishna" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="-f" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="${deployFile}" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="${updatedWARFile}" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="FSAdminApp" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="server1" /&amp;gt;&lt;br/&gt;        &amp;lt;/exec&amp;gt;&lt;br/&gt;        &amp;lt;antcall target="timestamp"&amp;gt;&lt;br/&gt;            &amp;lt;param name="LogFile" value="${FSAdminLog}" /&amp;gt;&lt;br/&gt;            &amp;lt;param name="Message" value="FS Admin App Deployment completed" /&amp;gt;&lt;br/&gt;        &amp;lt;/antcall&amp;gt;&lt;br/&gt;    &amp;lt;/target&amp;gt;&lt;br/&gt;    &amp;lt;target id="unistall" name="uninstall"&amp;gt;&lt;br/&gt;        &amp;lt;antcall target="timestamp"&amp;gt;&lt;br/&gt;            &amp;lt;param name="LogFile" value="${FSAdminLog}" /&amp;gt;&lt;br/&gt;            &amp;lt;param name="Message" value="Starting Server now." /&amp;gt;&lt;br/&gt;        &amp;lt;/antcall&amp;gt;&lt;br/&gt;        &amp;lt;exec executable="C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01\\bin\\startServer.bat" output="${FSAdminLog}" append="true"&amp;gt;&lt;br/&gt;            &amp;lt;arg value="server1" /&amp;gt;&lt;br/&gt;        &amp;lt;/exec&amp;gt;&lt;br/&gt;        &amp;lt;antcall target="timestamp"&amp;gt;&lt;br/&gt;            &amp;lt;param name="LogFile" value="${FSAdminLog}" /&amp;gt;&lt;br/&gt;            &amp;lt;param name="Message" value="Un-Deployment of FS Admin in progress..." /&amp;gt;&lt;br/&gt;        &amp;lt;/antcall&amp;gt;&lt;br/&gt;        &amp;lt;exec executable="C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv01\\bin\\wsadmin.bat" output="${FSAdminLog}" append="true"&amp;gt;&lt;br/&gt;            &amp;lt;arg value="-lang" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="jython" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="-username" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="krishna" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="-password" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="krishna" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="-f" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="${undeployFile}" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="FSAdminApp" /&amp;gt;&lt;br/&gt;            &amp;lt;arg value="server1" /&amp;gt;&lt;br/&gt;        &amp;lt;/exec&amp;gt;&lt;br/&gt;        &amp;lt;antcall target="timestamp"&amp;gt;&lt;br/&gt;            &amp;lt;param name="LogFile" value="${FSAdminLog}" /&amp;gt;&lt;br/&gt;            &amp;lt;param name="Message" value="Undeployment of FASApp completed" /&amp;gt;&lt;br/&gt;        &amp;lt;/antcall&amp;gt;&lt;br/&gt;    &amp;lt;/target&amp;gt;&lt;br/&gt;    &amp;lt;!-- The target "pathconvert" is to convert all the windows back slahes into forward slashes--&amp;gt;&lt;br/&gt;    &amp;lt;target id="pathconvert" name="pathconvert"&amp;gt;&lt;br/&gt;        &amp;lt;tempfile property="temp.file" /&amp;gt;&lt;br/&gt;        &amp;lt;echo message="${warfile}" file="${temp.file}" /&amp;gt;&lt;br/&gt;        &amp;lt;loadfile srcfile="${temp.file}" property="updatedWARFile"&amp;gt;&lt;br/&gt;            &amp;lt;filterchain&amp;gt;&lt;br/&gt;                &amp;lt;replaceregex pattern="\\" replace="/" flags="g" /&amp;gt;&lt;br/&gt;            &amp;lt;/filterchain&amp;gt;&lt;br/&gt;        &amp;lt;/loadfile&amp;gt;&lt;br/&gt;        &amp;lt;delete file="${temp.file}" /&amp;gt;&lt;br/&gt;    &amp;lt;/target&amp;gt;&lt;br/&gt;    &amp;lt;!-- To print the time stamp along with message in a log file --&amp;gt;&lt;br/&gt;    &amp;lt;target name="timestamp"&amp;gt;&lt;br/&gt;        &amp;lt;tstamp&amp;gt;&lt;br/&gt;            &amp;lt;format property="logtime" pattern="yyyy.MM.dd ':' HH:mm:ss z" /&amp;gt;&lt;br/&gt;        &amp;lt;/tstamp&amp;gt;&lt;br/&gt;        &amp;lt;!-- New line charecter uasage &amp;amp;#xa; --&amp;gt;&lt;br/&gt;        &amp;lt;echo file="${LogFile}" message="&amp;amp;#xa;${logtime} : ${Message}.&amp;amp;#xa;" append="true" /&amp;gt;&lt;br/&gt;    &amp;lt;/target&amp;gt;&lt;br/&gt;&amp;lt;/project&amp;gt;&lt;br/&gt;&lt;/target&gt;&lt;/property&gt;&lt;/project&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;Below is the Deploying Python file.&lt;br/&gt;&lt;div style='font-family: Georgia,Garamond,Serif; font-size-adjust: none; font-size: 16px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; height: 400px; line-height: 26px; overflow: scroll; width: 500px;'&gt;hi&lt;br/&gt;'''&lt;br/&gt;Created on Jan 18, 2012&lt;br/&gt;&lt;br/&gt;@author: krishna&lt;br/&gt;'''&lt;br/&gt;import sys&lt;br/&gt;#--------------------------------------------------------------&lt;br/&gt;# Install an application onto this server&lt;br/&gt;#--------------------------------------------------------------&lt;br/&gt;def install(serverName, nodeName, app, appName=None):&lt;br/&gt;    print "Installing the application"&lt;br/&gt;    appOptions = "[-server " + serverName + " -node " + nodeName&lt;br/&gt;    if len(appName) != 0:&lt;br/&gt;         appOptions = appOptions + " -appname " + appName +" -contextroot " + appName&lt;br/&gt;         appOptions = appOptions + " -defaultbinding.virtual.host default_host -usedefaultbindings]"&lt;br/&gt;    print "Server Options: " + appOptions&lt;br/&gt;    AdminApp.install(app, appOptions)&lt;br/&gt;#--------------------------------------------------------------&lt;br/&gt;# Save all changes and stop the server&lt;br/&gt;#--------------------------------------------------------------    &lt;br/&gt;    print "Now saving all the configurations"&lt;br/&gt;    AdminConfig.save()&lt;br/&gt;    print "Now stoping the server"&lt;br/&gt;    AdminControl.stopServer(serverName, nodeName)&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;#-----------------------------------------------------------------&lt;br/&gt;# Main&lt;br/&gt;#-----------------------------------------------------------------&lt;br/&gt;&lt;br/&gt;if (len(sys.argv) != 3):&lt;br/&gt;   print "This script requires 3 parameters:&lt;ear file=''&gt;, &lt;application name=''&gt;, &lt;server name=''&gt;"&lt;br/&gt;   print "e.g.:  argsDeployWARfile.py C:/Krish/SimpleJ2E_1.0.0.war SimpleJ2E server1"&lt;br/&gt;else:&lt;br/&gt;   application = sys.argv[0]&lt;br/&gt;   appName = sys.argv[1]&lt;br/&gt;   print "application: " + application&lt;br/&gt;   print "app name: " + appName&lt;br/&gt;   nodeName = AdminControl.getNode()&lt;br/&gt;   print nodeName &lt;br/&gt;   serverName = sys.argv[2]&lt;br/&gt;   print serverName&lt;br/&gt;   install(serverName, nodeName, application, appName)&lt;br/&gt;&lt;br/&gt;&lt;/server&gt;&lt;/application&gt;&lt;/ear&gt;&lt;/div&gt;Below is the un-deploying Python file.&lt;br/&gt;&lt;div style='font-family: Georgia,Garamond,Serif; font-size-adjust: none; font-size: 16px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; height: 400px; line-height: 26px; overflow: scroll; width: 500px;'&gt;hi&lt;br/&gt;'''&lt;br/&gt;Created on Jan 18, 2012&lt;br/&gt;&lt;br/&gt;@author: krishna&lt;br/&gt;'''&lt;br/&gt;#-----------------------------------------------------------------&lt;br/&gt;# Main&lt;br/&gt;#-----------------------------------------------------------------&lt;br/&gt;&lt;br/&gt;if (len(sys.argv) != 2):&lt;br/&gt;   print "This script requires 1 parameters: &lt;application name=''&gt;, &lt;server name=''&gt;"&lt;br/&gt;   print "e.g.:  undeployWAR.py SimpleJ2E server1"&lt;br/&gt;else:&lt;br/&gt;   appName = sys.argv[0]&lt;br/&gt;   print "application name: " + appName&lt;br/&gt;   serverName = sys.argv[1]&lt;br/&gt;   print "Server Name: " + serverName&lt;br/&gt;   nodeName = AdminControl.getNode()&lt;br/&gt;   AdminApp.uninstall (appName)&lt;br/&gt;   print "Now saving all the configurations"&lt;br/&gt;   AdminConfig.save()&lt;br/&gt;   print "Now stopping the server"&lt;br/&gt;   AdminControl.stopServer(serverName, nodeName)&lt;br/&gt;&lt;/server&gt;&lt;/application&gt;&lt;/div&gt;&lt;/div&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=0cbfa0d8-e3fa-87c4-a3d5-e3579aff674a' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-8053799943295520015?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/K8t-oQi71wA" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-19T16:17:28.931+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2012/01/invoking-pjython-script-through-ant.html</feedburner:origLink></item><item><title>Java Script to use XMLHttpRequest : readyState, statusText , responseText, responseXML</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/1-m-a3iasUk/java-script-to-use-xmlhttprequest.html</link><category>Java</category><category>HTML</category><author>Krishnaspage@gmail.com</author><pubDate>Mon, 31 Oct 2011 07:02:36 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-749608971471284662</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The below is a simple HTML code containing JAVA script to use the object&amp;nbsp; XMLHttpRequest to retrieve the contents of a weburl when GET is applied. Simple to say do HTTP GET and show the contents of URL.&lt;br /&gt;
&lt;div style="font-family: Georgia,Garamond,Serif; font-size-adjust: none; font-size: 16px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; height: 400px; line-height: 26px; overflow: scroll; width: 500px;"&gt;&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;
function loadXMLDoc()&lt;br /&gt;
{&lt;br /&gt;
if (window.XMLHttpRequest)&lt;br /&gt;
&amp;nbsp; {// code for IE7+, Firefox, Chrome, Opera, Safari&lt;br /&gt;
&amp;nbsp; xmlhttp=new XMLHttpRequest();&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
else&lt;br /&gt;
&amp;nbsp; {// code for IE6, IE5&lt;br /&gt;
&amp;nbsp; xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
xmlhttp.onreadystatechange=function()&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp; alert('Http State is:' + xmlhttp.readyState);&lt;br /&gt;
&amp;nbsp; alert('HTTP Status is :' + xmlhttp.statusText);&lt;br /&gt;
&amp;nbsp; if (xmlhttp.readyState==4 )&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( xmlhttp.status==200 )&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('Response data as String :' + xmlhttp.responseText);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('Response data as XML:' + xmlhttp.responseXML);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; try {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlhttp.open("GET","http://www.krishnababug.com/",true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlhttp.send("");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (e) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(e);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;How to use XMLHttpRequest object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;div id="myDiv"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;button type="button" onclick="loadXMLDoc()"&amp;gt;Load URL - Click to change state&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/div&gt;&lt;br /&gt;
References:&lt;br /&gt;
[&lt;a href="http://www.w3schools.com/dom/dom_http.asp"&gt;1&lt;/a&gt;] [&lt;a href="http://bytes.com/topic/javascript/answers/681905-firefox-reports-uncaught-exception-ns_error_failure-nsixmlhttprequest-send"&gt;2&lt;/a&gt;]&lt;br /&gt;
Note : working only on Internet Explorer &lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="zemanta-pixie"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=30931311-eb5b-81a8-8799-b3c9c5cc2bde" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-749608971471284662?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/1-m-a3iasUk" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-31T19:32:36.916+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/10/java-script-to-use-xmlhttprequest.html</feedburner:origLink></item><item><title>Top / Best Android apps - My selection on Android 2.3.7</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/osSQeyVa2Bg/top-best-android-apps-my-selection-on.html</link><category>Mobile Stuff</category><author>Krishnaspage@gmail.com</author><pubDate>Thu, 20 Oct 2011 04:23:15 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-6540621644134537790</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I am using &lt;a href="http://www.cyanogenmod.com/"&gt;Cyanogen Mod7&lt;/a&gt; (&lt;a href="http://en.wikipedia.org/wiki/Android_version_history"&gt;Android 2.3.7&lt;/a&gt;) so most of the built-in things are helping me :) Adding to them I have the below best apps for my daily use.&lt;br /&gt;
&lt;br /&gt;
1.&amp;nbsp; 3G Mobile Hotspot&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; The best wifi tither app on my phone. Less radiation , less heat and more over easy to use and connect any device.&amp;nbsp; &lt;br /&gt;
2.&amp;nbsp;&lt;a href="https://market.android.com/details?id=com.adobe.reader&amp;amp;feature=search_result"&gt; Adobe reader&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nothing to say about it, best pdf reader as always.&lt;br /&gt;
3.&amp;nbsp; &lt;a href="https://market.android.com/details?id=com.mobisystems.msdict.embedded.wireless.wordnet&amp;amp;feature=search_result"&gt;Advance English&lt;/a&gt; (MSDict Viewer)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; Good English dictionary for quick access.&amp;nbsp; But till today couldn't locate the dictionary file where it is saving. When ever you go for factory reset you have to re download the dictionary file if you wont take back up of SDCARD.&lt;br /&gt;
4.&amp;nbsp; Andro FTP&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; Best app to start FTP server on your phone and share your files with others when wifi enabled, and vice-verse to take files from others. &lt;br /&gt;
5.&lt;a href="https://market.android.com/details?id=com.netqin.mobileguard&amp;amp;feature=search_result"&gt;&amp;nbsp; Android Booster&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Famous app to monitor your GPRS usage, power management and statistics , and managing your memory by killing unwanted apps. &lt;br /&gt;
6.&amp;nbsp; &lt;a href="https://market.android.com/details?id=com.agilesoftresource&amp;amp;feature=search_result"&gt;Androzip&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; File manager come zip application for my phone. I use send to bluetooth device option directly from here as I don't see , send via Bluetooth option in normal file manager.&lt;br /&gt;
7.&amp;nbsp; &lt;a href="https://market.android.com/details?id=com.rovio.angrybirds&amp;amp;feature=search_result"&gt;Angry birds&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Nothing to say about it , don't remember how many hours I spent on this :) &lt;br /&gt;
8.&amp;nbsp; &lt;a href="https://market.android.com/details?id=com.skamped.anyposts&amp;amp;feature=search_result"&gt;Any Post&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Simple, lite app for posting status to multiple social networking sites at&amp;nbsp; a time. Photo, Map and text options available. &lt;br /&gt;
10. Background&lt;br /&gt;
When ever I feel boring to see my phone screen I logon to this app to download new beautiful backgrounds for my phone. &lt;br /&gt;
11. &lt;a href="https://market.android.com/details?id=com.bt.bms&amp;amp;feature=search_result"&gt;BookMy show&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Suitable for Indian Android users to book your movies, and special events near your city. &lt;br /&gt;
12. &lt;a href="https://market.android.com/details?id=lammar.quotes&amp;amp;feature=search_result"&gt;Brillinat Quotes&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Want some inspiring quotes every day ? try this app !&amp;nbsp; &lt;br /&gt;
13. &lt;a href="https://market.android.com/details?id=sp.app.bubblePop&amp;amp;feature=order_history"&gt;Bubble pop&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Most famous used app by my niece :) time pass bubble breaking game. &amp;nbsp; &lt;br /&gt;
14. &lt;a href="https://market.android.com/details?id=cs1410.ByteConverter&amp;amp;feature=search_result"&gt;ByteConverter&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; When I see big numbers to convert between Bytes and bits etc need this. &lt;br /&gt;
15. &lt;a href="https://market.android.com/details?id=com.apksoftware.compass&amp;amp;feature=search_result"&gt;compass&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Helped multiple times to locate sun in new locations :) &lt;br /&gt;
16. &lt;a href="https://market.android.com/details?id=com.dataviz.docstogo&amp;amp;feature=search_result"&gt;Documents to go&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Best office tool I have seen for my phone. Support doc,xls, ppt etc. &lt;br /&gt;
17. &lt;a href="https://market.android.com/details?id=com.estrongs.android.taskmanager&amp;amp;feature=search_result"&gt;ES Task Manager&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Helps controlling startup apps or services and cleaning cache memory. &lt;br /&gt;
18. &lt;a href="https://market.android.com/details?id=com.expensemanager&amp;amp;feature=order_history"&gt;Expense Manager&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Password protected app to keep track of your expenses and income with clean analytical charts.&amp;nbsp; &lt;br /&gt;
19. &lt;a href="https://market.android.com/details?id=com.facebook.katana&amp;amp;feature=search_result"&gt;Facebook&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Nothing to say about it , I still don't find the way to share videos I saw from others wall. &lt;br /&gt;
20&amp;nbsp; &lt;a href="https://market.android.com/details?id=com.spoton.fullonsms&amp;amp;feature=search_result"&gt;Full on SMS&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Free SMS sending App works in India, but wont display name on the receiver phone :( with new TROI rules. &lt;br /&gt;
21. IBM Leap Manager&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; WIFI manager to connect to IBM wifi networks &lt;br /&gt;
22. &lt;a href="https://market.android.com/details?id=com.imdb.mobile&amp;amp;feature=search_result"&gt;IMDB&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Nothing to say about it , on-time guide to find your favorite movie review. &amp;nbsp; &lt;br /&gt;
23. &lt;a href="https://market.android.com/details?id=com.rahul.utility.indianrail&amp;amp;feature=search_result"&gt;Indian Rail&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Simple app to find the trains status, PNR status and locating the train etc. Work in India. &lt;br /&gt;
24.&lt;a href="https://market.android.com/details?id=com.yahoo.mobile.client.android.mail&amp;amp;feature=search_result"&gt; Mail (Yahoo)&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Mail client for Yahoo. &lt;br /&gt;
25. &lt;a href="https://market.android.com/details?id=com.google.android.apps.maps&amp;amp;feature=order_history"&gt;Maps&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Google maps , still don't know how to use voice navigation on this. Any other best maps app for android which can compete with OVI maps. &lt;br /&gt;
26. &lt;a href="https://market.android.com/details?id=com.ccs.mileage&amp;amp;feature=order_history"&gt;Milage Tracker&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Started recently to keep track of the petrol expenses.&amp;nbsp; Need time to rate it.&lt;br /&gt;
27. &lt;a href="https://market.android.com/details?id=com.mixzing.basic&amp;amp;feature=search_result"&gt;MixZing Basic&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; Good music player with folder wise section options and categorizing with albums etc.&amp;nbsp; &lt;br /&gt;
28.&lt;a href="https://market.android.com/details?id=com.mobo.video.player.pro&amp;amp;feature=order_history"&gt; Mobo Video Player&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Felt happy using it multiple times while playing 720 p videos on my phone and while watching movies with subtitles which sync perfectly with audio and video.&lt;br /&gt;
29. &lt;a href="https://market.android.com/details?id=com.mxtech.videoplayer.ad&amp;amp;feature=search_result"&gt;MX Video Player&lt;/a&gt;&lt;br /&gt;
 Another best video player like above to watch all videos which needs some soft encoding.&lt;br /&gt;
30. &lt;a href="https://market.android.com/details?id=com.nqmobile.antivirus20&amp;amp;feature=search_result"&gt;NetQin Security&lt;/a&gt;&lt;br /&gt;
Good Security anti-virus app required for my phone to keep it healthy. &lt;br /&gt;
31. &lt;a href="https://market.android.com/details?id=com.eterno&amp;amp;feature=search_result"&gt;NewsHunt&lt;/a&gt;&lt;br /&gt;
Indian regional news papers with easy use and automatic support of regional language fonts like Telugu, kanada, Tamil, Gujarathi, Marathi,Hindi and many more. I like to read my favorite &lt;a href="http://www.eenadu.net/"&gt;eenadu &lt;/a&gt;Telugu daily on this. &amp;nbsp; &lt;br /&gt;
32. &lt;a href="https://market.android.com/details?id=com.jigrahak.ngpay&amp;amp;feature=search_result"&gt;ngpay&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
Mall on the phone is the best apt quote for this. Easy to use HDFC and other bank transactions. Book your bus or train ticket on a fly. Order your piza or sweets what not day by day its growing like any thing in India. Safe to use. &lt;br /&gt;
33. &lt;a href="https://market.android.com/details?id=com.nimbuzz&amp;amp;feature=search_result"&gt;Nimbuzz&lt;/a&gt;&lt;br /&gt;
Superb! multi-messenger .&amp;nbsp; &lt;br /&gt;
34. &lt;a href="https://market.android.com/details?id=de.softxperience.android.noteeverything&amp;amp;feature=search_result"&gt;Note Evrything&lt;/a&gt;&lt;br /&gt;
35. &lt;a href="https://market.android.com/details?id=com.pansi.msg&amp;amp;feature=search_result"&gt;Pansi SMS&lt;/a&gt;&lt;br /&gt;
36. &lt;a href="https://market.android.com/details?id=com.net.pvr&amp;amp;feature=search_result"&gt;PVR&lt;/a&gt;&lt;br /&gt;
37. &lt;a href="https://market.android.com/details?id=com.siriusapplications.quickboot&amp;amp;feature=search_result"&gt;Quick boot&lt;/a&gt;&lt;br /&gt;
38. &lt;a href="https://market.android.com/details?id=com.radiokhushi&amp;amp;feature=search_result"&gt;Radio Kushi &lt;/a&gt;&lt;br /&gt;
39. &lt;a href="https://market.android.com/details?id=air.com.techXplorers.Ragalahari&amp;amp;feature=search_result"&gt;Ragalahari&lt;/a&gt;&lt;br /&gt;
40. Sametime&lt;br /&gt;
41. &lt;a href="https://market.android.com/details?id=com.skype.raider&amp;amp;feature=search_result"&gt;skype&lt;/a&gt;&lt;br /&gt;
42. &lt;a href="https://market.android.com/details?id=org.zwanoo.android.speedtest&amp;amp;feature=search_result"&gt;speed Test&lt;/a&gt;&lt;br /&gt;
43. &lt;a href="https://market.android.com/details?id=gpc.myweb.hinet.net.TaskManager&amp;amp;feature=search_result"&gt;Super Manager&lt;/a&gt;&lt;br /&gt;
44. &lt;a href="https://market.android.com/details?id=com.jin.games.tangram&amp;amp;feature=search_result"&gt;Tangram Moment&lt;/a&gt;&lt;br /&gt;
45. &lt;a href="https://market.android.com/details?id=jackpal.androidterm&amp;amp;feature=search_result"&gt;Terminal Emulator&lt;/a&gt;&lt;br /&gt;
46. &lt;a href="https://market.android.com/details?id=tm.app.worldClock&amp;amp;feature=search_result"&gt;TM World clock&lt;/a&gt;&lt;br /&gt;
47. &lt;a href="https://market.android.com/details?id=net.cactii.flash&amp;amp;feature=search_result"&gt;Torch&lt;/a&gt;&lt;br /&gt;
48. &lt;a href="https://market.android.com/details?id=com.tori.radio&amp;amp;feature=search_result"&gt;TORI&lt;/a&gt;&lt;br /&gt;
49. &lt;a href="https://market.android.com/details?id=com.google.android.apps.translate&amp;amp;feature=search_result"&gt;Translate&lt;/a&gt;&lt;br /&gt;
50. &lt;a href="https://market.android.com/details?id=deian.aa.tubmate&amp;amp;feature=search_result"&gt;TubeMate&lt;/a&gt;&lt;br /&gt;
51. &lt;a href="https://market.android.com/details?id=jp.r246.twicca&amp;amp;feature=search_result"&gt;Twica&lt;/a&gt;&lt;br /&gt;
52. &lt;a href="https://market.android.com/details?id=tv.ustream.ustream&amp;amp;feature=search_result"&gt;Ustream&lt;/a&gt;&lt;br /&gt;
53. &lt;a href="https://market.android.com/details?id=com.tru&amp;amp;feature=search_result"&gt;YuppTV&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Please try to add your best apps in comments , I would like to tune my list to shift to stable apps. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-6540621644134537790?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/osSQeyVa2Bg" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-20T16:53:15.142+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/10/top-best-android-apps-my-selection-on.html</feedburner:origLink></item><item><title>How to upgrade to Android 2.3.X (Gingerbread) from 2.1 (Eclair) using CynogenMod 7.1 (CM 7.1) on Motorola Milestone A853 / A953 ?</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/TlSkMruIOG0/how-to-upgrade-to-android-23x.html</link><category>Mobile Stuff</category><author>Krishnaspage@gmail.com</author><pubDate>Wed, 19 Oct 2011 01:20:57 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-3153661961083949203</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b style="color: red;"&gt;How to upgrade to Android 2.3.X (Gingerbread) from 2.1 (Eclair) using CynogenMod 7.1 (CM 7.1) on Motorola Milestone A853 / A953&lt;/b&gt;&lt;span style="color: red;"&gt; ?&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2009.bbcidc.com/wp-content/uploads/2011/07/a974c761fcd04f_m.jpg-110x150.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2009.bbcidc.com/wp-content/uploads/2011/07/a974c761fcd04f_m.jpg-110x150.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Before following the below steps to flash your phone with new Cynogenmod7 ROM; make sure that you have taken all necessary backups like contacts, SMS and most used apps etc.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Pre-Reqs: &lt;/b&gt;&lt;br /&gt;
1. Your phone must be rooted before. &lt;a href="http://www.krishnababug.com/2011/07/root-android-phones-motorola-htc.html"&gt;To root the phone&lt;/a&gt; follow the below instructions.(&lt;a href="http://www.krishnababug.com/2011/07/root-android-phones-motorola-htc.html"&gt;http://www.krishnababug.com/2011/07/root-android-phones-motorola-htc.html&lt;/a&gt;) &lt;br /&gt;
&lt;br /&gt;
2. Download the required below files and keep it ready from &lt;a href="http://forum.xda-developers.com/showthread.php?t=941346%20"&gt;http://forum.xda-developers.com/showthread.php?t=941346 &lt;/a&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; a. Open Recovery -&lt;b&gt; OpenRecovery 1.46 - BR 0.3.zip &lt;/b&gt;(for update OR1.46_extfs_mmcfix_update.zip&lt;b&gt; )&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="http://code.google.com/p/miuibr/downloads/detail?name=OpenRecovery%201.46%20-%20BR%200.3.zip&amp;amp;can=2&amp;amp;q="&gt;Download from link &lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; b. Google apps - &lt;b&gt;gapps-gb-20110828-newtalk-signed.zip&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; c. CynogenMod ROM - &lt;b&gt;update-cm-7.1.0-11.10.12-Milestone-odexed-signed.zip&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
3. &lt;b&gt;Disable_recovery_check_by_OTA.sh&lt;/b&gt; - Search in google and download this file.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
4. Enable USB debugging on your phone from Menu &amp;gt; Settings &amp;gt; Applications &amp;gt; Development and connect it to your computer via USB.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Now Create a Folder structure under sdcard root like below &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
sdcard &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |__update.zip&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |__OpenRecovery&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |__scripts&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |__Disable_recovery_check_by_OTA.sh&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |__updates&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |__update-cm-7.1.0-11.10.12-Milestone-odexed-signed.zip&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |__gapps-gb-20111012-signed.zip&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |____ Other_Stuff&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Steps to flash your phone with new Android build by CynogenMod&lt;/b&gt;:&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;















&lt;/ul&gt;
1. Once the above tree structure is ready on your phone just power off the phone&lt;br /&gt;
2. While you Power on; press X button on the physical keyboard on your milestone.&lt;br /&gt;
3. Hold ‘X’ until you see a Triangle with an Exclamation mark on it, and then let go of ‘X’.&lt;br /&gt;
4. (If required ) Press &amp;amp; Hold the Volume up button and press the camera button. You'll be taken to Android System Recovery.&lt;br /&gt;
5. Using D-Pad as cursor and golden button in the middle as ‘Enter’ , Perform a ‘Wipe Data/Factory Reset’ &amp;amp; ‘Wipe Cache Partition’&lt;br /&gt;
6. Once done , apply Sdcard :update.zip.&lt;br /&gt;
7. You will be taken to Motorola Milestone Open Recovery Version 1.46 . &lt;br /&gt;
8. From menu, go to Nandroid &amp;gt; Backup All. This will place a backup of your current ROM in a folder called Nandroid on your SD Card. &lt;br /&gt;
9. Move it to a safe location later.&lt;br /&gt;
10. Perform a wipe data/factory reset (In case of CynogenMod updates skip this step)&lt;br /&gt;
11. Perform wipe &amp;gt; wipe cache partition and wipe Dalvik cache.&lt;br /&gt;
12. Apply Update, scroll to ‘update milestone-signed.zip’ and apply.&lt;br /&gt;
13. Now Apply&amp;nbsp; ‘gapps signed.zip’ and Apply. &lt;br /&gt;
14. Go back to Main Menu and reboot system&lt;br /&gt;
15. All set to see new CynogenMod logo after Motorola logo :) The first boot may take more time.&lt;br /&gt;
&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Possible errors : &lt;/b&gt;&lt;br /&gt;
1. E:signature verification failed error - If you get this error , make sure that the file under SDCARD &amp;gt; OpenRecovery &amp;gt; scripts &amp;gt; Disable_recovery_check_by_OTA.sh is fine and readable.&lt;br /&gt;
Note : Keep the above tree structure available always on ur sdcard and replace the new updates under updates directory each time when new updates are available. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Reference :&lt;/b&gt;&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=941346"&gt;http://forum.xda-developers.com/showthread.php?t=941346&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;a href="http://www.motorolafans.com/forums/motorola-milestone/31775-today-we-teach-u-step-by-step-how-to-install-android-2-3-ginger-bread-in-ur-motorola-milestone.html"&gt;http://www.motorolafans.com/forums/motorola-milestone/31775-today-we-teach-u-step-by-step-how-to-install-android-2-3-ginger-bread-in-ur-motorola-milestone.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;a href="http://android.doshaska.net/cm7"&gt;http://android.doshaska.net/cm7&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=696845"&gt;http://forum.xda-developers.com/showthread.php?t=696845&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-3153661961083949203?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/TlSkMruIOG0" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-19T13:50:57.168+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/10/how-to-upgrade-to-android-23x.html</feedburner:origLink></item><item><title>Websphere 6.1.0.0 to 6.1.0.35 upgrade steps</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/qbHXNr016aI/websphere-6100-to-61035-upgrade-steps.html</link><category>Websphere</category><author>Krishnaspage@gmail.com</author><pubDate>Mon, 17 Oct 2011 23:19:48 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-9113523346797005891</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
This post aims to explain the simple steps to upgrade the base build version of Websphere 61.0.0 to 6.10.35&lt;br /&gt;
&lt;br /&gt;
Please follow the below steps one by one ..&lt;br /&gt;
&lt;b&gt;How to upgrade WAS 6.1.0.0 to WAS 6.1.0.35 ?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Download the required Patch set for upgrade from&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www-01.ibm.com/support/docview.wss?uid=swg27007951#61035%20"&gt;http://www-01.ibm.com/support/docview.wss?uid=swg27007951#61035 &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Choose the required OS and bit level of hardware and then select both JAVA SDK and AppServer files for upgrade&lt;/li&gt;
&lt;li&gt;Along with this download the IBM Update Installer V7.0.0.19 for WebSphere Software for Windows. &lt;/li&gt;
&lt;/ul&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Once you download the required 3 files &lt;/li&gt;
&lt;/ul&gt;
6.1.0-WS-WASSDK-WinX32-FP0000035.pak&lt;br /&gt;
6.1.0-WS-WAS-WinX32-FP0000035.pak&lt;br /&gt;
7.0.0.19-WS-UPDI-WinIA32.zip&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Extract the update installer, and install it.&lt;/li&gt;
&lt;li&gt;Once installation created the folder structure &lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;C:\Program Files\ibm\WebSphere 6.1\UpdateInstaller\maintenance&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Copy the files 6.1.0-WS-WASSDK-WinX32-FP0000035.pak and 6.1.0-WS-WAS-WinX32-FP0000035.pak to the above path. &lt;br /&gt;
then let installer pick this two packages and install it. &lt;br /&gt;
All set to go ..now your WebSphere is upgraded :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-9113523346797005891?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/qbHXNr016aI" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-18T11:49:48.247+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/10/websphere-6100-to-61035-upgrade-steps.html</feedburner:origLink></item><item><title>shell script to check newly created files in a directory and its sub directories</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/wQfMWIgg8sY/shell-script-to-check-newly-created.html</link><category>Shell Scripting</category><author>Krishnaspage@gmail.com</author><pubDate>Wed, 28 Sep 2011 04:39:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-5788338023964899913</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: center;"&gt;
&lt;b style="color: red;"&gt;Shell script to check newly created files in a directory and its sub directories &lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="color: black;"&gt;The below shell script is to monitor a Directory and its sub-directories, and log the information when particular type of files are created/found. &lt;br /&gt;&lt;br /&gt;The below script will monitor a directory "/opt/krish" for .sh files. &lt;br /&gt;If there exists any .sh files in the directory (includes sub-directories) it will log the information in the results.log file in the same directory. &lt;br /&gt;It repeats this operation for every 10 seconds so that any newly created file information will be captured.&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="color: black;"&gt;You can keep on creating some test files using "touch d11.sh" in the same directory to verify whether the same is been logged in the results.log or not.&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="color: black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Georgia,Garamond,Serif; font-size-adjust: none; font-size: 16px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; height: 400px; line-height: 26px; overflow: scroll; width: 500px;"&gt;
nc184120:/opt/krish # cat check.sh&lt;br /&gt;
#!/bin/ksh&lt;br /&gt;
cd /opt/krish&lt;br /&gt;
&amp;gt; results.log&lt;br /&gt;
date &amp;gt;&amp;gt; results.log&lt;br /&gt;
while true&lt;br /&gt;
do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for file in `find . -type f -name "*.sh"`&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls -lrt $file &amp;gt;&amp;gt; results.log&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; done&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; sleep 0&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-5788338023964899913?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/wQfMWIgg8sY" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-28T17:09:00.878+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/09/shell-script-to-check-newly-created.html</feedburner:origLink></item><item><title>How to see created trigger description and SQl stament , to confirm new or old is used ?</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/OhxDJsNOUF0/how-to-see-created-trigger-description.html</link><category>Database</category><category>Oracle</category><author>Krishnaspage@gmail.com</author><pubDate>Tue, 26 Jul 2011 23:29:30 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-6728914375300099916</guid><description>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;I was looking for a SQL query which can display the Trigger description, like while creating a trigger what condition was used especially which key word used like new or old. The below SQL query helped me to know such details. &lt;br/&gt;&lt;br/&gt;How to see created trigger description and SQl stament , to confirm new or old is used ? &lt;br/&gt;&lt;br/&gt;Launch the SQL prompt and connect to you database as sysdba. &lt;br/&gt;&lt;br/&gt;Then run the below commands to know about the trigger you created ... &lt;br/&gt;&lt;br/&gt;SQL&amp;gt; &lt;b&gt;drop trigger TSIN_TR;&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;Trigger dropped.&lt;br/&gt;&lt;br/&gt;SQL&amp;gt;&lt;b&gt; CREATE OR REPLACE TRIGGER TSIN_TR&lt;br/&gt;  2  AFTER INSERT ON TARGET_SERVER&lt;br/&gt;  3  FOR EACH ROW&lt;br/&gt;  4  BEGIN&lt;br/&gt;  5  INSERT INTO ADJUST_DISTRIBUTION (PACKAGE_ID) SELECT PACKAGE_ID FROM TARGETLIST_MAP T&lt;br/&gt;  6  WHERE T.TARGETLIST_ID = :NEW.TARGETLIST_ID;&lt;br/&gt;  7  END;&lt;br/&gt;  8  /&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;Trigger created.&lt;br/&gt;&lt;br/&gt;SQL&amp;gt; &lt;b&gt;set linesize 200&lt;/b&gt;&lt;br/&gt;SQL&amp;gt; &lt;b&gt;set pagesize 500&lt;/b&gt;&lt;br/&gt;SQL&amp;gt; &lt;b&gt;desc user_source;&lt;/b&gt;&lt;br/&gt; Name                                                                                                              Null?    Type&lt;br/&gt; ---------------------------------------------------------------------------------------------------&lt;br/&gt; NAME                                                                                                                       VARCHAR2(30)&lt;br/&gt; TYPE                                                                                                                       VARCHAR2(12)&lt;br/&gt; LINE                                                                                                                       NUMBER&lt;br/&gt; TEXT                                                                                                                       VARCHAR2(4000)&lt;br/&gt;&lt;br/&gt;SQL&amp;gt; &lt;b&gt;select distinct type from user_source;&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;TYPE&lt;br/&gt;------------&lt;br/&gt;TRIGGER&lt;br/&gt;&lt;br/&gt;SQL&amp;gt; &lt;font color='#000099'&gt;&lt;b&gt;select text from user_source where name='TSIN_TR' order by line asc;&lt;/b&gt;&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;TEXT&lt;br/&gt;----------------------------------------------------------------------------------------------------&lt;br/&gt;TRIGGER TSIN_TR&lt;br/&gt;AFTER INSERT ON TARGET_SERVER&lt;br/&gt;FOR EACH ROW&lt;br/&gt;BEGIN&lt;br/&gt;INSERT INTO ADJUST_DISTRIBUTION (PACKAGE_ID) SELECT PACKAGE_ID FROM TARGETLIST_MAP T&lt;br/&gt;WHERE T.TARGETLIST_ID = :NEW.TARGETLIST_ID;&lt;br/&gt;END;&lt;br/&gt;&lt;br/&gt;7 rows selected.&lt;br/&gt;&lt;br/&gt;SQL&amp;gt; &lt;font color='#6600CC'&gt;&lt;b&gt;select DESCRIPTION, TRIGGER_BODY from user_triggers where trigger_name = 'TSIN_TR';&lt;/b&gt;&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;DESCRIPTION&lt;br/&gt;----------------------------------------------------------------------------------------------------&lt;br/&gt;TRIGGER_BODY&lt;br/&gt;--------------------------------------------------------------------------------&lt;br/&gt;TSIN_TR&lt;br/&gt;AFTER INSERT ON TARGET_SERVER&lt;br/&gt;FOR EACH ROW&lt;br/&gt;BEGIN&lt;br/&gt;INSERT INTO ADJUST_DISTRIBUTION (PACKAGE_ID) SELECT PACKAGE_ID FROM TARGET&lt;br/&gt;&lt;br/&gt;SQL &amp;gt; &lt;br/&gt;&lt;br/&gt;Hope this helps ... &lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=ab81c89d-151a-85dd-9558-caf44d7d2fba' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-6728914375300099916?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/OhxDJsNOUF0" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-27T11:59:30.301+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/07/how-to-see-created-trigger-description.html</feedburner:origLink></item><item><title>How to root android phones ?</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/lLcv6vpOyYs/root-android-phones-motorola-htc.html</link><category>Mobile Stuff</category><author>Krishnaspage@gmail.com</author><pubDate>Mon, 25 Jul 2011 11:31:01 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-4782578091434883984</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on" xmlns="http://www.w3.org/1999/xhtml"&gt;The below is the procedure I tried to root my &lt;a href="http://www.motorola.com/Consumers/XW-EN/Consumer-Products-and-Services/Mobile-Phones/Motorola-MILESTONE-XW-EN"&gt;Motorola Milestone&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Android_%28operating_system%29"&gt;Android&lt;/a&gt; 2.1. Hope this will help the rest of the phones like HTC, Samsung etc. &lt;/div&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on" xmlns="http://www.w3.org/1999/xhtml"&gt;I felt this is the simple and easy way to root your Android phone. Before going to implement this rooting procedure let's understand the need for it. &lt;/div&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on" xmlns="http://www.w3.org/1999/xhtml"&gt;If you are not a gadget geek or you don't want to play with your phone, please stop reading this article here only and browse your other favorite site.&lt;/div&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;div closure_uid_2y65j4="150" closure_uid_a5dxgy="165"&gt;&lt;div closure_uid_a5dxgy="158"&gt;Though we all know that android is a Unix mobile OS built on Linux kernel, new users mind will flash a question that "with which user I am logged in to this OS?" . If you got this question you can directly follow the procedure to gain root privileges. Otherwise read through need for rooting.&lt;/div&gt;&lt;div closure_uid_a5dxgy="158"&gt;&lt;span style="color: blue;"&gt;&lt;strong&gt;Need for rooting :&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;div closure_uid_a5dxgy="162"&gt;By default Android login will be a non root user.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;So if you gain root privileges you can have full control over the hardware for which you spent lot of money.&lt;/li&gt;
&lt;li&gt;&lt;div closure_uid_a5dxgy="163"&gt;In other words rooting your phone will unveil the functionalities hidden by vendor which can be supported by costly hardware.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Rooting Android OS helps you in tweaking the android OS functionalities.&lt;/li&gt;
&lt;li&gt;To install lattest Apps supported in next Version android you need to root your old Android version OS.&lt;/li&gt;
&lt;li&gt;Improving your keyboard interaction with possible tools.&lt;/li&gt;
&lt;li&gt;Bluetooth and Wifi tethering made available with rooting&lt;/li&gt;
&lt;li&gt;&lt;div closure_uid_a5dxgy="164"&gt;Install your new apps directly on to SD card instead of overloading the phone memory.&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;Like above there will lot more advantages if you take control of your phone which will be only possible by rooting your Android.&lt;br /&gt;
&lt;br /&gt;
&lt;div closure_uid_a5dxgy="177"&gt;&amp;nbsp;&lt;/div&gt;Now we are ready to root your phone and let's follow the below process.&lt;br /&gt;
&lt;br /&gt;
&lt;div closure_uid_a5dxgy="179"&gt;&lt;strong&gt;Required : &lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;div closure_uid_a5dxgy="180"&gt;Android phone.&lt;/div&gt;&lt;/li&gt;
&lt;li closure_uid_a5dxgy="185"&gt;USB connector &lt;/li&gt;
&lt;li&gt;superoneclick installer (Win 32 app)&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;div closure_uid_a5dxgy="186"&gt;&lt;strong&gt;&amp;nbsp;Where to download superoneclick ? &lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;&lt;li closure_uid_a5dxgy="189"&gt;&lt;a href="http://dw.com.com/redir?edId=3&amp;amp;siteId=4&amp;amp;oId=3000-2094_4-11887150&amp;amp;ontId=2094_4&amp;amp;spi=c2c4db3948641fab560d93c4e42c0d10&amp;amp;lop=link&amp;amp;tag=tdw_dltext&amp;amp;ltype=dl_dlnow&amp;amp;pid=11887150&amp;amp;mfgId=10145754&amp;amp;merId=10145754&amp;amp;pguid=h1v6aAoOYI4AAAIfpFsAAAKi&amp;amp;destUrl=http%3A%2F%2Fdownload.cnet.com%2F3001-2094_4-75447027.html%3Fspi%3Dc2c4db3948641fab560d93c4e42c0d10"&gt;Link1 &lt;/a&gt;&lt;/li&gt;
&lt;li closure_uid_a5dxgy="228"&gt;&lt;a href="http://superoneclick.en.malavida.com/"&gt;Link2 &lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div closure_uid_a5dxgy="298"&gt;&amp;nbsp;&lt;b&gt;Procedure : &lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;div closure_uid_3ou9rr="178" style="text-align: left;"&gt;Install superoneclick application on your windows(32 bit) laptop. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style="text-align: left;"&gt;Enable USB debugging on your phone. To do this go to Settings-&amp;gt;Applications-&amp;gt;Development and enabling “USB Debugging“.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style="text-align: left;"&gt;Now connect your android phone using USB cable to laptop. (You should see notification on phone "USB debugging connected").&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style="text-align: left;"&gt;Now after unziping the downloaded superoneclick.zip run the superoneclick.exe by clicking it.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style="text-align: left;"&gt;In the launched GUI you will see large buttons with "Root", "Allow non market Apps" etc.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div closure_uid_3ou9rr="181" style="text-align: left;"&gt;Click on Root..it will do it's job by running several steps and at last it will run "SU test". If it is success.&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style="text-align: left;"&gt;You finished rooting your phone.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div style="text-align: left;"&gt;Disconnect your phone, disable "USB debugging" and reboot your phone.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div closure_uid_3ou9rr="182" style="text-align: left;"&gt;So from next time onwards if you install any app which requests root access will be notified through a message saying that app was granted super access.&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;P.S&amp;nbsp; : If you root your phone your warranty terms will expire.&amp;nbsp; &lt;br /&gt;
Related : [&lt;a href="http://www.makeuseof.com/tag/root-android-phone-superoneclick-2/"&gt;1&lt;/a&gt;] [&lt;a href="http://superoneclick.en.malavida.com/"&gt;2&lt;/a&gt;] [&lt;a href="http://theunlockr.com/2010/10/11/how-to-root-your-android-phone-superoneclick-method/"&gt;3&lt;/a&gt;]&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-4782578091434883984?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/lLcv6vpOyYs" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-26T00:01:01.527+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/07/root-android-phones-motorola-htc.html</feedburner:origLink></item><item><title>K-Tube (Krishna's page official channel KTube)</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/csSMYWB0dJI/k-tube.html</link><category>Tips</category><category>Mobile Stuff</category><author>Krishnaspage@gmail.com</author><pubDate>Mon, 25 Jul 2011 09:41:14 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-7685087795317211050</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hi All,&lt;br /&gt;
This is my official Tube on which I livecast some of the important events ... &lt;/div&gt;&lt;div closure_uid_jdvmth="152"&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="296" id="utv556601" width="480"&gt;&lt;param name="flashvars" value="autoplay=false&amp;amp;brand=embed&amp;amp;cid=8229384&amp;amp;v3=1"/&gt;&lt;param name="allowfullscreen" value="true"/&gt;&lt;param name="allowscriptaccess" value="always"/&gt;&lt;param name="movie" value="http://www.ustream.tv/flash/viewer.swf"/&gt;&lt;embed flashvars="autoplay=false&amp;amp;brand=embed&amp;amp;cid=8229384&amp;amp;v3=1" width="480" height="296" allowfullscreen="true" allowscriptaccess="always" id="utv556601" name="utv_n_404154" src="http://www.ustream.tv/flash/viewer.swf" type="application/x-shockwave-flash" /&gt;&lt;/object&gt;&lt;/div&gt;&lt;div closure_uid_iqxjlv="156"&gt;&lt;a href="http://www.ustream.tv/" style="background: #ffffff; color: black; display: block; font-size: 10px; font-weight: normal; padding-bottom: 4px; padding-left: 0px; padding-right: 0px; padding-top: 2px; text-align: center; text-decoration: underline; width: 400px;" target="_blank"&gt;Live video by Ustream&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Leave ur valuable comments either in the website or below... &lt;/div&gt;&lt;div closure_uid_jdvmth="154"&gt;&lt;iframe frameborder="0" height="586" scrolling="no" src="http://www.ustream.tv/socialstream/8229384" style="border-bottom: transparent 0px; border-left: transparent 0px; border-right: transparent 0px; border-top: transparent 0px;" width="468"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/div&gt;&lt;div closure_uid_jdvmth="158"&gt;Related Post : &lt;a href="http://www.krishnababug.com/2011/05/how-to-broad-cast-your-live-video-for.html"&gt;http://www.krishnababug.com/2011/05/how-to-broad-cast-your-live-video-for.html&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-7685087795317211050?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/csSMYWB0dJI" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-25T22:11:14.475+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><enclosure url="http://www.ustream.tv/flash/viewer.swf" length="45096" type="application/x-shockwave-flash" /><media:content url="http://www.ustream.tv/flash/viewer.swf" fileSize="45096" type="application/x-shockwave-flash" /><feedburner:origLink>http://www.krishnababug.com/2011/07/k-tube.html</feedburner:origLink></item><item><title>shell script to capture OS and hardware details along with DB2 level and Websphere version details</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/Qix9Zs2BVZI/shell-script-to-capture-os-and-hardware.html</link><category>Shell Scripting</category><author>Krishnaspage@gmail.com</author><pubDate>Tue, 12 Jul 2011 05:32:11 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-4244300087976917744</guid><description>Here I would like post a simple shell script which will help to capture multiple details in a test environment like ..&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Linux OperatingSystem name Version and level&lt;/li&gt;
&lt;li&gt;OS Bit level&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Hardware (Processor) bit level&lt;/li&gt;
&lt;li&gt;DB2 Version and level&lt;/li&gt;
&lt;li&gt;Websphere version and level&lt;/li&gt;
&lt;li&gt;Hostname / IP&lt;/li&gt;
&lt;/ol&gt;&lt;ul style="color: blue;"&gt;&lt;/ul&gt;The important re-usable things in shell script includes extracting the jar file contents in to a desired directory, logging the stdout (Output of shell script) on to a file, validating the number of arguments passed to a shell script etc ....&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Georgia,Garamond,Serif; font-size-adjust: none; font-size: 16px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; height: 500px; line-height: 26px; overflow: scroll; width: 600px;"&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;#!/bin/sh&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;# Log the stdout to a file in parameter 2&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;exec 1&amp;gt; $2&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;if [ $# != "2" ]; then&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "Usage: checkEnv.sh db2inst1 /opt/myEnv.log"&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;exit&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;else&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;&amp;gt; $2&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;chmod 777 $2&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "DCD Build Tested in this environment"&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;for i in `find / -name MgmtCenterVersion.jar`&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;do&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo $i&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;done&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;jar -xvf $i&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "DCD Version and build number:"&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;cat com/ibm/tivoli/cds/MgmtCenterVersion.properties&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;rm -rf com/ META-INF/&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo -e "\n########################################################################## "&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "System information :"&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;uname -a&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;nslookup `hostname`&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "Linux Level:"&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;cat /etc/issue&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "Operating system Bit Level :"&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;getconf WORD_BIT&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "Processor Bit Level : "&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;getconf LONG_BIT&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "Websphere version:"&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;/opt/IBM/WebSphere/AppServer/bin/versionInfo.sh&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;file=`pwd`/$2&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo $file&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "DB2 Version :"&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;su - $1  &amp;lt;&amp;lt; kris  db2level &amp;gt;&amp;gt; $file&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;exit&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;kris&lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;echo "End of Script" &lt;/i&gt;&lt;/div&gt;&lt;div style="color: #a64d79;"&gt;&lt;i&gt;fi&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
Modify it according to your requirements.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-4244300087976917744?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/Qix9Zs2BVZI" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-12T18:02:11.559+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/07/shell-script-to-capture-os-and-hardware.html</feedburner:origLink></item><item><title>class finder in JAR WAR EAR JarScan.jar</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/zVlWh5WGCPU/class-finder-in-jar-war-ear-jarscanjar.html</link><category>Java</category><author>Krishnaspage@gmail.com</author><pubDate>Tue, 21 Jun 2011 06:07:18 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-3018709764293040365</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;It is very much important and most common for many java Developer to search for the required class file in the numurous jars/ ears / wars in the big project code base. So it is very much useful to have a handy tool like &lt;a href="http://www.softpedia.com/get/System/File-Management/JarScan.shtml"&gt;JarScan&lt;/a&gt; in work place. It is very simple and light weight tool which will help in searching the required class files in the big project code.&lt;br /&gt;
&lt;a href="http://www.softpedia.com/get/System/File-Management/JarScan.shtml"&gt;JarScan.jar&lt;/a&gt; file can be downloaded from below link.&lt;br /&gt;
&lt;a href="http://www.softpedia.com/get/System/File-Management/JarScan.shtml"&gt;http://www.softpedia.com/get/System/File-Management/JarScan.shtml&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.softpedia.com/get/System/File-Management/JarScan.shtml"&gt;JarScan&lt;/a&gt; helps when you are having problems finding a class that you need in order to compile your project. It will locate the class files in no time at all.&lt;br /&gt;
Requirements:&lt;br /&gt;
· Java 1.4 or above&lt;br /&gt;
&lt;a href="http://www.softpedia.com/get/System/File-Management/JarScan.shtml"&gt;Download &lt;/a&gt;&lt;br /&gt;
&lt;div style="color: red;"&gt;&lt;b&gt;&amp;nbsp;Usage :&amp;nbsp;&lt;/b&gt;&lt;/div&gt;1. To search class xyz&lt;br /&gt;
&lt;blockquote&gt;&lt;b&gt;java -jar e:\jarscan.jar -class xyz&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;
2.To display the help message type:&amp;nbsp; &lt;br /&gt;
&lt;blockquote&gt;&lt;b&gt;java -jar jarscan.jar -help OR java -jar jarscan.jar&lt;/b&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this this helps my java mate ! :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-3018709764293040365?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/zVlWh5WGCPU" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-21T18:37:18.535+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/06/class-finder-in-jar-war-ear-jarscanjar.html</feedburner:origLink></item><item><title>Shell script to pass arguments and validation of arguments in side shell</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/5vXjaO6rSKA/shell-script-to-pass-arguments-and.html</link><category>UNIX</category><category>Shell Scripting</category><author>Krishnaspage@gmail.com</author><pubDate>Sun, 05 Jun 2011 22:30:52 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-4727678033980564197</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;The below is a simple shell script snippet which accepts two kinds of parameters(1. start 2. -start) while running. &lt;/div&gt;&lt;div style="text-align: justify;"&gt;How to validate these parameters and how to run the shell script accordingly is the main motto :)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;style type="text/css"&gt;
body { margin: 0 0 0 0; padding:0 0 0 0 }
td,div { font-family:Tahoma;font-size:12pt;vertical-align:top }
/* Copyright IBM Corp. 2010  All Rights Reserved.                    */
body { margin: 0 0 0 0; padding:0 0 0 0; overflow:hidden; }
.transcript { background-color:#d2d2d2; }
.messageBlock { padding-left:10px; padding-right:10px; margin-bottom:3px }
.message { padding-left:20px; margin-left:95px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre; white-space:pre-wrap;}
.messageCont { padding-left:20px; margin-left:95px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre;white-space:pre-wrap;}
.other { font-size:11px;color:#39577a;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.myself { font-size:11px;color:#da8103;font-style:normal;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont { font-size:8px;text-align:right; color:#39577a;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.myselfCont { font-size:8px;text-align:right; color:#da8103;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.system { font-size:11px; word-wrap:break-word;color:#da8103;font-style:normal;font-weight:normal; white-space:-moz-pre-wrap; _white-space:pre;white-space:pre-wrap; }
.showTimestamp { padding-left:20px; font-size:11px; float:right; color:#999999;font-style:normal;font-weight:normal; }
.other1 { font-size:11px; color:#ac2000;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont1 { font-size:8px;text-align:right; color:#ac2000;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other2 { font-size:11px; color:#3c9fa8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont2 { font-size:8px;text-align:right; color:#3c9fa8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other3 { font-size:11px; color:#e25614;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont3 { font-size:8px;text-align:right; color:#e25614;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other4 { font-size:11px; color:#0b6ac8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont4 { font-size:8px;text-align:right; color:#0b6ac8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other5 { font-size:11px; color:#b23290;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont5 { font-size:8px;text-align:right; color:#b23290;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other6 { font-size:11px; color:#02e7c7;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont6 { font-size:8px;text-align:right; color:#02e7c7;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other7 { font-size:11px; color:#5b3284;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont7 { font-size:8px;text-align:right; color:#5b3284;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.highlight { background-color:#bed6f8; }
.datestamp { padding-right:0px; font-size:11px; cursor:default; margin-bottom:1px; background-color:#c0c0c0; width:100%; float:left; text-align:right; color:#ffffff; font-weight:bold; font-style:italic; }
#chatAlert { float:left; border-bottom:1px solid #E8D091; padding:6px; width:100%; color:#A5754C; }
#chatAlertImage { float:left; }
#chatAlertText { float:left; margin-left:6px; }
#chatAlertClose { float:right; margin-right:10px; padding-right:6px; margin-top:0px; }
#chatAlertText a { color:#A5754C; }
#chatAlertText a:hover { color:#A5754C; text-decoration:none; }

.tsDisplay { display:block }.dsDisplay { display:block }
&lt;/style&gt;    &lt;/div&gt;&lt;blockquote&gt;&lt;b&gt;set -x&lt;/b&gt;&lt;b&gt;&lt;br /&gt;
if [[ "$1" == "start" || "$1" == "-start" ]]; then&lt;br /&gt;
echo "code for start action"&lt;br /&gt;
else&lt;br /&gt;
echo "Please input valid arguments"&lt;br /&gt;
echo "Usuage: setup.sh start  or setup.sh -start  "&lt;br /&gt;
exit&lt;br /&gt;
fi&lt;/b&gt;&lt;table style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;/table&gt;&lt;b&gt;H&lt;/b&gt;ope this helps in passing parameters to installer like scripts.&amp;nbsp;&lt;table style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;/table&gt;I observed the behavior of the same script differ in different shells like k shell and bash shell&lt;b&gt;. &lt;/b&gt;&lt;table style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;/table&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;table style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;/table&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;table style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;/table&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;table style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-4727678033980564197?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/5vXjaO6rSKA" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-06T11:00:52.346+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/06/shell-script-to-pass-arguments-and.html</feedburner:origLink></item><item><title>MANAGEMENT FUNCTIONS AND BEHAVIOUR (MS 1) IMP Questions and Answers</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/gR6hmqixeJA/management-functions-and-behaviour-ms-1.html</link><category>Readers choice</category><author>Krishnaspage@gmail.com</author><pubDate>Tue, 31 May 2011 07:31:38 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-2760967272488499922</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;I have compiled few improtant questions and their answers while preparing for MANAGEMENT FUNCTIONS AND BEHAVIOUR - MS 1 (MBA-IGNOU) exam. Please find the below PDF. Hope this helps :) &lt;/div&gt;&lt;a href="http://www.scribd.com/doc/56719123/MS-1-Imp-Questions-IGNOU-MANAGEMENT-FUNCTIONS-AND-BEHAVIOUR" style="-x-system-font: none; display: block; font-family: Helvetica,Arial,Sans-serif; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 12px auto 6px auto; text-decoration: underline;" title="View MS 1 Imp Questions IGNOU MANAGEMENT FUNCTIONS AND BEHAVIOUR on Scribd"&gt;MS 1 Imp Questions IGNOU MANAGEMENT FUNCTIONS AND BEHAVIOUR&lt;/a&gt;&lt;iframe class="scribd_iframe_embed" data-aspect-ratio="0.772727272727273" data-auto-height="true" frameborder="0" height="600" id="doc_5119" scrolling="no" src="http://www.scribd.com/embeds/56719123/content?start_page=1&amp;amp;view_mode=list&amp;amp;access_key=key-oqw6qrvvgcstboxvna5" width="100%"&gt;&lt;/iframe&gt;&lt;script type="text/javascript"&gt;
(function() { var scribd = document.createElement("script"); scribd.type = "text/javascript"; scribd.async = true; scribd.src = "http://www.scribd.com/javascripts/embed_code/inject.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(scribd, s); })();
&lt;/script&gt;&lt;/div&gt;Old Papers :[&lt;a href="http://www.ignouguess.com/papers/papers.php?paper_id=9&amp;amp;course_id=5"&gt;1&lt;/a&gt;] [&lt;a href="http://webserver.ignou.ac.in/prevyrpapers/pyq_papers.htm"&gt;2&lt;/a&gt;]&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-2760967272488499922?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/gR6hmqixeJA" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-31T20:01:38.908+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/05/management-functions-and-behaviour-ms-1.html</feedburner:origLink></item><item><title>How to broadcast your live video for streaming on internet ?</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/-QrZz6FOH3Y/how-to-broad-cast-your-live-video-for.html</link><category>Technical</category><category>Tips</category><category>Mobile Stuff</category><author>Krishnaspage@gmail.com</author><pubDate>Mon, 25 Jul 2011 01:52:32 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-4403973530352780358</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="color: red; text-align: center;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;How to broadcast your live streaming video on the internet ? &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;This was most haunted question many computer geeks !This has made very simple with &lt;a href="http://www.livestream.com/"&gt;http://www.livestream.com/&lt;/a&gt; .&lt;br /&gt;
&lt;br /&gt;
&lt;div closure_uid_4oiiv="152"&gt;All you need to have is a good internet connection, Video source (Handy cam / Digi cam / Webcam / Mobile cam with supported Software) and Laptop / computer .&lt;/div&gt;&lt;div closure_uid_4oiiv="152"&gt;&lt;a href="http://www.ustream.tv/"&gt;http://www.ustream.tv/&lt;/a&gt;&amp;nbsp;is another best application which helps live streaming your events on net through phone. &lt;/div&gt;&lt;div closure_uid_4oiiv="152"&gt;If you have an android phone you are ready to livecast your events. Log in to &lt;a href="http://www.ustream.tv/"&gt;http://www.ustream.tv/&lt;/a&gt;&amp;nbsp;and create ur account and share the tube link for ur friends then install the ustream app on your android phone form market &lt;a href="https://market.android.com/details?id=tv.ustream.ustream"&gt;Ustream-app download for android&lt;/a&gt; . Now once ur 3G/Wifi connection is started on your phone you can start your own show. &lt;/div&gt;&lt;div closure_uid_4oiiv="152"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="296" id="utv556601" width="480"&gt;&lt;param name="flashvars" value="autoplay=false&amp;amp;brand=embed&amp;amp;cid=8229384&amp;amp;v3=1"/&gt;&lt;param name="allowfullscreen" value="true"/&gt;&lt;param name="allowscriptaccess" value="always"/&gt;&lt;param name="movie" value="http://www.ustream.tv/flash/viewer.swf"/&gt;&lt;embed flashvars="autoplay=false&amp;amp;brand=embed&amp;amp;cid=8229384&amp;amp;v3=1" width="480" height="296" allowfullscreen="true" allowscriptaccess="always" id="utv556601" name="utv_n_404154" src="http://www.ustream.tv/flash/viewer.swf" type="application/x-shockwave-flash" /&gt;&lt;/object&gt;&lt;br /&gt;
&lt;a href="http://www.ustream.tv/" style="background: #ffffff; color: black; display: block; font-size: 10px; font-weight: normal; padding-bottom: 4px; padding-left: 0px; padding-right: 0px; padding-top: 2px; text-align: center; text-decoration: underline; width: 400px;" target="_blank"&gt;Live video by Ustream&lt;/a&gt;&lt;br /&gt;
&lt;div closure_uid_4oiiv="138"&gt;Once Internet is connected on your laptop login at http://www.livestream.com/ and start your own channel and start Go live and select your video source ! Thats it ! you all set to go LIVE ! :)&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;iframe frameborder="0" height="340" scrolling="no" src="http://cdn.livestream.com/embed/kuube?layout=4&amp;amp;autoplay=false" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; outline-color: invert; outline-style: none; outline-width: 0px;" width="560"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;div style="font-size: 11px; padding-top: 10px; text-align: center; width: 560px;"&gt;&lt;a href="http://www.livestream.com/kuube?utm_source=lsplayer&amp;amp;utm_medium=embed&amp;amp;utm_campaign=footerlinks" title="Watch kuube"&gt;kuube&lt;/a&gt; on livestream.com. &lt;a href="http://www.livestream.com/?utm_source=lsplayer&amp;amp;utm_medium=embed&amp;amp;utm_campaign=footerlinks" title="Broadcast Live Free"&gt;Broadcast Live Free&lt;/a&gt;&lt;/div&gt;The above is my personal channel KUUBE, which K-tube for all my personal live casts !&lt;br /&gt;
Today First time I tried the http://www.livestream.com/ site to broadcast my live videos. &lt;br /&gt;
It is awesome and amazing. Best suits for multiple live broadcasring purposes like interacting with friends &lt;br /&gt;
and live broadcasting your events like parties etc. I got this idea when most of our friends missed to attend one of my friends marriage event. &lt;br /&gt;
Now there is no worry at all. You be any where just connect to http://www.livestream.com/ and broadcast your seld to be close with your loved ones. &lt;br /&gt;
&lt;br /&gt;
Below is my channel "Kuube" it is K-tube for all my live broadcasts&lt;br /&gt;
&lt;br /&gt;
Thanks you all for your great support and happy watching ...&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-4403973530352780358?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/-QrZz6FOH3Y" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-25T14:22:32.503+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><enclosure url="http://www.ustream.tv/flash/viewer.swf" length="45096" type="application/x-shockwave-flash" /><media:content url="http://www.ustream.tv/flash/viewer.swf" fileSize="45096" type="application/x-shockwave-flash" /><feedburner:origLink>http://www.krishnababug.com/2011/05/how-to-broad-cast-your-live-video-for.html</feedburner:origLink></item><item><title>Sreesailam,Ishta kameswari,Alampur Jogulamba,Paataala Ganga, Akkamahadevi Caves</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/7vdczDym--g/sreesailamishta-kameswarialampur.html</link><author>Krishnaspage@gmail.com</author><pubDate>Fri, 01 Apr 2011 05:31:36 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-5209250516467494500</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Trip to Sreesailam, Nallamalai Ishta kameswari and Alampur Jogulamba&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;This time I'm not the planner , I just joined with two of my friends who are very interested to visit this place again.&lt;br /&gt;
Up on my interested request they extended the bookings for me also. Plan was simple start on Friday evening to &lt;a href="http://en.wikipedia.org/wiki/Srisailam"&gt;Sreesailam&lt;/a&gt; by APSRTC bus and reach Sreesailam&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.bloggerspoint.com/tattoos/wp-content/uploads/2008/12/srisailam1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="259" src="http://www.bloggerspoint.com/tattoos/wp-content/uploads/2008/12/srisailam1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
cover the places Sakshi Ganapati, Hatakeswaram , Lalitha peetam, phaala daara - pancha daara , sikaram and Chenchu Lakshmi Museum and visit to main temple of Sri Brahmarambika Mallikarjuna Swamy.&lt;br /&gt;
And next to cover Rope way journey to paataala ganga, Trip to Damn and return journey to Karnool by bus and visit &lt;a href="http://en.wikipedia.org/wiki/Alampur,_Mahbubnagar"&gt;Alampur Jogulamba&lt;/a&gt; on the way before 10:30 to catch Bangalore express train in Karnool.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.indianetzone.com/photos_gallery/14/Mallikarjuna_15565.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="178" src="http://www.indianetzone.com/photos_gallery/14/Mallikarjuna_15565.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
It was well executed with out any interrupts. We reached majestic by 6 thinking that bus will leave sharply at 6:30 PM sharply. But it started at 7 PM and with many stops it reached sreesailam at 9:30 AM. Immediately with the help of a broker we got into one Lodge which was called as Telikala satram. Though we paid unnecessarily to broker we got really brand new AC room and it was a pleasure stay in between the nallamalai hills enjoying the damn view from the hotel room. Good thing is that they provided food for free. &lt;br /&gt;
&lt;br /&gt;
After quick fresh-up we started for local sight seeing to cover Sakshi Ganapati, Hatakeswaram , Lalitha peetam, phaala daara - pancha daara and sikaram by auto paying 50 INR per head. All the places are filled by Siva swamys and they were coming from different places by walk to here. As the road was single lane it was critical for drivers to drive in between. As that was shiva raatri season Temple committee started "Brahmotsavaalu" and full place was crowded with many groups performing different arts in front of Lord shiva. By 1 PM we finished visiting these places and lunch, next plan is to reach&amp;nbsp; NallaMala Ishta kameswari temple by commander jeeps. We were just three people and we have to wait for the jeep to fill minimum 10 people. They were charing around 250 per head and finally around at 2:45 pm we were able to start to that place and the whole road is full of rocks and the road was a difficult for any body to drive, I can say it's a good adventurous journey. I thoroughly enjoyed the ride and the scenic place near the temple. &lt;br /&gt;
&lt;br /&gt;
The ishta kameswari Deity was so beautiful and the temple was very very small. Any body has to bow-down their head and enter in the temple. Finally we were able to return to lodge by 6:45 pm. &lt;br /&gt;
And after fresh-up we visited the main temple and then returned to room and took rest.&lt;br /&gt;
&lt;br /&gt;
The next day early morning we got fresh-up and went to main temple for darshan of Sreesaila Jyotirling and visited "Vrudda mallana" and other small temples inside the premises.Then after breakfast we went to patalaganga by rope-way and visited damn by boat. From there AP tourism is providing packaged tours to Akkamahadevi caves which are quite famous in this place but due to lack of time we couldn't go there. &lt;br /&gt;
&lt;br /&gt;
Finally we returned home and packed-up luggage to catch the Karnool bus. Luckily with uma maheswara swamy blessings we three got seats in the bus. We reached karnool town around at 5 PM , immediately from bus stop we hired one auto to go to Jogulamba temple in alampur for 400 INR. We reached the temple premises very quickly in less than 40 mins due to the village routes chosen by driver. &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.blogger.com/"&gt;&lt;span id="goog_465053388"&gt;&lt;/span&gt;Jogulamba temple in alampur&lt;span id="goog_465053389"&gt;&lt;/span&gt;&lt;/a&gt; is one of the powerful temple among the ashtadasa shakti peetas. There were no bounds to my joy when I see the Tungabadra river in the the evening just beside the temple. It's really worthy trip at the end.&lt;/div&gt;&lt;/div&gt;&lt;iframe allowfullscreen="" frameborder="0" height="344" src="http://www.youtube.com/embed/nJ5x7poAYrg?fs=1" width="425"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-5209250516467494500?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/7vdczDym--g" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-01T18:01:36.632+05:30</app:edited><media:thumbnail url="http://img.youtube.com/vi/nJ5x7poAYrg/default.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/04/sreesailamishta-kameswarialampur.html</feedburner:origLink></item><item><title>Grep multiline pattern between two words. find particular block from set of files.</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/LKBevbkKRhU/grep-multiline-pattern-between-two.html</link><category>Shell Scripting</category><author>Krishnaspage@gmail.com</author><pubDate>Tue, 29 Mar 2011 06:57:02 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-8971830586168762965</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Grep Multi-line pattern between two words. find particular block from set of files. &lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;The below shell script searches the list of java files in the current directory and try to look for the catch blocks that doesn't contain any logger initiated messages.&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Ex file :&lt;/b&gt;&lt;br /&gt;
&lt;div style="font: 16px/26px Georgia,Garamond,Serif; height: 500px; overflow: scroll; width: 600px;"&gt;public class Download extends HttpServlet {&lt;br /&gt;
&lt;br /&gt;
static final String sccsId = "%Z%%M%       %I%  %W% %G% %U%";&lt;br /&gt;
&lt;br /&gt;
private static final PDLogger msgLogger = Logger.getCDSLoggerByName(Logger.PORTAL_LOGGER);&lt;br /&gt;
private static final String className = Download.class.getName();&lt;br /&gt;
&lt;br /&gt;
static PublicKey anonymousPublicKey;&lt;br /&gt;
// standard anonymous public Key&lt;br /&gt;
static {&lt;br /&gt;
try {&lt;br /&gt;
KeyPairGenerator keyGen = null;&lt;br /&gt;
keyGen = KeyPairGenerator.getInstance("RSA");&lt;br /&gt;
keyGen.initialize(1024);&lt;br /&gt;
KeyPair keyPair = keyGen.generateKeyPair();&lt;br /&gt;
anonymousPublicKey = keyPair.getPublic();&lt;br /&gt;
} catch (Exception ex) {&lt;br /&gt;
msgLogger.exception(Level.DEBUG_MIN, className, "{static}", ex);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: left;"&gt;In the above file there is logger initiated message so, the script won't report any thing. But in case it won't find any keyword "logger" in catch block it reports the information.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Shell Script to recognize multi-line pattern :&lt;/b&gt;&lt;br /&gt;
&lt;div style="font: 16px/26px Georgia,Garamond,Serif; height: 500px; overflow: scroll; width: 600px;"&gt;#!/bin/sh&lt;br /&gt;
echo "Starting Recursive catch block search on the Dir : `pwd`"&lt;br /&gt;
fileCount=1&lt;br /&gt;
for i in `find . -name '*.java'`&lt;br /&gt;
do&lt;br /&gt;
echo "Working with file no:$fileCount and the file is:$i"&lt;br /&gt;
let fileCount="fileCount+1"&lt;br /&gt;
ttl=`cat $i | wc -l`&lt;br /&gt;
n=1&lt;br /&gt;
TTL=`cat $i | grep -c catch`&lt;br /&gt;
while read line&lt;br /&gt;
do&lt;br /&gt;
&lt;br /&gt;
found=`echo $line | grep -i "catch" | sed 's/ //g' | cut -d "(" -f1`&lt;br /&gt;
if [ $found ]; then&lt;br /&gt;
while [ $n -le $TTL ]&lt;br /&gt;
do&lt;br /&gt;
begLineno=`grep -n catch $i | sed -n "$n"p | cut -d ":" -f1`&lt;br /&gt;
EndLineno=`sed = $i | sed 'N;s/\n/:/' | sed -n $begLineno,${ttl}p | grep -v "catch" | grep "}" | sed -n 1p | cut -d ":" -f1`&lt;br /&gt;
Logfound=`sed -n $begLineno,${EndLineno}p $i | grep -i Logger | sed 's/ //g' | cut -d "(" -f1 | sed -n 1p`&lt;br /&gt;
if [ $Logfound ]; then&lt;br /&gt;
echo "Logger message found In the $begLineno,$EndLineno Range Catch block" &amp;gt;&amp;gt; FoundLog.log&lt;br /&gt;
else&lt;br /&gt;
echo "No Logger messages(s)found In the $begLineno,$EndLineno Range Catch block in file $i" &amp;gt;&amp;gt; NotFound.log &lt;br /&gt;
fi&lt;br /&gt;
n=`expr $n + 1`&lt;br /&gt;
done&lt;br /&gt;
fi&lt;br /&gt;
done&amp;lt;$i&lt;br /&gt;
done&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;b&gt;Hope this helps ! &lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-8971830586168762965?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/LKBevbkKRhU" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-29T19:27:02.948+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/03/grep-multiline-pattern-between-two.html</feedburner:origLink></item><item><title>eWAS installation and Configuration</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/Py0bwtd4zts/ewas-installation-and-configuration.html</link><category>Websphere</category><author>Krishnaspage@gmail.com</author><pubDate>Tue, 15 Mar 2011 03:43:44 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-2616664899998901125</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Since long time I know that there exists a eWAS which is express edition, but never played with it. &lt;br /&gt;
Today I got a chance to play with and deploy my project in it. &lt;br /&gt;
&lt;br /&gt;
I got the installers from the below urls&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://bob.greenock.uk.ibm.com/tgl_build/embedded_products/ewas/7.0.0.7/EmbeddedExpress_wintel_ia32.zip"&gt;http://bob.greenock.uk.ibm.com/tgl_build/embedded_products/ewas/7.0.0.7/EmbeddedExpress_wintel_ia32.zip&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://bob.greenock.uk.ibm.com/tgl_build/embedded_products/ewas/7.0.0.7/EmbeddedExpress_linux_ia32.zip"&gt;http://bob.greenock.uk.ibm.com/tgl_build/embedded_products/ewas/7.0.0.7/EmbeddedExpress_linux_ia32.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Installation : &lt;br /&gt;
It's simple zip file which will be extracted to desired location when we pass the path where it has to be &lt;br /&gt;
by running the below command &lt;br /&gt;
&lt;br /&gt;
nc184197:/opt/builds/eWAS7 #&lt;b&gt; ./install.sh -installRoot /opt/IBM/EWAS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
+---------------------------------------+&lt;br /&gt;
+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EWAS Version 7.0 Install&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&lt;br /&gt;
+---------------------------------------+&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Validating target directory ...&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Copying files ...&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Setting permissions ...&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Installation complete.&lt;br /&gt;
&lt;br /&gt;
Now the next job is to create a profile : &lt;br /&gt;
nc184197:/opt/IBM/EWAS/bin # &lt;b&gt;./manageprofiles.sh -create -templatePath /opt/IBM/EWAS/profileTemplates/default/ -profileName AppSrv01 -profilePath /opt/IBM/EWAS/AppServer/AppSrv01&lt;/b&gt;&lt;br /&gt;
INSTCONFSUCCESS: Success: Profile AppSrv01 now exists. Please consult /opt/IBM/EWAS/AppServer/AppSrv01/logs/AboutThisProfile.txt for more information about this profile.&lt;br /&gt;
nc184197:/opt/IBM/EWAS/bin #&lt;br /&gt;
nc184197:/opt/IBM/EWAS/AppServer/AppSrv01/bin # &lt;b&gt;./startServer.sh server1&lt;/b&gt;&lt;br /&gt;
ADMU0116I: Tool information is being logged in file&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/IBM/EWAS/AppServer/AppSrv01/logs/server1/startServer.log&lt;br /&gt;
ADMU0128I: Starting tool with the AppSrv01 profile&lt;br /&gt;
ADMU3100I: Reading configuration for server: server1&lt;br /&gt;
ADMU3200I: Server launched. Waiting for initialization status.&lt;br /&gt;
ADMU3000I: Server server1 open for e-business; process id is 16248&lt;br /&gt;
I guess rest of the things are simple and same ... &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-2616664899998901125?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/Py0bwtd4zts" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-15T16:13:44.171+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/03/ewas-installation-and-configuration.html</feedburner:origLink></item><item><title>SQL1013N  The database alias name or database name ..could not be found SQL0843N</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/L5jRE5vLQx4/sql1013n-database-alias-name-or.html</link><category>DB2</category><category>Database</category><author>Krishnaspage@gmail.com</author><pubDate>Fri, 18 Feb 2011 03:07:16 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-7922209238941098197</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b style="color: red;"&gt;&amp;nbsp;While creating New databse If you are facing any of the below errors .. please follow the below solution&lt;/b&gt;.&lt;br /&gt;
db2inst1@nc184158:~/db2inst1/NODE0000/SQL00001&amp;gt; db2 -tf /opt/builds/DCD1321/MC/cds_db2_admin.sql&lt;br /&gt;
SQL1005N&amp;nbsp; The database alias "CDSDB" already exists in either the local&lt;br /&gt;
database directory or system database directory.&lt;br /&gt;
&lt;br /&gt;
SQL1013N&amp;nbsp; The database alias name or database name "CDSDB" could not be found.&lt;br /&gt;
SQLSTATE=42705&lt;br /&gt;
&lt;br /&gt;
DB21034E&amp;nbsp; The command was processed as an SQL statement because it was not a&lt;br /&gt;
valid Command Line Processor command.&amp;nbsp; During SQL processing it returned:&lt;br /&gt;
SQL1024N&amp;nbsp; A database connection does not exist.&amp;nbsp; SQLSTATE=08003&lt;br /&gt;
&lt;br /&gt;
SQL0843N&amp;nbsp; The server name does not specify an existing connection.&lt;br /&gt;
SQLSTATE=08003&lt;br /&gt;
&lt;br /&gt;
SQL1013N&amp;nbsp; The database alias name or database name "CDSDB" could not be found.&lt;br /&gt;
SQLSTATE=42705&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SQL1005N The database alias "&amp;lt;name&amp;gt;" already exists&lt;br /&gt;
&lt;br /&gt;
&lt;b style="color: red;"&gt;Solution &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. Db2 get dbm cfg | grep DFTDBPATH ( if unix , windows check for DFTDBPATH)&lt;br /&gt;
2. Db2 catalog db dbname on DFTDBPATH&lt;br /&gt;
3. Db2 terminate&lt;br /&gt;
4. Db2 drop db dbname&lt;br /&gt;
5. Then create db&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-7922209238941098197?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/L5jRE5vLQx4" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-18T16:37:16.786+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/02/sql1013n-database-alias-name-or.html</feedburner:origLink></item><item><title>How to change the location of Data file used by a Table space in Oracle?</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/a8XPFi-1zPU/how-to-change-location-of-datable-used.html</link><category>Database</category><category>Oracle</category><author>Krishnaspage@gmail.com</author><pubDate>Fri, 27 May 2011 03:11:39 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-4299401948465319691</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;&amp;nbsp;&lt;span style="color: red;"&gt;How to change the location of Datable used by a Table space in Oracle?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Process to change the location of TABLE SPACE file in oracle :&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Note :&lt;/b&gt; The below steps are very sensitive; not run by normal  users. It is recommended to run with the help of Oracle DBA prior taking  backups. If any problem happens the old data might be lost.&lt;br /&gt;
&amp;nbsp;1. Confirm and note down the existing Data file location for both&amp;nbsp; CDS_TEMP_TS and CDS_TS by running the SQL commands.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; Ex : current Data file locations are&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\ORACLE\PRODUCT\10.2.0\DB\DATABASE\CDS_TEMP_TS.DBF&lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; C:\ORACLE\PRODUCT\10.2.0\DB\DATABASE\CDS_TS.DBF&lt;/li&gt;
&lt;/ul&gt;&amp;nbsp;2. Down the Oracle instance by running below command in the SQL prompt.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;SQL &amp;gt; shutdown immediate;&lt;/li&gt;
&lt;/ul&gt;&amp;nbsp;3. Now identify the new location where you want to maintain your new  data files; and move the CDS_TEMP_TS.DBF and CDS_TS.DBF files from old  location to new location manually.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ex : For new location of Data files.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;C:\DCD_DB\CDS_TEMP_TS.DBF&lt;/li&gt;
&lt;li&gt;C:\DCD_DB\CDS_TS.DBF&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&amp;nbsp;4. Come out of the sql prompt and re login to SQL prompt separately&lt;br /&gt;
slplus sys as sysdba; Provide password and connect to idle instance.&lt;br /&gt;
&amp;nbsp;5.start the Oracle and mount it with the below command&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;SQL&amp;gt; startup mount;ORACLE instance started.Total System Global Area&amp;nbsp; 612368384 bytes&lt;br /&gt;
Fixed Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1250428 bytes&lt;br /&gt;
Variable Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 188746628 bytes&lt;br /&gt;
Database Buffers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 415236096 bytes&lt;br /&gt;
Redo Buffers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7135232 bytes&lt;br /&gt;
Database mounted.&lt;br /&gt;
&amp;nbsp;6. Now run the below commands at SQL&amp;gt; to associate the new data file location with database.&lt;/li&gt;
&lt;li&gt;alter database rename file 'C:\oracle\product\10.2.0\db\database\CDS_TEMP_TS.DBF' to 'C:\DCD_DB\CDS_TEMP_TS.DBF';&lt;/li&gt;
&lt;li&gt;alter database rename file 'C:\oracle\product\10.2.0\db\database\CDS_TS.DBF' to 'C:\DCD_DB\CDS_TS.DBF';&lt;/li&gt;
&lt;li&gt;alter database open;&lt;/li&gt;
&lt;/ul&gt;&amp;nbsp;7. Now exit the existing SQL prompt and relogin to new SQL prompt.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;sqlplus "sys/oracle@orcl as sysdba"&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&amp;nbsp;8. Now check the new Data file locations by running the below  commands at SQL prompt; to confirm the usage of new Data file locations  by your database.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&amp;nbsp;SQL&amp;gt; select tablespace_name,file_name from dba_temp_files where tablespace_name LIKE 'CDS%';&lt;/li&gt;
&lt;li&gt;&amp;nbsp;SQL&amp;gt; select tablespace_name,file_name from dba_data_files where tablespace_name LIKE 'CDS%';&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&amp;nbsp;9. Now Start your DCD and check the working of DCD and observe the old data as well.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Where are Oracle logs Reflecting this ?&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; show parameter dump;&lt;br /&gt;
NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE&lt;br /&gt;
----------------------------------&lt;del&gt;- -&lt;/del&gt;-------&lt;del&gt;- -&lt;/del&gt;----------------------------&lt;br /&gt;
background_core_dump&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; partial&lt;br /&gt;
background_dump_dest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\ORACLE\PRODUCT\10.2.0\ADMIN&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \ORCL\BDUMP&lt;br /&gt;
core_dump_dest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\ORACLE\PRODUCT\10.2.0\ADMIN&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \ORCL\CDUMP&lt;br /&gt;
max_dump_file_size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNLIMITED&lt;br /&gt;
shadow_core_dump&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; partial&lt;br /&gt;
user_dump_dest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\ORACLE\PRODUCT\10.2.0\ADMIN&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \ORCL\UDUMP&lt;br /&gt;
SQL&amp;gt;&lt;br /&gt;
&lt;b&gt;C:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\bdump&lt;/b&gt;&lt;br /&gt;
check the &lt;b&gt;" alert_orcl.log "&lt;/b&gt; which shows the commands and details used to create  CDS_TEMP_TS and CDS_TS.&lt;br /&gt;
&lt;br /&gt;
Reference : &lt;span class="nobr"&gt;&lt;/span&gt;&lt;a href="http://www.orafaq.com/wiki/Move_datafile_to_different_location" rel="nofollow" title="Visit page outside WikiCentral"&gt;http://www.orafaq.com/wiki/Move_datafile_to_different_location&amp;nbsp;&lt;/a&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-4299401948465319691?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/a8XPFi-1zPU" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-27T15:41:39.274+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2011/01/how-to-change-location-of-datable-used.html</feedburner:origLink></item><item><title>Unlock BSNL 3G Teracom data card use it with Airtel and Vodafone Model no : LW272</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/6OM7r2c34sU/unlock-bsnl-3g-teracom-data-card-use-it.html</link><category>Tips</category><category>Mobile Stuff</category><category>Microsoft</category><author>Krishnaspage@gmail.com</author><pubDate>Tue, 21 Dec 2010 03:10:02 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-4642199595039173875</guid><description>&lt;div style="text-align: center;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;b style="color: red;"&gt;How to Unlock BSNL 3G data card to use it with Airtel and Vodafone Model no : LW272&lt;/b&gt;&lt;span style="color: red;"&gt; ? &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img843.imageshack.us/img843/2598/bsnl3gdatacard6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="222" src="http://img843.imageshack.us/img843/2598/bsnl3gdatacard6.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="color: black;"&gt;How to unlock BSNL 3G data card( Model no : LW272 )use it with Airtel and Vodafone TATA DOCOMO etc.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: black;"&gt;I have purchased my BSNL 3G device ( Model no : LW272 ) in the start of year 2009, during this time no other providers were not available in the 3G market.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;But time changes and slowly players like Docomo, Airtel and Vodafone etc guys entering market. So I was curious to know/try whether the same BSNL USB Data card can help me if I would like to shift to new operator in future. Luckly my device is not Hardware locked but it is just software locked. If it is hardware locked also we need to flash the memory.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;In this BSBL 3G teracome device model no LW272 it is just interface software locked. Thats why it shows " Unauthorised sim, your modem will get closed now" . &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: black;"&gt;So I tried the below steps and worked fine for me with vodafone 2G using Vodafone Mobile connect plan.(Post paid 350/month unlimited).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: black;"&gt;1. Install BSNL 3G software initially comes with the device to support the modem by installing the drivers.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;2. Then check if you have still BSNL 3G sim working whether is connecting or not.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;3. Once it is working as expected , go to the install location of BSNL 3G device software Ex : C:\Program Files\BSNL 3G Data Card\BSNL 3G and rename the BSNL 3G.exe to some thing else.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;To prevent it running from the start of device.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;4. Now create one new dial up connection by selecting the device HSPA DataCardPropritary USB MODEM&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;5. while creating dialup connection use dialing number *99#&amp;nbsp; ;&amp;nbsp; user name and password will be blank. (depending on the signal provider dialing number might change; but for Vodafone *99# is working)&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;6. Now disconnect the device and remove BSNL sim and keep the other sim card ex : Vodafone.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;7. Just wait for 30 sec till the 3G usb LED glows to Green. Unless it glows green you cant do any thing.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;8. Now just click connect for the dialup you created already. &lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;9. Now you are all set to use the BSNL device for other operators also.&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;10. enjoy your Internet now ! &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: black;"&gt;Hopefully same steps hold good for Vodafone 3G also which is coming soon ! &lt;/span&gt;&lt;/div&gt;&lt;span style="color: black;"&gt;&lt;br /&gt;
Referecne : [&lt;a href="http://forumz.in/4569-how-unlock-bsnl-3g-data-card-teracom-lw272/"&gt;1&lt;/a&gt;] [&lt;a href="http://www.saveondish.com/forum/thread-32653.html"&gt;2&lt;/a&gt;]&lt;br /&gt;
Special Thanks to &lt;/span&gt;&lt;a href="http://www.dreamit.co.in/%20"&gt;&lt;span style="color: black;"&gt;http://www.dreamit.co.in/ &lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-4642199595039173875?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/6OM7r2c34sU" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-21T16:40:02.154+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">54</thr:total><feedburner:origLink>http://www.krishnababug.com/2010/12/unlock-bsnl-3g-teracom-data-card-use-it.html</feedburner:origLink></item><item><title>Redirecting SQL select query output to HTML file - shell script, spool</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/VQBYwdrDVzk/redirecting-sql-select-query-output-to.html</link><category>Shell Scripting</category><category>Database</category><category>Oracle</category><author>Krishnaspage@gmail.com</author><pubDate>Fri, 27 May 2011 03:11:39 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-5098183087834920360</guid><description>&lt;div&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;This post main aim is to redirect the SQL select  query output to a file for example to make a simple HTML file to display the  select query output.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;In this example I created two sample files one is  1.sh and another one is select.sh &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: blue; font-family: Verdana; font-size: x-small;"&gt;&lt;b&gt;&lt;span style="color: black;"&gt;File  1:&lt;/span&gt;&lt;/b&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: blue; font-family: Verdana; font-size: x-small;"&gt;bash-3.00# cat 1.sh&lt;br /&gt;
sqlplus &lt;a href="mailto:PV_ADMIN/PV@PV"&gt;PV_ADMIN/PV@PV&lt;/a&gt;&amp;lt;&amp;lt;  EOF&lt;br /&gt;
@select.sql&lt;br /&gt;
exit&lt;br /&gt;
EOF&lt;/span&gt;&lt;/div&gt;&lt;span style="color: blue; font-family: Verdana; font-size: x-small;"&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span style="color: blue; font-family: Verdana; font-size: x-small;"&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="color: black;"&gt;File 2 :&lt;/span&gt;&lt;/b&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: blue; font-family: Verdana; font-size: x-small;"&gt;bash-3.00# cat select.sql&lt;br /&gt;
set  linesize 200&lt;br /&gt;
set pages 1000&lt;br /&gt;
set feedback off&lt;br /&gt;
set markup html on spool  on&lt;br /&gt;
spool test.html&lt;br /&gt;
select * from PV_REPORT.AGINFO;&lt;br /&gt;
spool  off;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;&lt;b&gt;so when I run the 1.sh it simply calls  select.sh to spool the output to a test.html which will contain the select of  the required SQL query.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span style="color: blue; font-family: Verdana; font-size: x-small;"&gt;&lt;/span&gt; &lt;br /&gt;
&lt;div&gt;&lt;/div&gt;&lt;span style="color: blue; font-family: Verdana; font-size: x-small;"&gt;&lt;/span&gt; &lt;br /&gt;
&lt;div&gt; &lt;b&gt;Another simple file&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;bash-3.00# cat selctftp.sh&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;#!/bin/sh&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;#&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;# This script will make connection to Proviso DB&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;# and selects the data required from a particular&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;# table to populate it in a file and uploads to&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;# your target server&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;#&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;#&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;NOW=`(date +"%b-%d-%y")`&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;echo $NOW&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;echo "$0 Running on $NOW"&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;LOGFILE="log-$NOW.log"&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;echo $LOGFILE&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;su - oracle&amp;nbsp; &amp;lt;&lt;kk&gt;&lt;/kk&gt;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;id&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;sqlplus PV_ADMIN/PV@PV&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;set wrap off&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;spool $LOGFILE&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;select * from PV_REPORT.AGINFO;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;sppol off&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;quit&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;kk&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-5098183087834920360?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/VQBYwdrDVzk" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-27T15:41:39.276+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2010/09/redirecting-sql-select-query-output-to.html</feedburner:origLink></item><item><title>Indian government services online</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/US-a26d2XvU/indian-government-services-online.html</link><category>Tips</category><author>Krishnaspage@gmail.com</author><pubDate>Wed, 29 Sep 2010 03:09:13 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-4857197629428731655</guid><description>&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Times New Roman;"&gt;&lt;span style="font-size: 12pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;b&gt;&lt;span style="color: navy; font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 10pt; font-weight: bold;"&gt;Kindly save it...... All government  office related links are available.... &lt;br /&gt;
This section provides you with  information and useful links to avail various Citizen Services being provided by  the Central &amp;amp; State/UT Governments in &lt;st1:place w:st="on"&gt;&lt;st1:country-region w:st="on"&gt;India&lt;/st1:country-region&gt;&lt;/st1:place&gt;.  The list, however, is not exhaustive, as they are committed to adding more and  more information about other services for which citizens and other stakeholders  need to interact with the Government. Hope this is helpful for  you...&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: 10pt;"&gt; &lt;br /&gt;
&lt;span style="color: #0082bf;"&gt;&lt;span style="color: #0082bf;"&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-weight: bold;"&gt;Obtain: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Birth Certificate  &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=1" target="_blank" title="http://www.india.gov.in/howdo/howdoi.php?service=1CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/howdoi.php?service=1&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; Caste Certificate &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=4" target="_blank"&gt;http://www.india.gov.in/howdo/howdoi.php?service=4&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; Tribe Certificate &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=8" target="_blank" title="http://www.india.gov.in/howdo/otherservice_details.php?service=8CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=8&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Domicile Certificate &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=5" target="_blank" title="http://www.india.gov.in/howdo/howdoi.php?service=5CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/howdoi.php?service=5&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; Driving Licence &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=6" target="_blank" title="http://www.india.gov.in/howdo/howdoi.php?service=6CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/howdoi.php?service=6&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; Marriage Certificate &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=3" target="_blank" title="http://www.india.gov.in/howdo/howdoi.php?service=3CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/howdoi.php?service=3&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; Death Certificate &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=2" target="_blank" title="http://www.india.gov.in/howdo/howdoi.php?service=2CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/howdoi.php?service=2&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; Search More - How do I &amp;lt;&lt;a href="http://www.india.gov.in/howdo/advancedsearch.php" target="_blank"&gt;http://www.india.gov.in/howdo/advancedsearch.php&lt;/a&gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;
Apply for: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; PAN Card  &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=15" target="_blank" title="http://www.india.gov.in/howdo/otherservice_details.php?service=15CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=15&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; TAN Card &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=3" target="_blank" title="http://www.india.gov.in/howdo/otherservice_details.php?service=3CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=3&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Ration Card &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=7" target="_blank" title="http://www.india.gov.in/howdo/howdoi.php?service=7CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/howdoi.php?service=7&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; Passport &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=2" target="_blank" title="http://www.india.gov.in/howdo/otherservice_details.php?service=2CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=2&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Inclusion of name in the Electoral Rolls &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=10" target="_blank" title="http://www.india.gov.in/howdo/howdoi.php?service=10CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/howdoi.php?service=10&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; Search More - How do I &amp;lt;&lt;a href="http://www.india.gov.in/howdo/advancedsearch.php" target="_blank"&gt;http://www.india.gov.in/howdo/advancedsearch.php&lt;/a&gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;
Register: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp;  Land/Property &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=9" target="_blank"&gt;http://www.india.gov.in/howdo/howdoi.php?service=9&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; Vehicle &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=13" target="_blank"&gt;http://www.india.gov.in/howdo/howdoi.php?service=13&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; With State Employment Exchange &amp;lt;&lt;a href="http://www.india.gov.in/howdo/howdoi.php?service=12" target="_blank"&gt;http://www.india.gov.in/howdo/howdoi.php?service=12&lt;/a&gt;&amp;gt; &lt;br /&gt;
*  &amp;nbsp; As Employer &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=17" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=17&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Company &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=19" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=19&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; .IN Domain &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=18" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=18&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; &lt;a href="http://gov.in/" target="_blank" title="http://gov.in/CTRL + Click to follow link"&gt;GOV.IN&lt;/a&gt; Domain &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=25" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=25&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Search More - How do I &amp;lt;&lt;a href="http://www.india.gov.in/howdo/advancedsearch.php" target="_blank"&gt;http://www.india.gov.in/howdo/advancedsearch.php&lt;/a&gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;
Check/Track: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Waiting  list status for Central Government Housing &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=9" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=9&lt;/a&gt;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Status of Stolen Vehicles &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=1" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=1&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Land Records &amp;lt;&lt;a href="http://www.india.gov.in/landrecords/index.php" target="_blank"&gt;http://www.india.gov.in/landrecords/index.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Causelist of Indian Courts &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=7" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=7&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Court Judgements (JUDIS ) &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=24" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=24&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Daily Court Orders/Case Status &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=21" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=21&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Acts of Indian Parliament &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=13" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=13&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Exam Results &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=16" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=16&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Speed Post Status &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=10" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=10&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Agricultural Market Prices Online &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=6" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=6&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Search More - How do I &amp;lt;&lt;a href="http://www.india.gov.in/howdo/advancedsearch.php" target="_blank"&gt;http://www.india.gov.in/howdo/advancedsearch.php&lt;/a&gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;
Book/File/Lodge: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Train  Tickets Online &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=5" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=5&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Air Tickets Online &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=4" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=4&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Income Tax Returns &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=12" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=12&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Complaint with Central Vigilance Commission (CVC) &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=14" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=14&lt;/a&gt;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Search More - How do I &amp;lt;&lt;a href="http://www.india.gov.in/howdo/advancedsearch.php" target="_blank"&gt;http://www.india.gov.in/howdo/advancedsearch.php&lt;/a&gt;&amp;gt;  &lt;br /&gt;
&lt;b&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;
Contribute to: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
*  &amp;nbsp; Prime Minister's Relief Fund &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=11" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=11&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Search More - How do I &amp;lt;&lt;a href="http://www.india.gov.in/howdo/advancedsearch.php" target="_blank"&gt;http://www.india.gov.in/howdo/advancedsearch.php&lt;/a&gt;&amp;gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;
Others: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Send Letters  Electronically &amp;lt;&lt;a href="http://www.india.gov.in/howdo/otherservice_details.php?service=20" target="_blank"&gt;http://www.india.gov.in/howdo/otherservice_details.php?service=20&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Search More - How do I &amp;lt;&lt;a href="http://www.india.gov.in/howdo/advancedsearch.php" target="_blank"&gt;http://www.india.gov.in/howdo/advancedsearch.php&lt;/a&gt;&amp;gt; &lt;span style="color: #004080;"&gt;&lt;span style="color: #004080;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;b&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;
Recently Added Online Services&lt;span style="color: #004080;"&gt;&lt;span style="color: #004080;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
*  &amp;nbsp; Tamil Nadu: Online application of marriage certificate for persons having  registered their marriages &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2691" target="_blank"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2691&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Tamil Nadu: Online District wise soil Details of Tamil Nadu &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2693" target="_blank" title="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2693CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2693&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Tamil Nadu: View Water shed Atlas of Tamil Nadu &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2694" target="_blank" title="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2694CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2694&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Tamil Nadu: E-Pension District Treasury Tirunelveli &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2695" target="_blank"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2695&lt;/a&gt;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Meghalaya: Search Electoral Roll Online by Name (2008) &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2697" target="_blank"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2697&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Meghalaya: Search Electoral Roll Online by EPIC number (2008)  &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2698" target="_blank" title="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2698CTRL + Click to follow link"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2698&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Meghalaya: Search Electoral Roll Online by House number (2008)  &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2699" target="_blank"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2699&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Meghalaya: Search Electoral Roll Online by Part number (2008)  &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2700" target="_blank"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2700&lt;/a&gt;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Himachal Pradesh: Revised Pay and Arrears Calculator-Fifth Pay  &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2702" target="_blank"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2702&lt;/a&gt;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Andhra Pradesh: Online Motor Driving School Information &amp;lt;&lt;a href="http://www.india.gov.in/howdo/onlineservice_detail.php?service=2705" target="_blank"&gt;http://www.india.gov.in/howdo/onlineservice_detail.php?service=2705&lt;/a&gt;&amp;gt;&lt;span style="color: #004080;"&gt;&lt;span style="color: #004080;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;
Global Navigation&lt;span style="color: #004080;"&gt;&lt;span style="color: #004080;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
* &amp;nbsp; Citizens  &amp;lt;&lt;a href="http://www.india.gov.in/citizen.php" target="_blank"&gt;http://www.india.gov.in/citizen.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Business  (External website that opens in a new window) &amp;lt;&lt;a href="http://business.gov.in/" target="_blank"&gt;http://business.gov.in/&lt;/a&gt;&amp;gt;  &lt;br /&gt;
* &amp;nbsp; Overseas &amp;lt;&lt;a href="http://www.india.gov.in/overseas.php" target="_blank"&gt;http://www.india.gov.in/overseas.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Government &amp;lt;&lt;a href="http://www.india.gov.in/govt.php" target="_blank"&gt;http://www.india.gov.in/govt.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Know India  &amp;lt;&lt;a href="http://www.india.gov.in/knowindia.php" target="_blank"&gt;http://www.india.gov.in/knowindia.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Sectors  &amp;lt;&lt;a href="http://www.india.gov.in/sector.php" target="_blank"&gt;http://www.india.gov.in/sector.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Directories &amp;lt;&lt;a href="http://www.india.gov.in/directories.php" target="_blank"&gt;http://www.india.gov.in/directories.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Documents &amp;lt;&lt;a href="http://www.india.gov.in/documents.php" target="_blank"&gt;http://www.india.gov.in/documents.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Forms  &amp;lt;&lt;a href="http://www.india.gov.in/forms/forms.php" target="_blank"&gt;http://www.india.gov.in/forms/forms.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Acts  &amp;lt;&lt;a href="http://www.india.gov.in/govt/acts.php" target="_blank"&gt;http://www.india.gov.in/govt/acts.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Rules  &amp;lt;&lt;a href="http://www.india.gov.in/govt/rules.php" target="_blank"&gt;http://www.india.gov.in/govt/rules.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Schemes &amp;lt;&lt;a href="http://www.india.gov.in/govt/schemes.php" target="_blank"&gt;http://www.india.gov.in/govt/schemes.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Tenders &amp;lt;&lt;a href="http://www.india.gov.in/tenders.php" target="_blank"&gt;http://www.india.gov.in/tenders.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Home  &amp;lt;&lt;a href="http://www.india.gov.in/default.php" target="_blank"&gt;http://www.india.gov.in/default.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; About the  Portal &amp;lt;&lt;a href="http://www.india.gov.in/abouttheportal.php" target="_blank"&gt;http://www.india.gov.in/abouttheportal.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Site Map &amp;lt;&lt;a href="http://www.india.gov.in/sitemap.php" target="_blank"&gt;http://www.india.gov.in/sitemap.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Link to  Us &amp;lt;&lt;a href="http://www.india.gov.in/linktous.php" target="_blank"&gt;http://www.india.gov.in/linktous.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Suggest  to a Friend &amp;lt;&lt;a href="http://www.india.gov.in/suggest/suggest.php" target="_blank"&gt;http://www.india.gov.in/suggest/suggest.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Help &amp;lt;&lt;a href="http://www.india.gov.in/help.php" target="_blank"&gt;http://www.india.gov.in/help.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Terms of Use  &amp;lt;&lt;a href="http://www.india.gov.in/termscondtions.php" target="_blank"&gt;http://www.india.gov.in/termscondtions.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Feedback &amp;lt;&lt;a href="http://www.india.gov.in/feedback.php" target="_blank"&gt;http://www.india.gov.in/feedback.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp; Contact  Us &amp;lt;&lt;a href="http://www.india.gov.in/contactus.php" target="_blank"&gt;http://www.india.gov.in/contactus.php&lt;/a&gt;&amp;gt; &lt;br /&gt;
* &amp;nbsp;  Accessibility Statement &amp;lt;&lt;a href="http://www.india.gov.in/accessibilitystatement.php" target="_blank"&gt;http://www.india.gov.in/accessibilitystatement.php&lt;/a&gt;&amp;gt;  &lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;div&gt;&lt;div bgcolor="#ffffff" link="blue" name="Compose message area" vlink="purple"&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Times New Roman; font-size: small;"&gt;&lt;span style="font-size: 12pt;"&gt;&lt;o:p&gt;&lt;br /&gt;
&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-4857197629428731655?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/US-a26d2XvU" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-29T15:39:13.765+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://www.krishnababug.com/2010/09/indian-government-services-online.html</feedburner:origLink></item><item><title>shell script to upload/ftp files to remote machine automatically</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/YWZWJ7_katg/shell-script-to-uploadftp-files-to.html</link><category>UNIX</category><category>Shell Scripting</category><author>Krishnaspage@gmail.com</author><pubDate>Wed, 15 Sep 2010 00:21:09 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-5736441517552362281</guid><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;div style="color: red; text-align: center;"&gt;&lt;b&gt;Shell script to upload files using FTP from one machine to remote machine automatically&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
The below simple shell script will automate the FTP steps, to upload file(s) from one machine to other easily ...&lt;br /&gt;
edit it according to ur convinece ..&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Georgia,Garamond,Serif; font-size-adjust: none; font-size: 16px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; height: 500px; line-height: 26px; overflow: scroll; width: 600px;"&gt;&lt;span style="color: #000099;"&gt;&lt;b&gt;nc184120:/opt/builds # cat ftp.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
HOST='9.142.193.94'&lt;br /&gt;
USER='root'&lt;br /&gt;
PASSWD='havefun'&lt;br /&gt;
&lt;br /&gt;
ftp -i -n $HOST &amp;lt;&amp;lt;kris&lt;br /&gt;
user ${USER} ${PASSWD}&lt;br /&gt;
&lt;br /&gt;
binary&lt;br /&gt;
cd /opt&lt;br /&gt;
put cds_db2_admin.sql&lt;br /&gt;
quit&lt;br /&gt;
kris&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
nc184120:/opt/builds # ./ftp.sh&lt;br /&gt;
Connected to virgo.in.ibm.com.&lt;br /&gt;
220-FTP Server (user 'krishna.g@in.ibm.com')&lt;br /&gt;
220&lt;br /&gt;
331-Password:&lt;br /&gt;
331&lt;br /&gt;
230-230 User root logged in.&lt;br /&gt;
230&lt;br /&gt;
Remote system type is UNIX.&lt;br /&gt;
Using binary mode to transfer files.&lt;br /&gt;
200 Type set to I.&lt;br /&gt;
250 CWD command successful.&lt;br /&gt;
local: cds_db2_admin.sql remote: cds_db2_admin.sql&lt;br /&gt;
229 Entering Extended Passive Mode (|||64693|)&lt;br /&gt;
150 Opening BINARY mode data connection for cds_db2_admin.sql.&lt;br /&gt;
100% |**************************************************************************************************************************************|&amp;nbsp; 1101&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.73 MB/s&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00 ETA&lt;br /&gt;
226 Transfer complete.&lt;br /&gt;
1101 bytes sent in 00:00 (4.48 KB/s)&lt;br /&gt;
221-You have transferred 1101 bytes in 1 files.&lt;br /&gt;
221-Total traffic for this session was 1601 bytes in 1 transfers.&lt;br /&gt;
221-Thank you for using the FTP service on virgo.&lt;br /&gt;
221 Goodbye.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="zemanta-pixie"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=b7fce274-fb23-8b3a-81d2-ee1ff73300b1" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-5736441517552362281?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/YWZWJ7_katg" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-15T12:51:09.688+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2010/09/shell-script-to-uploadftp-files-to.html</feedburner:origLink></item><item><title>Rational purify coverage for J2EE application deployed in Websphere</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/R4ENzSdEZpY/rational-purify-coverage-for-j2ee_14.html</link><category>Automations</category><category>Java</category><author>Krishnaspage@gmail.com</author><pubDate>Tue, 14 Sep 2010 02:30:53 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-6925394627407723324</guid><description>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;div style='text-align: center;'&gt;&lt;b style='color: red;'&gt;Code coverage for J2EE applications deployed in Websphere using Rational Purify plus&lt;/b&gt;&lt;/div&gt;&lt;div style='text-align: center;'&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style='text-align: justify;'&gt;&lt;span style='color: red;'&gt;&lt;span style='color: black;'&gt;&lt;a href='http://www.blogger.com/goog_132320426'&gt;&lt;span id='goog_132320427'/&gt;&lt;/a&gt;&lt;a href='http://www.blogger.com/goog_132320430'&gt;&lt;span id='goog_132320431'/&gt;&lt;/a&gt;&lt;a style='font-family: inherit;' href='http://www.blogger.com/goog_132320434'&gt;Rational's purify plu&lt;/a&gt;&lt;a style='font-family: inherit;' href='http://www.blogger.com/goog_132320434'&gt;s&lt;span id='goog_132320428'/&gt;&lt;/a&gt;&lt;a style='font-family: inherit;' href='http://www-01.ibm.com/software/awdtools/purifyplus/'&gt;&lt;span id='goog_132320432'/&gt;&lt;/a&gt;&lt;span style='font-family: inherit;'&gt; is one of the best code coverage tool I have seen till today, It has &lt;/span&gt;&lt;a style='font-family: inherit;' href='ftp://ftp.software.ibm.com/software/rational/web/datasheets/version6/pplus.pdf'&gt;multiple capabilities&lt;/a&gt;&lt;span style='font-family: inherit;'&gt; in which I got a chance to work with is code coverage capability. Some times it is required for Developers and testers to know what part of the code is not getting executed, which part is getting executed during specific scenario of usage etc. In this case it is always good to use a code coverage too like purify plus to monitor our application while running and analyze the results of code run.  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style='font-family: inherit;'&gt;The general &lt;/span&gt;&lt;a style='font-family: inherit;' href='http://www.ts.mah.se/RUP/RationalUnifiedProcess/toolment/vpcvg/tm_vpcvgu.htm'&gt;process of code coverage&lt;/a&gt;&lt;span style='font-family: inherit;'&gt; is simple for any normal java applications, but when comes to a J2EE applications deployed and running under Websphere application server as a service needs more settings and configurations. In the web we can find &lt;a href='http://www.rational.com.ar/tools/purifyplus.html'&gt;many documents&lt;/a&gt; for &lt;a href='http://www.ts.mah.se/RUP/RationalUnifiedProcess/toolment/vpcvg/tm_vpcvgu.htm'&gt;configuring simple Java applications&lt;/a&gt; and other for code coverage. &lt;/span&gt;&lt;/div&gt;&lt;div style='text-align: justify;'&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style='text-align: justify;'&gt;So this post main aim is to explain the steps to configure the code coverage for J2EE application deployed under websphere and running as a system service.&lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;b&gt;Environment description : &lt;/b&gt;&lt;/div&gt;&lt;div style='text-align: left;'&gt; Operating system : Windows XP / 2003&lt;/div&gt;&lt;div style='text-align: left;'&gt; Webserver / Applicaiton server : Websphere&lt;/div&gt;&lt;div style='text-align: left;'&gt; Application : J2EE type&lt;/div&gt;&lt;div style='text-align: left;'&gt;Running as : Windows service.&lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;br/&gt;&lt;/div&gt;&lt;b&gt;Collect data by changing the WAS configuration file&lt;/b&gt;&lt;br/&gt;When the Java process for hosting WAS is initialized, it gets its command line options from the server configuration file. This file exists for every WAS node and every WAS server. The location and name of this file is defined as follows:&lt;br/&gt;&amp;lt;WAS root&amp;gt;\profiles\&amp;lt;your active profile&amp;gt;\config\cells\&amp;lt; cell id&amp;gt;\nodes\&amp;lt;node id&amp;gt;\servers\&amp;lt;server name&amp;gt;\server.xml&lt;br/&gt;&lt;br/&gt;For example, if WAS is installed in C:\WAS, the profile name is ‘MyProfile’, the cell id is ‘MyCellId’, the node id is ‘MyNodeId’, and the server name is ‘MyServer’. The configuration file path will be defined like this:&lt;br/&gt;&lt;br/&gt;C:\WAS\profiles\MyProfile\config\cells\MyCellId\nodes\MyNodeId\servers\MyServer\server.xml &lt;br/&gt;&lt;br/&gt;Ex : &lt;br/&gt;&lt;div style='text-align: left;'&gt;C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\ibm-b51282f6ec3Node01Cell\nodes\ibm-b51282f6ec3Node01\servers\CDSServer&lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;br/&gt;&lt;blockquote&gt;&lt;b&gt;For example:&lt;/b&gt;&lt;br/&gt;&lt;font color='#000099'&gt;&lt;b&gt;&amp;lt;jvmEntries xmi:id="JavaVirtualMachine_1284026476671" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" runHProf="false" debugMode="false" debugArgs="-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777" genericJvmArguments="-DPD_DT_ENABLED=true -XrunPureJVMPI:Coverage" executableJarFileName="-Xbootclasspath/a:%PPLUS_HOME%\Rational.jar" disableJIT="false"&amp;gt;&lt;/b&gt;&lt;/font&gt;&lt;br/&gt;&lt;/blockquote&gt; &lt;br/&gt;&lt;/div&gt;The best way to change the profile is to use the WAS administrative console. However, if you do not have access to the console or do not have sufficient rights to edit the server configuration, you may edit the XML file directly. You should locate the jvmEntries element in this file and change the appropriate VM options by adding the JVMPI loading option: -XrunPureJVMPI:&lt;profiling type=''&gt;. &lt;/profiling&gt;&lt;br/&gt;&lt;br/&gt;After saving the file or applying these changes from the administrative console you should restart the server process. After the new instance of WAS starts, it will run with the appropriate profiler attached.&lt;br/&gt;&lt;br/&gt;&lt;div style='text-align: left;'&gt;So to do the code coverage for any J2EE applications deployed under web sphere and WAS server is running as a system service. So if we edit prefilters in the default settings, this is not going to have any effect on the running service. This is because PureCoverage is saving the default settings in the folder named "c:\documents and settings\&lt;user_running_the_coverage&gt;\application     data\rational\purecoverage\coverage.ini"                                &lt;/user_running_the_coverage&gt;&lt;/div&gt;&lt;div style='text-align: justify;'&gt;Whereas WAS running as a service is using the configuration file named "c:\documents and settings\localservice\application                     &lt;br/&gt;data\rational\purecoverage\coverage.ini"                                &lt;br/&gt;In other words, the service profile doesn't correspond to the           &lt;br/&gt;PureCoverage profile, therefore they are trying to access different     &lt;br/&gt;default INI files.                                                      &lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;br/&gt;There are several ways to work around this problem:                     &lt;br/&gt;1. Edit prefilters in the application settings, not the default         &lt;br/&gt;settings.                                                               &lt;br/&gt;2. Copy the coverage.ini file from your profile to the service profile  &lt;br/&gt;(see above)                                                             &lt;br/&gt;3. Run WAS as a user process, not as a system service.(User should be same the user with which purify was run)                   &lt;br/&gt;4. Change the user associated with the service to be the same as the one&lt;br/&gt;running the coverage.                                                   &lt;br/&gt;5. Manually edit the coverage.ini file in the local service profile.  &lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style='text-align: left;'&gt;so the best I followed after changing the server.xml file is 3rd one , run you websphere service as the user with which purify coverage was run ... &lt;/div&gt;&lt;div style='text-align: left;'&gt;Go to Windows &lt;/div&gt;&lt;blockquote&gt;&lt;div style='text-align: left;'&gt;&lt;b&gt;Start &amp;gt; Run &amp;gt; services.msc &amp;gt; Locate your service ex  : &lt;/b&gt;&lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;b&gt;IBM WebSphere Application Server V6.1 - CDSServer&lt;/b&gt;&lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;b&gt;&amp;gt; Right click on it &amp;gt; Properties &amp;gt; go to Log on Tab &amp;gt; Select This Account &amp;gt; Provide the user and passwords which is same as the user which is running Purify coverage. &amp;gt; Apply &amp;gt; Ok. &lt;/b&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;Now launch the Purify coverage once. &lt;/li&gt;&lt;li&gt;Empty coverage window opens up ... &lt;/li&gt;&lt;li&gt;Then now re-strat the Websphere service. &lt;/li&gt;&lt;/ul&gt;&lt;div style='text-align: left;'&gt;Now coverage should automatically pick up the chnages and pick the classed which you want to instrument.&lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;b&gt;How to apply filters in Purify plus / coverage : &lt;/b&gt;&lt;/div&gt;&lt;div style='text-align: left;'&gt;&lt;b&gt;License issues in the Purify plus :&lt;/b&gt;&lt;br/&gt;&lt;/div&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=014dfd11-50a2-8859-b3fa-285c920e6715' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-6925394627407723324?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/R4ENzSdEZpY" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-14T15:00:53.105+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.krishnababug.com/2010/09/rational-purify-coverage-for-j2ee_14.html</feedburner:origLink></item><item><title>Vinayaka chavithi and Ramzan / Ramadan Wishes</title><link>http://feedproxy.google.com/~r/KrishnasPage/~3/xVy5jfSJJO4/vinayaka-chavithi-and-ramzan-ramadan.html</link><category>India</category><author>Krishnaspage@gmail.com</author><pubDate>Tue, 14 Sep 2010 00:00:47 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6133978473254512685.post-2060309365743447520</guid><description>&lt;img height="200" src="http://3.bp.blogspot.com/_5UYqBxVgczI/SL5VdFZm1wI/AAAAAAAACpw/YMB8mJkwxgc/s400/G2.GIF" width="200" /&gt;&lt;img height="200" src="http://s1.smsnshayari.com/ramzan/ramadan-wishes.gif" width="200" /&gt;&lt;img height="200" src="http://www.dgreetings.com/newimages/ganesha/ganesh-chathurthi-general.gif" width="200" /&gt;&lt;br /&gt;
&lt;br /&gt;
Today is really a special day I felt ..as the country like India which follows "Unity in diversity" with perfect mix of Hindus and Muslims celebrating the same day as "Ganesh Chaturthi" and "Ramzan" festivals.&lt;br /&gt;
&lt;br /&gt;
I wish you all Indians happy Ramzan and Ganesh chaturthi...&lt;br /&gt;
Here are few useful things for this special day ...&lt;br /&gt;
Vinayaka Chavithi Vratha Kalpam PDF and MP3 Downloads&lt;br /&gt;
Download&lt;br /&gt;
&lt;a href="http://www.teluguone.com/splevents/ganesh/vinayaka_telugu.pdf"&gt;Vinayaka Chavithi Vratha Kalpam(PDF Format)&lt;/a&gt;&lt;br /&gt;
Source2:&lt;br /&gt;
&lt;a href="http://www.scribd.com/doc/17691775/vinayaka-chavithi-vratha-vidanamu"&gt;Vinayaka Chavithi Vratha Kalpam(PDF Format)&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://66.28.216.163/splevents/ganesh/audio/puja.mp3"&gt;Vinayaka Chavithi Vratha Kalpam - part1(MP3 Format)&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://66.28.216.163/splevents/ganesh/audio/katha.mp3"&gt;Vinayaka Chavithi Vratha Kalpam - part2(MP3 Format)&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.telugucomedyclub.com/kanipakam-ganesh-special-feature"&gt;Kanipakam Ganesh Special Coverage&lt;/a&gt;&lt;br /&gt;
&lt;h4&gt;వినాయక చవితి శుభాకాంక్షలు&lt;/h4&gt;&lt;h4&gt;More downloads from &lt;span id="goog_16600198"&gt;&lt;/span&gt;&lt;a href="http://eenadu.net/ganesh/ganeshpuja.htm"&gt;Eeenadu site&lt;span id="goog_16600199"&gt;&lt;/span&gt; click this&lt;/a&gt; ...&amp;nbsp; &lt;/h4&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6133978473254512685-2060309365743447520?l=www.krishnababug.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KrishnasPage/~4/xVy5jfSJJO4" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-14T12:30:47.906+05:30</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_5UYqBxVgczI/SL5VdFZm1wI/AAAAAAAACpw/YMB8mJkwxgc/s72-c/G2.GIF" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">11</thr:total><enclosure url="http://www.teluguone.com/splevents/ganesh/vinayaka_telugu.pdf" length="78791" type="application/pdf" /><media:content url="http://www.teluguone.com/splevents/ganesh/vinayaka_telugu.pdf" fileSize="78791" type="application/pdf" /><feedburner:origLink>http://www.krishnababug.com/2010/09/vinayaka-chavithi-and-ramzan-ramadan.html</feedburner:origLink></item><media:rating>nonadult</media:rating></channel></rss>

