<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Techspace</title>
	<atom:link href="http://parasjain01.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://parasjain01.wordpress.com</link>
	<description>IT happens only in IT</description>
	<lastBuildDate>Mon, 26 Oct 2009 18:32:21 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='parasjain01.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/282e76473be886091c8123d73f77e61b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Techspace</title>
		<link>http://parasjain01.wordpress.com</link>
	</image>
			<item>
		<title>Creating Acegi Users in a script</title>
		<link>http://parasjain01.wordpress.com/2009/10/06/creating-acegi-users-using-a-script/</link>
		<comments>http://parasjain01.wordpress.com/2009/10/06/creating-acegi-users-using-a-script/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 16:11:01 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[Acegi]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Password Encryption]]></category>
		<category><![CDATA[SHA1]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=216</guid>
		<description><![CDATA[We are using Acegi plugin for Authentication and Authorization in Grails. We had to create users in bulk using MySql script. We have to know the encrypted password for each user, corresponding to the clear text password to insert in the database. (Acegi encrypts the password before storing it in the database).
I came across this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=216&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We are using Acegi plugin for Authentication and Authorization in Grails. We had to create users in bulk using MySql script. We have to know the encrypted password for each user, corresponding to the clear text password to insert in the database. (Acegi encrypts the password before storing it in the database).</p>
<p>I came across this nice post http://stackoverflow.com/questions/1472431/acegi-password-encryption.</p>
<p>I was also thinking that Acegi must be using MD5, but after reading this post realized that it is SHA1 encryption.</p>
<p>You can get the sha1 encrypted password by issuing this command</p>
<p>echo -n password | openssl sha1</p>
<p>For eg. if your password is admin you can find encrypted password by issuing this command</p>
<p>echo -n admin | openssl sha1</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=216&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/10/06/creating-acegi-users-using-a-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
		<item>
		<title>Mule IDE for Galileo</title>
		<link>http://parasjain01.wordpress.com/2009/10/02/mule-ide-for-galileo/</link>
		<comments>http://parasjain01.wordpress.com/2009/10/02/mule-ide-for-galileo/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 14:48:43 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[Mule]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Galileo]]></category>
		<category><![CDATA[Mule IDE]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=213</guid>
		<description><![CDATA[I was stuck this week while trying to install Mule IDE plugin for Eclipse Galileo. Then I came across this. Basically, you have to uncheck &#8220;Group items by category&#8221; before installing the plugin
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=213&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was stuck this week while trying to install Mule IDE plugin for Eclipse Galileo. Then I came across <a title="this" href="http://forums.mulesoft.org/thread.jspa?messageID=5509">this</a>. Basically, you have to uncheck &#8220;Group items by category&#8221; before installing the plugin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=213&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/10/02/mule-ide-for-galileo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
		<item>
		<title>Grails &#8211; Plugin file not found for plugin project</title>
		<link>http://parasjain01.wordpress.com/2009/09/10/grails-plugin-file-not-found-for-plugin-project/</link>
		<comments>http://parasjain01.wordpress.com/2009/09/10/grails-plugin-file-not-found-for-plugin-project/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 16:20:07 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[Grails Plugin]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=210</guid>
		<description><![CDATA[If you have just renamed your Grails plugin project and getting this error &#8220;Plugin file not found for plugin project&#8221; and wondering &#8211; &#8220;What&#8217;s going on?&#8221;
Consider this. Grails is based on DRY principle. Convention over configuration. By convention, the plugin descripor file should end in the word &#8220;GrailsPlugin&#8221;
Most likely it would have happened that you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=210&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you have just renamed your Grails plugin project and getting this error &#8220;Plugin file not found for plugin project&#8221; and wondering &#8211; &#8220;What&#8217;s going on?&#8221;</p>
<p>Consider this. Grails is based on DRY principle. Convention over configuration. By convention, the plugin descripor file should end in the word &#8220;GrailsPlugin&#8221;</p>
<p>Most likely it would have happened that you wanted to rename AbcDef grails plugin to say Abc plugin</p>
<p>In the process, instead of renaming AbcDefGrailsPlugin.groovy file in your plugin root directoy to AbcGrailsPlugin.grooy, you might have mistakenly renamed it to just AbcPlugin.groovy. Since the word GrailsPlugin was not in the name, it was considered as the normal project instead of Plugin project.</p>
<p>If you look inside $GRAILS_HOME/scripts/_GrailsPluginDev.groovy file, you can see the following code snippet</p>
<pre class="brush: java;">

metadataFile.name,
 &quot;*GrailsPlugin.groovy&quot;,
</pre>
<p>In short, the solution is to rename the file and the class defined inside it to AbcGrailsPlugin.groovy</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=210&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/09/10/grails-plugin-file-not-found-for-plugin-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
		<item>
		<title>Grails Maven Integration</title>
		<link>http://parasjain01.wordpress.com/2009/09/10/grails-maven-integration/</link>
		<comments>http://parasjain01.wordpress.com/2009/09/10/grails-maven-integration/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 02:09:18 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Acegi]]></category>
		<category><![CDATA[ehcache]]></category>
		<category><![CDATA[Grails Maven Integration]]></category>
		<category><![CDATA[Octo]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=202</guid>
		<description><![CDATA[Note: Information provided in this post may get outdated soon, because Grails, it&#8217;s plugin and dependencies gets updated very frequently.
Today I was trying to integrate my existing grails application with Maven. I had hard time with it. I referred to the following information

http://grails.org/Maven+Integration
http://forge.octo.com/maven/sites/mtg/grails-maven-plugin/examples/mavenize-a-grails-app.html

The pom generated by the plugin was of Grails 1.1 and I was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=202&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Note: Information provided in this post may get outdated soon, because Grails, it&#8217;s plugin and dependencies gets updated very frequently.</p>
<p>Today I was trying to integrate my existing grails application with Maven. I had hard time with it. I referred to the following information</p>
<ul>
<li>http://grails.org/Maven+Integration</li>
<li>http://forge.octo.com/maven/sites/mtg/grails-maven-plugin/examples/mavenize-a-grails-app.html</li>
</ul>
<p>The pom generated by the plugin was of Grails 1.1 and I was using grails 1.1.1 therefore I had to make the following changes in my pom.xml</p>
<pre class="brush: xml;">

&lt;dependency&gt;
 &lt;groupId&gt;org.grails&lt;/groupId&gt;
 &lt;artifactId&gt;grails-crud&lt;/artifactId&gt;
 &lt;version&gt;1.1.1&lt;/version&gt;
 &lt;/dependency&gt;
 &lt;dependency&gt;
 &lt;groupId&gt;org.grails&lt;/groupId&gt;
 &lt;artifactId&gt;grails-gorm&lt;/artifactId&gt;
 &lt;version&gt;1.1.1&lt;/version&gt;
 &lt;/dependency&gt;
</pre>
<p>Since I was using MySql I had to add this too</p>
<pre class="brush: xml;">

&lt;dependency&gt;
 &lt;groupId&gt;mysql&lt;/groupId&gt;
 &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
 &lt;version&gt;3.1.14&lt;/version&gt;
 &lt;/dependency&gt;
</pre>
<p>Also you need to add this</p>
<pre class="brush: xml;">

&lt;dependency&gt;
 &lt;groupId&gt;org.tmatesoft.svnkit&lt;/groupId&gt;
 &lt;artifactId&gt;svnkit&lt;/artifactId&gt;
 &lt;version&gt;1.2.3.5521&lt;/version&gt;
 &lt;scope&gt;runtime&lt;/scope&gt;
 &lt;/dependency&gt;
</pre>
<p>If you are not using Acegi then this is all you need to do for Maven integration. If you are using Acegi then you might have to make some more changes. In my case, I was getting ClassNotFoundException  for net.sf.ehcache.CacheException. I had to manually copy ehcache-1.3.0.jar from $MAVEN_REPOSITORY_HOME/repository/net/sf/ehcache/1.3.0 to $GRAILS_PROJECT_HOME/plugins/acegi/lib. It solved my issue and I was successfully able to run my grails app using mvn grails:run-app</p>
<p>As I said before, information in this post may get outdated very soon. But it solved my problem and it might solve your too.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=202&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/09/10/grails-maven-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
		<item>
		<title>Grails &#8211; No such property: save for class</title>
		<link>http://parasjain01.wordpress.com/2009/09/08/grails-no-such-property-save-for-class/</link>
		<comments>http://parasjain01.wordpress.com/2009/09/08/grails-no-such-property-save-for-class/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 22:29:49 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[Grails]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=199</guid>
		<description><![CDATA[I suddenly started getting this message in my grails app. I don&#8217;t know the root cause of the problem. But for me the cause of the problem was removal of some fields and renaming of certain fields in domain class. If you have rename and/or removed some fields then make sure you follow these steps

Stopped [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=199&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I suddenly started getting this message in my grails app. I don&#8217;t know the root cause of the problem. But for me the cause of the problem was removal of some fields and renaming of certain fields in domain class. If you have rename and/or removed some fields then make sure you follow these steps</p>
<ol>
<li>Stopped the running grails application. Changes made in the domains, controllers and other grails-app artifacts sometimes doesn&#8217;t get updated while application is running</li>
<li>Remove and update the reference of the removed or renamed fields from the gsp, constraints block of domain, any other static blocks in referenced domains, messages.properties and other property files.</li>
<li>If you are not using in-memory db(HSQL) and using mysql or any other persistent database, then corresponding columns of the renamed/removed old fields are not deleted from database. If it does not affect the already existing data in DB then drop the corresponding table. When you restart application, grails will create the table for you again. If your table has foreign key reference, then drop the database altogether and create new DB and grant all privileges to the user used by Grails.</li>
</ol>
<p>This solved my <strong>No</strong> <strong>such</strong> <strong>property</strong>: <strong>save</strong> for class issue. YMMV. In your case, the cause may be different.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=199&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/09/08/grails-no-such-property-save-for-class/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
		<item>
		<title>Hyphen in MySQL database</title>
		<link>http://parasjain01.wordpress.com/2009/08/26/hyphen-in-mysql-database/</link>
		<comments>http://parasjain01.wordpress.com/2009/08/26/hyphen-in-mysql-database/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 15:04:19 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=197</guid>
		<description><![CDATA[If you have hyphen(-) in your mySQL database you can use back-ticks to escape while issuing commands
like
drop database `alfresco-dev`;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=197&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you have hyphen(-) in your mySQL database you can use back-ticks to escape while issuing commands</p>
<p>like<br />
drop database `alfresco-dev`;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=197&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/08/26/hyphen-in-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
		<item>
		<title>Null message in Grails</title>
		<link>http://parasjain01.wordpress.com/2009/08/18/null-message-in-grails/</link>
		<comments>http://parasjain01.wordpress.com/2009/08/18/null-message-in-grails/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 20:22:26 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Grails Null Message]]></category>
		<category><![CDATA[Null Message properties in Grails]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=193</guid>
		<description><![CDATA[I had a domain object 

class Project{
    String projectTitle
    Rso rso
}

Where Rso itself is another domain object.
Both projectTitle and rso could not be blank or null.
when I tried
project.projectTitle.blank message in messages.properties, it worked 
but
project.rso.null was not working.
I was trying project.rso.null because the default message was mapped as default.null.message.
Then someone [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=193&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had a domain object </p>
<pre class="brush: java;">
class Project{
    String projectTitle
    Rso rso
}
</pre>
<p>Where Rso itself is another domain object.</p>
<p>Both projectTitle and rso could not be blank or null.<br />
when I tried<br />
project.projectTitle.blank message in messages.properties, it worked </p>
<p>but<br />
project.rso.null was not working.<br />
I was trying project.rso.null because the default message was mapped as default.null.message.</p>
<p>Then someone suggested me to use<br />
project.rso.nullable and it worked. </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/193/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=193&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/08/18/null-message-in-grails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
		<item>
		<title>Running grails at some specific port</title>
		<link>http://parasjain01.wordpress.com/2009/07/07/running-grails-at-some-specific-port/</link>
		<comments>http://parasjain01.wordpress.com/2009/07/07/running-grails-at-some-specific-port/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 18:43:11 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[Grails]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=188</guid>
		<description><![CDATA[By default, jetty will run the application at port 8080, but if you want to run the application at some specific port, for example 8085 you should use

grails -Dserver.port=8085 run-app

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=188&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>By default, jetty will run the application at port 8080, but if you want to run the application at some specific port, for example 8085 you should use</p>
<pre class="brush: java;">
grails -Dserver.port=8085 run-app
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/188/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=188&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/07/07/running-grails-at-some-specific-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
		<item>
		<title>Grails : No domain class found for name domain-class-name . Please try again and enter a valid domain class name</title>
		<link>http://parasjain01.wordpress.com/2009/06/23/grails-no-domain-class-found-for-name-please-try-again-and-enter-a-valid-domain-class-name/</link>
		<comments>http://parasjain01.wordpress.com/2009/06/23/grails-no-domain-class-found-for-name-please-try-again-and-enter-a-valid-domain-class-name/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 22:22:38 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[Groovy]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=183</guid>
		<description><![CDATA[Sometimes, even if you create domain objects in grails you get the error that No domain class found.
I am not sure why this happens because I am new to Grails and still learning. But the following steps work for me
i) Stop all the running grails app ctrl+C
ii) grails clean
iii) Now try grails generate-all domain-class-name
This generally [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=183&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sometimes, even if you create domain objects in grails you get the error that No domain class found.<br />
I am not sure why this happens because I am new to Grails and still learning. But the following steps work for me</p>
<p>i) Stop all the running grails app ctrl+C<br />
ii) grails clean<br />
iii) Now try grails generate-all domain-class-name</p>
<p>This generally works for me. I will update this post if I find the root cause of the problemSom</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=183&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/06/23/grails-no-domain-class-found-for-name-please-try-again-and-enter-a-valid-domain-class-name/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
		<item>
		<title>Building Web Apps with Spring 3.0  &#8211; Meeting notes</title>
		<link>http://parasjain01.wordpress.com/2009/06/03/building-web-apps-with-spring-3-0-meeting-notes/</link>
		<comments>http://parasjain01.wordpress.com/2009/06/03/building-web-apps-with-spring-3-0-meeting-notes/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 23:31:46 +0000</pubDate>
		<dc:creator>Paras</dc:creator>
				<category><![CDATA[Spring]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Rest]]></category>
		<category><![CDATA[Spring 3]]></category>

		<guid isPermaLink="false">http://parasjain01.wordpress.com/?p=174</guid>
		<description><![CDATA[This presentation and notes are from the May 2009 Java User group meeting in Twin Cities. You can view the details and download the code from http://www.intertech.com/UserGroups/JUGPresentation.aspx?TopicID=135  It was an excellent presentation. Bob has discussed about new cool features in Spring 3 and how it simplifies the Spring MVC development. These presentation slides are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=174&subd=parasjain01&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This presentation and notes are from the May 2009 Java User group meeting in Twin Cities. You can view the details and download the code from <a href="http://www.intertech.com/UserGroups/JUGPresentation.aspx?TopicID=135">http://www.intertech.com/UserGroups/JUGPresentation.aspx?TopicID=135</a>  It was an excellent presentation. Bob has discussed about new cool features in Spring 3 and how it simplifies the Spring MVC development. These presentation slides are created by him and all rights lies with him. </p>
<ul>
<li>DispatcherServlet is the central servlet handling requests</li>
<li>See slide 7. The request handling takes place in the following order
<ol>
<li>HTTP Request is first handled by Dispatcher Servlet</li>
<li>DispatcherServlet refers HandlerMapping find the controller which will handle the request</li>
<li>DispatcherServlet sends the request to the Controller. Controller returns view and/or model.</li>
<li>DispatcherServlet refers to ViewResolver to determine the view page based on logical view  name</li>
<li>View is rendered</li>
</ol>
<li><strong>Controller hierarchy is deprecated in Spring 3.</strong>Just annotation is enough. No need to implement life-cycle methods</li>
<li>Flexible method arguments. Flexible return types. </li>
<li>
Annotations like<br />
@RequestParam<br />
@ModelAttribute<br />
@RequestMapping<br />
@SessionAttribute<br />
@InitBinder<br />
and WebBindingInitializer</li>
<li>Convention verses configuration</li>
<li>ControllerClassNameHandlerMapping</li>
<li>Model and ModelMap</li>
<li><strong>Rest Support</strong>
<p>Stateless, cacheable, scalable, communication protocol<br />
HTTP Methods &#8211; GET, POST, PUT(Idempotent), DELETE(Idempotent), HEAD, OPTIONS
</li>
<li>Spring 3.0 has REST support</li>
</ul>
<object id="16090137" name="16090137" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" align="middle" height="500" width="100%">
<param name="movie" value="http://documents.scribd.com/ScribdViewer.swf?document_id=16090137&access_key=key-2egj91p4jijjedv11ab3&page=&version=1&auto_size=true&viewMode="><param name="quality" value="high"><param name="play" value="true"><param name="loop" value="true"><param name="scale" value="showall"><param name="wmode" value="opaque"><param name="devicefont" value="false"><param name="bgcolor" value="#ffffff"><param name="menu" value="true"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><param name="salign" value="">
<embed src="http://documents.scribd.com/ScribdViewer.swf?document_id=16090137&access_key=key-2egj91p4jijjedv11ab3&page=&version=1&auto_size=true&viewMode=" name="16090137_object" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="opaque" devicefont="false" bgcolor="#ffffff" menu="true" allowfullscreen="true" allowscriptaccess="always" salign="" type="application/x-shockwave-flash" align="middle"  height="500" width="100%"></embed>
</object>
<div style="font-size:10px;text-align:center;width:100%"><a href="http://www.scribd.com/doc/16090137">View this document on Scribd</a></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parasjain01.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parasjain01.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parasjain01.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parasjain01.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parasjain01.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parasjain01.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parasjain01.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parasjain01.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parasjain01.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parasjain01.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parasjain01.wordpress.com&blog=1112800&post=174&subd=parasjain01&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://parasjain01.wordpress.com/2009/06/03/building-web-apps-with-spring-3-0-meeting-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18cb9b88d5881efff8ee769c23c48060?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parasjain01</media:title>
		</media:content>
	</item>
	</channel>
</rss>