<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RTS Blog</title>
	<atom:link href="http:///blog-mobile/feed.html" rel="self" type="application/rss+xml" />
	<link>http://www.rtssys.com/blog.html</link>
	<description>RTS Blog - Discussions around Web Development, Mobile Development, Integration, SOA, Grails, Java, Android, iPhone</description>
	<lastBuildDate>Thu, 08 Nov 2012 01:38:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Connect Joomla to an SMTP Server</title>
		<link>http://www.rtssys.com/blog/archives/131.html</link>
		<comments>http://www.rtssys.com/blog/archives/131.html#comments</comments>
		<pubDate>Tue, 06 Nov 2012 01:34:34 +0000</pubDate>
		<dc:creator>rtssys</dc:creator>
				<category><![CDATA[Development Tutorials]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/131.html</guid>
		<description><![CDATA[Install SMTP server on Joomla]]></description>
			<content:encoded><![CDATA[<p>Connecting Joomla to an SMTP can be difficult with a fresh install on a new server.  Detailed are many steps which may or may not impact your particular environment but are all worth trying to resolve any issues you may be having.</p>
<p>These steps are detailing a Joomla 1.5.17 install onto a dedicated Centos 6.3 linux web server connecting to a Microsoft Exchange Server to send SMTP email.</p>
<h2><span style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; text-align: justify;">You may have to use sudo or sudo -u root depending on how your server is setup to execute many of these commands.</span></h2>
<p><span style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; text-align: justify;"><br />
</span></p>
<h3>Is sendmail installed?  Is it the latest version?</h3>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<ul>
<li><span style="font-weight: bold;">Get sendmail installed</span></li>
</ul>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;"><strong><br />
</strong></p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">Check what version of Sendmail is installed on your box</p>
<pre style="margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;"><strong> rpm –qa sendmail</strong></pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">Update to the most recent version.</p>
<pre style="margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;"><strong> sudo yum install sendmail</strong></pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">You may also need this to create your cf file</p>
<pre style="margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;"><span style="font-family: Arial, Helvetica, sans-serif; color: #444444;"><span style="white-space: pre-wrap;"><strong>sudo  yum install sendmail-cf</strong></span></span></pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<ul>
<li><span style="font-weight: bold;">Get sendmail running</span></li>
</ul>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">You may have to shut down postfix because you can&#8217;t have sendmail and postfix running at the same time</p>
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;">sudo  /etc/rc.d/init.d/postfix stop</pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">Or</p>
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;">sudo service postfix stop</pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">Next you should make sure that the sendmail service is running</p>
<pre style="margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;">sudo service sendmail restart</pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;"><span style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; text-align: justify;">Then check it&#8217;s status</span></p>
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;"><strong>sudo service sendmail status</strong></pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">You want to see something like this:</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 460px; width: 1px; height: 1px; overflow: hidden;">sendmail (pid  15687) is running&#8230;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 460px; width: 1px; height: 1px; overflow: hidden;">sm-client (pid  15696) is running&#8230;</div>
<p><em>sendmail (pid  15687) is running&#8230;</em></p>
<p><em>sm-client (pid  15696) is running&#8230;</em></p>
<p><em><br />
</em></p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">Make sure sendmail starts up if your restart your box</p>
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;">sudo chkconfig sendmail on</pre>
<h3><strong>Are your Configuration Settings Correct?</strong></h3>
<p><strong><br />
</strong></p>
<ul>
<li><span style="font-weight: bold;">/etc/mail/sendmail.mc</span></li>
</ul>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;"><span style="font-family: Arial, Helvetica, sans-serif; color: #444444;"><span style="font-size: 14px; line-height: 20px;">Replace this line in sendmail.mc</span></span></p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; text-align: justify;">
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;">DAEMON_OPTIONS(`Port=smtp, Addr=127.0.0.1 Name=MTA’)dnl</pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">with</p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;"><strong>DAEMON_OPTIONS(`Port=smtp, Name=MTA’)dnl</strong></pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">You may have to define this host as well:</p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;"><span style="font-size: 14px; font-weight: normal; line-height: 20px; text-align: start; white-space: normal; background-color: #ffffff; "><strong>define(`SMART_HOST', `yourSMTPserverDomain')dnl</strong></span></pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">Save the file and restart sendmail again</p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<h3><strong>Can Httpd send emails?</strong></h3>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; ">Check your email settings here:</p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; ">
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;"><span style="font-size: 14px; font-weight: normal; line-height: 20px; text-align: start; white-space: normal; background-color: #ffffff; "><strong>getsebool -a | grep mail</strong></span></pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; "><span style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; ">if httpd_can_sendmail is off then you will have to run this command to turn it on.  It will take a minute so just wait.</span></p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; "><span style="font-family: Arial, Helvetica, sans-serif; color: #444444;"><span style="font-size: 14px; line-height: 20px;"><br />
</span></span></p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; ">
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;"><strong>sudo -u root setsebool -P httpd_can_sendmail on</strong></pre>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; ">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">Restart sendmail again and make sure it&#8217;s running.</p>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<ul style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<li><span style="font-weight: bold;">Try sending a test email:</span></li>
</ul>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">/usr/sbin/sendmail youremail@gmail.com</p>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">-&gt; Press Enter</p>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">Type:  &#8221;Subject: test&#8221;</p>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">-&gt; Press Enter</p>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">Type &#8216;.&#8217;</p>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">-&gt; Then press enter again</p>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<h3>Setup you Server in the Joomla back end Admin Console</h3>
<p>Site -&gt; Global Configuration -&gt; Server</p>
<ul>
<li><span style="font-weight: bold;">Try sending a test email through the  Joomla back end admin console:</span></li>
</ul>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">Then you can send a test email using:  Tools -&gt; Mass Mail.</p>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<h3 style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px;">Other problems?</h3>
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; ">
<p style="margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; font-size: 14px; line-height: 20px; font-family: Arial, Helvetica, sans-serif; color: #444444; "><strong>Having trouble finding files?</strong></p>
<p style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; ">
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; "><span style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; ">Use this command to find files:</span></p>
<p style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; margin: 0px 0px 0in; padding: 0px; border: none; list-style: none; outline: none; ">
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;">find / -name 'filename'</pre>
<p>If you have any other problems check the mail logs:</p>
<pre style="font-weight: bold !important; font-family: Arial, Helvetica, sans-serif !important; margin-top: 15px; margin-bottom: 0in; padding: 10px; border: 1px solid #dddddd; list-style: none; outline: none; background-image: none; background-attachment: scroll; background-color: #fafafa; white-space: pre-wrap; color: #444444; text-align: justify; background-position: 0px 0px; background-repeat: repeat repeat;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="white-space: pre-wrap;">sudo tail -f /var/log/maillog</span></span><span style="font-family: Arial, Helvetica, sans-serif !important; font-weight: bold !important; white-space: pre-wrap;">
</span></pre>
<div style="text-align: justify;">Please let me know if I left out anything and I hope this helps any problems you may have!</div>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/131/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drill down Reports using Hyperlinks in Jasper/Ireports</title>
		<link>http://www.rtssys.com/blog/archives/118.html</link>
		<comments>http://www.rtssys.com/blog/archives/118.html#comments</comments>
		<pubDate>Mon, 17 Sep 2012 19:41:05 +0000</pubDate>
		<dc:creator>rtssys</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Drill down]]></category>
		<category><![CDATA[Hyperlinks]]></category>
		<category><![CDATA[subreports]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/118.html</guid>
		<description><![CDATA[Drill down Reports using Hyperlinks in Jasper/Ireports
Jasper does not offer the ability to drill down on data. But, what is possible is to have a summary report which can be blown up using a hyperlink to a detailed report. For simplicity let’s call the Summary report as ‘Main report’ and Detailed report as ‘Subreport’.
Steps for [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Drill down Reports using Hyperlinks in Jasper/Ireports</strong></p>
<p>Jasper does not offer the ability to drill down on data. But, what is possible is to have a summary report which can be blown up using a hyperlink to a detailed report. For simplicity let’s call the Summary report as ‘Main report’ and Detailed report as ‘Subreport’.</p>
<p><strong>Steps for the Main Report</strong></p>
<ul>
<li>Identify an element (Header label etc.) in the main (Summary) report that you would want to create a hyperlink on.</li>
</ul>
<p><img class="alignnone" title="Hyper1" src="http://rtssys-dev.com/image-hosting/neelamblog1.jpg" alt="" width="448" height="137" /></p>
<ul>
<li>Right click on hyperlink and follow as below:</li>
</ul>
<p>Hyperlink Target = Self                            Hyperlink Type = ReportExecution</p>
<p><img class="alignnone" title="Hyperlink2" src="http://rtssys-dev.com/image-hosting/neelamblog2.jpg" alt="" width="577" height="407" /></p>
<ul>
<li>Add two parameters, first one would have the report path</li>
</ul>
<p>_report : &#8220;/reports/samples/ClientAddress&#8221;  (Double quotes are important)</p>
<ul>
<li>The second parameter will be the parameter defined in second report</li>
</ul>
<p>ClientID : $F{Client_ClientId}</p>
<p><img class="alignnone" title="Hyperlink3" src="http://rtssys-dev.com/image-hosting/neelamblog3.jpg" alt="" width="598" height="168" /></p>
<p><strong> </strong></p>
<p><strong>Step for the Sub Report </strong></p>
<ul>
<li>This report will have a parameter called ClientID</li>
</ul>
<p>Save both the reports in Repository and run the first one. Click on the link and it would take you to the second report.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/118/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Case for Data Quality</title>
		<link>http://www.rtssys.com/blog/archives/115.html</link>
		<comments>http://www.rtssys.com/blog/archives/115.html#comments</comments>
		<pubDate>Mon, 17 Sep 2012 18:06:27 +0000</pubDate>
		<dc:creator>jyot</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[data management]]></category>
		<category><![CDATA[data migration]]></category>
		<category><![CDATA[data quality]]></category>
		<category><![CDATA[data quality process]]></category>
		<category><![CDATA[ETL]]></category>
		<category><![CDATA[high quality data]]></category>
		<category><![CDATA[quality of data]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/115.html</guid>
		<description><![CDATA[By now most of us know how data-driven the whole course of forming strategies and making key decisions in business has become. So we know that Business Intelligence is important, and it is here to stay. We may also know how Business Intelligence works to bring more clarity into an organization’s activities. There is the [...]]]></description>
			<content:encoded><![CDATA[<p>By now most of us know how data-driven the whole course of forming strategies and making key decisions in business has become. So we know that Business Intelligence is important, and it is here to stay. We may also know how Business Intelligence works to bring more clarity into an organization’s activities. There is the integration of data warehouses, which is nothing but bringing together disparate data sources into a single platform and creating databases that can speak to each other. And there is the creation of reports that bring to light the important stuff executives need to know about their business in the form of crisp metrics.</p>
<p>That is, by and large, the general understanding people have about what a BI solution basically does. So what can’t it do? When data is aggregated, analyzed, and reports are churned out, there is a considerable portion of time spent on doing quality check on the data reported. But there is a catch. What happens to the garbage that is already in the data? Yes, we are talking about the age-old garbage in, garbage out principle. The quality check can very well unearth these anomalies in the data but when they come from the source, i.e., from the point of data-feed, there isn’t much that the BI tool/person can do at the report writing stage to fix those errors. This is especially true in those cases where database providers are separate from the BI team that works with the data.</p>
<p>Needless to say, errors like that can be costly. Imagine a case of wrong billing which invariably leads to uncollected receivable. Now imagine a few hundred, or may be thousands of cases like that. The losses, when they pile up, are significant. A 2002 study conducted by The Data Warehousing Institute (TDWI) estimated that poor quality customer data costs U.S. businesses a massive $611 billion a year. More recently, Ovum published a research paper where they estimate the total cost of bad data quality in US to be $700 billion – a sizable 30% of their revenues.</p>
<p>However, the good news is that this is a problem that is clearly solvable. Maintaining rigorous data quality is entirely possible, as long as the key decision-makers in a company recognize how crucial this task is and therefore treat it as a project in its own right. It calls for a well thought-out strategy. Here are a few steps we recommend from our experience to tackle the data quality beast:</p>
<ol>
<li>Recognize that it is not entirely up to the IT department or BI vendor to fix these errors. The often cited barrier to improving data quality is lack of commitment to the cause by key decision makers in the company. Almost half of the 647 survey respondents in TDWI’s Data Quality survey had no plans for improving their data quality. It takes a strong and willing collaboration between all the users of data – the business users, the data analysts or report writers and the IT department/database provider.</li>
<li>Decide on a workable method to eliminate errors. The business users and BI analysts can work together to come out with reports that alert erroneous data feed as soon as they happen. At the same time, they need to bring these error prone entries to the attention of the data-feed application providers (if different from the BI guys), so that they can embed checks and balances in the application to prevent incorrect entries. We followed this approach with one of our clients, spending a considerable chunk of our time in identifying areas that require data validation and building reports to support the validation process. Within weeks, our client was able to recoup over a million $ worth of receivables.</li>
<li>Define a formal process for this task and define the scope of the project. Build a list of error-prone areas and set timelines to correct each of these issues. It is important to recognize that this is an evolving process and therefore the timelines set must be realistic.</li>
<li>Transparency is key. Everyone needs to be on the same page about ongoing progress on the project.</li>
<li>A lot of data quality problems arise out of training issues and this must be duly noted and acted upon by the concerned managers in the organization.</li>
</ol>
<p>A solid investment in a formal approach like this will eliminate the pain points for all the parties involved. More importantly, it leads to sizable long-term financial savings for the company that may be used to seeing a lot of money go down the drain due to data quality issues. But the most beneficial outcome of this is that it gradually leads people to gain faith in the data at their disposal so that the decision-making process is not unduly hindered by lack of reliable information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/115/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Sun Java JDK on CentOS 6</title>
		<link>http://www.rtssys.com/blog/archives/100.html</link>
		<comments>http://www.rtssys.com/blog/archives/100.html#comments</comments>
		<pubDate>Fri, 10 Feb 2012 16:15:04 +0000</pubDate>
		<dc:creator>jyot</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/100.html</guid>
		<description><![CDATA[Something that should have taken a minute at max, took us an hour to resolve.
I hope someone will find this link very helpful &#8211; http://mohammadthalif.wordpress.com/2011/10/08/how-to-install-java-sun-jdk-in-centos-6-2/
The most important command was : # update-alternatives – -config java
So, if your server has openjdk or any other jdk version, you need to run the update to get sun(oracle) JDK [...]]]></description>
			<content:encoded><![CDATA[<p>Something that should have taken a minute at max, took us an hour to resolve.</p>
<p>I hope someone will find this link very helpful &#8211; http://mohammadthalif.wordpress.com/2011/10/08/how-to-install-java-sun-jdk-in-centos-6-2/</p>
<p>The most important command was : # update-alternatives – -config java<br />
So, if your server has openjdk or any other jdk version, you need to run the update to get sun(oracle) JDK effective.</p>
<p>Happy installing <img src='http://www.rtssys.com/components/com_wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Jyot</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/100/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Having trouble with the Grails install-plugin command?</title>
		<link>http://www.rtssys.com/blog/archives/94.html</link>
		<comments>http://www.rtssys.com/blog/archives/94.html#comments</comments>
		<pubDate>Thu, 27 Oct 2011 20:42:04 +0000</pubDate>
		<dc:creator>rtssys</dc:creator>
				<category><![CDATA[Development Tutorials]]></category>
		<category><![CDATA[Groovy/Grails]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/94.html</guid>
		<description><![CDATA[Are you having issues with dependencies or other problems when trying to use install-plugin?
We are using:
Grails 1.3.7
STS 2.5

Go into your project&#8217;s BuildConfig.groovy
/[Your_Project_Name]/grails-app/conf/BuildConfig.groovy

Find the repositiories section:
repositories { grailsPlugins() grailsHome() grailsCentral()
// uncomment the below to enable remote dependency resolution
// from public Maven repositories
//mavenLocal()
mavenCentral()
//mavenRepo "http://snapshots.repository.codehaus.org"
//mavenRepo "http://repository.codehaus.org"
//mavenRepo "http://download.java.net/maven/2/"
//mavenRepo "http://repository.jboss.com/maven2/"

}
Search for mavenCentral().
Uncomment this line out. This will then enable remote dependency [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">Are you having issues with dependencies or other problems when trying to use install-plugin?</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">We are using:</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">Grails 1.3.7</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">STS 2.5</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">Go into your project&#8217;s BuildConfig.groovy</p>
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow-x: auto; overflow-y: auto; width: auto; max-height: 600px; background-position: initial initial; background-repeat: initial initial; padding: 5px; border: 0px initial initial;"><code style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;"><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #800000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">/[Your_Project_Name]/</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">grails</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">-</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">app</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">/</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">conf</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">/</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #2b91af; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">BuildConfig</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">.</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">groovy
</span></code></pre>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">Find the repositiories section:</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">repositories { grailsPlugins() grailsHome() grailsCentral()</p>
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow-x: auto; overflow-y: auto; width: auto; max-height: 600px; background-position: initial initial; background-repeat: initial initial; padding: 5px; border: 0px initial initial;"><code style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;"><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: gray; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">// uncomment the below to enable remote dependency resolution</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">
</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: gray; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">// from public Maven repositories</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">
</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: gray; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">//mavenLocal()</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">
mavenCentral</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">()</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">
</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: gray; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">//mavenRepo "http://snapshots.repository.codehaus.org"</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">
</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: gray; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">//mavenRepo "http://repository.codehaus.org"</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">
</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: gray; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">//mavenRepo "http://download.java.net/maven/2/"</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">
</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: gray; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">//mavenRepo "http://repository.jboss.com/maven2/"</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">
</span></code></pre>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">}</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">Search for <code style="padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; margin: 0px; border: 0px initial initial;">mavenCentral()</code>.<br />
Uncomment this line out. This will then enable remote dependency resolution.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">Then try the <code style="padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; margin: 0px; border: 0px initial initial;">install-plugin</code> command on the command line.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">Here is an example:</p>
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow-x: auto; overflow-y: auto; width: auto; max-height: 600px; background-position: initial initial; background-repeat: initial initial; padding: 5px; border: 0px initial initial;"><code style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;"><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">install</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">-</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">plugin mail
</span></code></pre>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">or</p>
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow-x: auto; overflow-y: auto; width: auto; max-height: 600px; background-position: initial initial; background-repeat: initial initial; padding: 5px; border: 0px initial initial;"><code style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;"><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">install</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">-</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">plugin http</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">:</span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: gray; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">//plugins.grails.org/grails-mail/tags/RELEASE_1_0-SNAPSHOT/grails-mail-1.0-SNAPSHOT.zip </span><span style="font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #000000; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;">
</span></code></pre>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">If running install-plugin on the command line does not work for you, you can try the plugin manager.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;"><em>Right-click your project -&gt; Grails Tools(Towards the bottom) -&gt; Grails Plugin Manager.</em></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">Search for your plugin then install and click the OK button.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; padding: 0px; border: 0px initial initial;">http://stackoverflow.com/questions/7905714/grails-install-plugin-does-not-work-for-me/7921928#7921928</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/94/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Groovy: “That’s 357 Minutes Of My Life I Can’t Get Back”</title>
		<link>http://www.rtssys.com/blog/archives/70.html</link>
		<comments>http://www.rtssys.com/blog/archives/70.html#comments</comments>
		<pubDate>Sat, 30 Jul 2011 03:21:50 +0000</pubDate>
		<dc:creator>jyot</dc:creator>
				<category><![CDATA[Development Tutorials]]></category>
		<category><![CDATA[Groovy/Grails]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/70.html</guid>
		<description><![CDATA[So there I was. I worked my full day of client meetings and looking for new office space, only to face a late-night data migration, transferring data between two tables.  I did not expect it to be an overnight endeavor.


The Groovy script I had authored seemed simple and straightforward to me.  I logged in, cd’d [...]]]></description>
			<content:encoded><![CDATA[<p>So there I was. I worked my full day of client meetings and looking for new office space, only to face a late-night data migration, transferring data between two tables.  I did not expect it to be an overnight endeavor.
</p>
<p>
The Groovy script I had authored seemed simple and straightforward to me.  I logged in, cd’d to its location on the server, typed the name of the script, and hit enter.
</p>
<p></br></p>
<p>
Six hours later, the prompt returned.
</p>
<p></br></p>
<p>
You can imagine I was not a happy camper, constantly executing queries on the database to answer the question: “Is it really doing anything? Is it hung?”<br />
Row by row the data was deposited.  Six long hours later, I wearily logged off and crawled into bed just as the sun began to peek over the horizon.<br />
I did not want to repeat this.  </br> So, I did a little research.  Hopefully what I learned can help others avoid this very costly oversight.
</p>
<p>Enter Groovy’s  batchUpdate feature.  Perhaps I’m just a little late to this party, but from a novice’s perspective, Approach 1 (see listing) seems perfectly reasonable: for each row in one table, insert the data into another table.</p>
<p></br><br />
<strong>Approach 1: “Brute Force”</strong><br />
</br><br />
<strong>// This took more than 6 Hours</strong></p>
<blockquote><p>mssql.withTransaction</p>
<p>{</p>
<p>cachesql.eachRow(&#8221;select * from HDL.TransactionJournal where TransactionDate between &#8216;2010-08-01&#8242; and &#8216;2011-08-01&#8242; &#8220;)</p>
<p>{ row -&gt;</p>
<p>mssql.execute(&#8221;insert into[dbo].TransactionJournal (ID, TransactionDate,TxCode,TxType) values (?,?,?,?)&#8221;, [row.ID,row.TransactionDate, row.TxCode,row.TxType])</p>
<p>}</p>
<p>}</p></blockquote>
<p></br></br><br />
After running this script and painstakingly monitoring its progress overnight, I embarked on a quest to determine the better way to do this.  After a bit of searching, I discovered Groovy’s batchUpdate.  </br><br />
I quickly rewrote my script, and the same data transfer took 3 minutes.  That’s right – from 360 minutes to 3.  How’s that for two orders of magnitude’s difference?<br />
</br></p>
<p>
The concept is this: do a mass insert, and commit every <em>x</em> number of rows, instead of inserting and committing each row singly.  The higher you set the parameter for committing, the faster it will run.
</p>
<p><strong>Approach 2: Same Data Shuffling, Much Faster Performance</strong></p>
<p><strong>// This took 3 mins</strong></p>
<blockquote><p>mssql.withTransaction</p>
<p>{</p>
<p>//it commits after each 10K insert</p>
<p>def updateCounts = mssql.withBatch(10000, &#8220;insert into[dbo].TransactionJournal (ID,TransactionDate,TxCode,TxType) values (?,?,?,?)&#8221;,</p>
<p>[row.ID,,row.TransactionDate, row.TxCode,row.TxType]&#8220;)</p>
<p>{ ps -&gt;</p>
<p>cachesql.eachRow(&#8221;select * from dbo.TransactionJournal where TransactionDate between &#8216;2010-08-01&#8242; and &#8216;2011-08-01&#8242; &#8220;)</p>
<p>{ row -&gt;</p>
<p>ps.addBatch([row.ID,row.TransactionDate, row.TxCode, row.TxType])</p>
<p>}</p>
<p>}</p>
<p>}</p></blockquote>
<p>
The underlying lesson learned here is a fairly standard one, which is, when doing something that looks like batch processing in a database, make sure to use batch processing (within a transaction) to ensure optimal performance.  </p>
<p>
Groovy’s batch processing feature was introduced in November 2010 with the release of 1.7, so anyone who picked up Groovy prior to that (like myself) may be accustomed to working around this previously missing feature.
</p>
<p>Hopefully this article will help others avoid the mistake of quickly whipping up a script like this – only to sit and watch it execute, not-so-quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/70/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking SEO to the Next Level</title>
		<link>http://www.rtssys.com/blog/archives/48.html</link>
		<comments>http://www.rtssys.com/blog/archives/48.html#comments</comments>
		<pubDate>Wed, 15 Jun 2011 16:55:38 +0000</pubDate>
		<dc:creator>rtssys</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/48.html</guid>
		<description><![CDATA[How to Improve SEO For Your Site
First step: Keywords
- Whether you have had your site for awhile or are just starting, finding relevant and significant keywords is important.
- Keywords should produce high value and high volume, but they should not be difficult. If your keyword that is used often with a lot of competition, that [...]]]></description>
			<content:encoded><![CDATA[<h1>How to Improve SEO For Your Site</h1>
<h3>First step: Keywords</h3>
<p>- Whether you have had your site for awhile or are just starting, finding relevant and significant keywords is important.</p>
<p>- Keywords should produce high value and high volume, but they should not be difficult. If your keyword that is used often with a lot of competition, that keyword will not help you as much as needed. Still use it, but look for other closely related keywords with less difficulty.</p>
<h3>Second step: On-page Optimization</h3>
<p>- Images should have image names describing the image itself. The images used should be relevant to the site and also be almost descriptions of your keywords themselves.</p>
<p>- If using wordpress (or any blog), make titles and headings using your keywords.</p>
<p>- Do not use title tags too much. Most search engines look down upon repetitive keywords and bring down your ranking.</p>
<h3>Third step: Links</h3>
<p>- Links that are used in tweets are significant for SEO.</p>
<p>- Use shortening twitter tools for links (bit.ly, etc) and customize the link to have your keywords in shortened link.</p>
<p>- Use keywords in tweets and posts for all social media.</p>
<p>- Use a link tracking site (opesiteexplorer.com) to see popular competition&#8217;s backlinks and attempt to get involved with some of those links as well.</p>
<p>- Use Google Analytics  to see any errors on your site. If these crawl errors are overlooked, it could affect the traffic to your site.</p>
<p>- Use canonical URL tags for your pages. These will help  search engines to link all duplicated content to the original page and link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/48/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent users to accidently navigate away and lose data &#8211; GWT/SmartGWT</title>
		<link>http://www.rtssys.com/blog/archives/46.html</link>
		<comments>http://www.rtssys.com/blog/archives/46.html#comments</comments>
		<pubDate>Fri, 10 Jun 2011 20:09:16 +0000</pubDate>
		<dc:creator>jyot</dc:creator>
				<category><![CDATA[SmartGWT/GWT]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/46.html</guid>
		<description><![CDATA[Just add to the panel. A very useful code.
 //Added the code to prevent the users navigating away.
 Window.addWindowClosingHandler(new Window.ClosingHandler() {
  public void onWindowClosing(Window.ClosingEvent closingEvent) {
  closingEvent.setMessage(&#8221;Do you really want to leave the page?&#8221;);
  }
  });
 //Added the code to prevent the users navigating away.
 Window.addWindowClosingHandler(new Window.ClosingHandler() {
  public void [...]]]></description>
			<content:encoded><![CDATA[<p>Just add to the panel. A very useful code.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>//Added the code to prevent the users navigating away.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>Window.addWindowClosingHandler(new Window.ClosingHandler() {</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> public void onWindowClosing(Window.ClosingEvent closingEvent) {</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> closingEvent.setMessage(&#8221;Do you really want to leave the page?&#8221;);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> }</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> });</div>
<p><span style="white-space: pre;"> </span>//Added the code to prevent the users navigating away.</p>
<p><span style="white-space: pre;"> </span>Window.addWindowClosingHandler(new Window.ClosingHandler() {</p>
<p><span style="white-space: pre;"> </span> public void onWindowClosing(Window.ClosingEvent closingEvent) {</p>
<p><span style="white-space: pre;"> </span> closingEvent.setMessage(&#8221;Do you really want to leave the page?&#8221;);</p>
<p><span style="white-space: pre;"> </span> }</p>
<p><span style="white-space: pre;"> </span> });</p>
<p><span style="white-space: pre;"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/46/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improve your SEO &#8211; 36 Tips to help you get started</title>
		<link>http://www.rtssys.com/blog/archives/39.html</link>
		<comments>http://www.rtssys.com/blog/archives/39.html#comments</comments>
		<pubDate>Thu, 02 Jun 2011 18:17:22 +0000</pubDate>
		<dc:creator>rtssys</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/39.html</guid>
		<description><![CDATA[
Quality and unique content is the most important aspect and must be relevant. Focus all content on the keywords.
Always keep SEO in mind when creating a page.
Site must be accessible and simple to do so.
Page Rank is not an important factor.
Do not use Frames and use Flash and AJAX cautiously to optimize SEO.
Watch for canonicalization [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Quality and unique content is the most important aspect and must be relevant. Focus all content on the keywords.</li>
<li>Always keep SEO in mind when creating a page.</li>
<li>Site must be accessible and simple to do so.</li>
<li>Page Rank is not an important factor.</li>
<li>Do not use Frames and use Flash and AJAX cautiously to optimize SEO.</li>
<li>Watch for canonicalization problems. Make sure whether your site redirects using http://www.yoursite.com and http://yoursite.com.</li>
<li>The URL extension is not important.</li>
<li>If main landing page is mainly flash or images, have text and navigation links below the fold.</li>
<li>SEO is an active process at all time.</li>
<li>Social media is key to understand. Using twitter, Digg, facebook, etc will keep content fresh.</li>
<li>Keep site active with new information whenever possible. Blogging is a great way to keep active on a website.</li>
<li>Reuse of content from other links is important to keep active.</li>
<li>Add comment boxes or interactions to your site or blog.</li>
<li>SEO for domains</li>
<li>Search non-profit .edu domains that need sponsors. These domains are looked highly upon from search engines.</li>
<li>Make sure domain ownership information is not blocked. This may make you look like a spam site.</li>
<li>For shared servers, check that other banned sites are not on the same server. This may bring down your ranking.</li>
<li>Check server headers.</li>
<li>SEO for keywords</li>
<li>Have keyword Title Tags on every page of your site.</li>
<li>Key phrases are just as important as keywords. Try to add locations to searches to be found locally as well.</li>
<li>Use keyword phrase as link to your backlinks. Create a network of these backlinks but only if they are relevant to your keywords.</li>
<li>If keyword count is strangely high, this count will hinder your SEO not help it. Do not crowd your content with just keywords repetitively.</li>
<li>Your RSS feed should be rich with keywords.</li>
<li><span style="text-decoration: underline;">SEO for Images/Videos</span></li>
<li>With all images and videos, make sure to use subtitles. These subtitles should be full of keywords. Most images and videos are ranked with this surrounding content.</li>
<li>If you have many videos on your site, use a sitemap for the videos so they are more likely to be found.</li>
<li>Use different sites as well as YouTube to post your videos.</li>
<li><span style="text-decoration: underline;">SEO for Links</span></li>
<li>Have links explain what they are relevant to when clicked. Instead of &#8220;Click Here&#8221;, &#8220;Coffee Grounds&#8221; link uses keywords and is a better choice.</li>
<li>Link out so others will want to link back to you.</li>
<li>Make sure outside links link back to your domain.</li>
<li>Links are all about quality not quantity.</li>
<li>Surround links with descriptive, relevant content to that link.</li>
<li>Email links for newsletters, etc are helpful links as well.</li>
<li>Backlinks from a high ranked site are ranked high and carry weight back to your site.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/39/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a SQL Server 2008 R2 Local Database Instance</title>
		<link>http://www.rtssys.com/blog/archives/14.html</link>
		<comments>http://www.rtssys.com/blog/archives/14.html#comments</comments>
		<pubDate>Tue, 24 May 2011 22:26:22 +0000</pubDate>
		<dc:creator>rtssys</dc:creator>
				<category><![CDATA[Development Tutorials]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JDBC]]></category>
		<category><![CDATA[JTDS]]></category>
		<category><![CDATA[Local Database]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[MSSQL 2008 R2]]></category>
		<category><![CDATA[MSSQL Database Properties]]></category>
		<category><![CDATA[MSSQL User]]></category>
		<category><![CDATA[Permissions]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.rtssys.com/blog/archives/14.html</guid>
		<description><![CDATA[Setting up and accessing a local database instance in SQL Server 2008 is a somewhat less then intuitive process.  This post will attempt to alleviate some of the wasted time and frustration of this process.  Please let me know if you experience any issues and also if you see anything that needs to be corrected.  Thanks [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up and accessing a local database instance in SQL Server 2008 is a somewhat less then intuitive process.  This post will attempt to alleviate some of the wasted time and frustration of this process.  Please let me know if you experience any issues and also if you see anything that needs to be corrected.  Thanks and I hope this helps!</p>
<h3>Start up the Local Server</h3>
<ul>
<li>Click Start -&gt; Microsoft SQL Server 2008 R2 -&gt; SQL Server Configuration Manager</li>
<li>Set the SQL Server(SQLEXPRESS) and SQL Server Browser to automatic start mode.</li>
<li>Right click -&gt; Properties -&gt; Service Tab</li>
</ul>
<div class="wp-caption alignnone" style="width: 628px"><a href="http://rtssys-dev.com/image-hosting/MSSQL_Server_Run.JPG"><img title="SQL Server 2008 Server Settings" src="http://rtssys-dev.com/image-hosting/MSSQL_Server_Run.JPG" alt="SQL Server 2008 Server Settings" width="618" height="640" /></a><p class="wp-caption-text">SQL Server 2008 Server Settings</p></div>
<h3>Login to Local Server</h3>
<ul>
<li>Now open up SQL Server Management Studio and Connect to Object Explorer and select Server Name: [Your PC name]\SQLEXPRESS</li>
<li>Example:  8540P-KL\SQLEXPRESS</li>
<li>To find your PC name:  Right click My Computer -&gt; Properties -&gt; Computer Name tab</li>
<li>Login using windows authentication:  Using the user name [Your Domain]/[Your User Name]</li>
</ul>
<div class="wp-caption alignnone" style="width: 965px"><a href="http://rtssys-dev.com/image-hosting/MSSQL_Server_Logon.png"><img title="SQL Server 2008 Login Settings" src="http://rtssys-dev.com/image-hosting/MSSQL_Server_Logon.png" alt="SQL Server 2008 Login Settings" width="955" height="374" /></a><p class="wp-caption-text">SQL Server 2008 Login Settings</p></div>
<h3>Setup User Account</h3>
<ul>
<li>In SQL Mgmt Studio -&gt; Expand your local Server -&gt; Security -&gt; Right click on Logins -&gt; New Login</li>
</ul>
<ul>
<li>Uncheck Enforce password policy, password expiration and user must change pw(Since this is local)</li>
</ul>
<ul>
<li>Default database -&gt; Your Database</li>
</ul>
<ul>
<li>User Mapping Page -&gt; Map to your db and grant db_owner role</li>
</ul>
<ul>
<li>Status Page -&gt; Grant Permission to connect and Enable Login</li>
</ul>
<div class="wp-caption alignnone" style="width: 1265px"><a href="http://rtssys-dev.com/image-hosting/MSSQL_Server_User.png"><img title="SQL Server 2008 User Settings Local DB" src="http://rtssys-dev.com/image-hosting/MSSQL_Server_User.png" alt="SQL Server 2008 User Settings Local DB" width="1255" height="663" /></a><p class="wp-caption-text">SQL Server 2008 User Settings Local DB</p></div>
<h3>Setup Access Permissions/Settings for User</h3>
<ul>
<li>Right click your Local Server -&gt; Properties -&gt; Security Tab -&gt; Enable SQL Server and Windows Authentication Mode</li>
</ul>
<ul>
<li>Open SQL Server Configuration Manager -&gt; SQL Server Network Configuration -&gt; Protocols for SQLEXPRESS -&gt; Enable TCP/IP</li>
</ul>
<div class="wp-caption alignnone" style="width: 1593px"><a href="http://rtssys-dev.com/image-hosting/MSSQL_Server_Permissions.png"><img title="SQL Server 2008 Server Permissions" src="http://rtssys-dev.com/image-hosting/MSSQL_Server_Permissions.png" alt="SQL Server 2008 Server Permissions" width="1583" height="738" /></a><p class="wp-caption-text">SQL Server 2008 Server Permissions</p></div>
<h3>Database Properties File for Spring Project</h3>
<ul>
<li>database.url=jdbc:jtds:sqlserver://[local PC Computer name];instance=SQLEXPRESS;DatabaseName=[db name];</li>
</ul>
<ul>
<li>database.username=[Your user name]</li>
</ul>
<ul>
<li>database.password=[Your password]</li>
</ul>
<ul>
<li>database.driverClassName=net.sourceforge.jtds.jdbc.Driver</li>
</ul>
<p>Thank you and feel free to post any additional questions below.</p>
<p>&#8211;</p>
<p>Chris Anatalio</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtssys.com/blog/archives/14/feed.html</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
