<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: License management plugin for Grails application</title>
	<atom:link href="http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 19:15:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Paolo</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-71</link>
		<dc:creator>Paolo</dc:creator>
		<pubDate>Fri, 12 Mar 2010 19:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-71</guid>
		<description>Hi again,

explanation here
http://www.grails.org/doc/1.1.x/guide/2.%20Getting%20Started.html
under &#039;Script changes&#039; point 3

Actually, saving privateKeys.store under ~/.grails/1.2.1/scriptCache makes it working because it is in the classpath
Paolo</description>
		<content:encoded><![CDATA[<p>Hi again,</p>
<p>explanation here<br />
<a href="http://www.grails.org/doc/1.1.x/guide/2.%20Getting%20Started.html" rel="nofollow">http://www.grails.org/doc/1.1.x/guide/2.%20Getting%20Started.html</a><br />
under &#8216;Script changes&#8217; point 3</p>
<p>Actually, saving privateKeys.store under ~/.grails/1.2.1/scriptCache makes it working because it is in the classpath<br />
Paolo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paolo</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-70</link>
		<dc:creator>Paolo</dc:creator>
		<pubDate>Fri, 12 Mar 2010 14:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-70</guid>
		<description>Hi,
I&#039;ve got the same exception here. I replaced

def privateKeyPath = &quot;license-config/${licenseConfig.license.privateKeyFile}&quot;

with

def privateKeyPath = &quot;${basedir}/license-config/${licenseConfig.license.privateKeyFile}&quot;

and the resource definitely exists and has full permissions

Caused by: java.io.FileNotFoundException: /media/sda3/pmhome-ubuntu/GestFlow/license-config/privateKeys.store
	at de.schlichtherle.license.AbstractKeyStoreParam.getStream(Unknown Source)
	at de.schlichtherle.license.LicenseNotary.getKeyStore(Unknown Source)
	at de.schlichtherle.license.LicenseNotary.getPrivateKey(Unknown Source)
	at de.schlichtherle.license.LicenseNotary.sign(Unknown Source)
	at de.schlichtherle.license.LicenseNotary.sign(Unknown Source)
	at de.schlichtherle.license.LicenseManager.create(Unknown Source)
	at de.schlichtherle.license.LicenseManager.store(Unknown Source)
	at de.schlichtherle.license.LicenseManager.store(Unknown Source)
	at GenerateLicense$_run_closure4.doCall(GenerateLicense:85)
	at GenerateLicense$_run_closure1.doCall(GenerateLicense:20)
	at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
	... 10 more

Also tried replacing 

    def privateKeyStoreParam = new DefaultKeyStoreParam(this.getClass(), privateKeyPath, licenseConfig.license.privateKeyAlias, ...

with

    def privateKeyStoreParam = new DefaultKeyStoreParam(Class.getClass(&quot;java.lang.ClassLoader
&quot;), privateKeyPath, licenseConfig.license.privateKeyAlias, ...

Same thing
Thanks
Paolo</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;ve got the same exception here. I replaced</p>
<p>def privateKeyPath = &#8220;license-config/${licenseConfig.license.privateKeyFile}&#8221;</p>
<p>with</p>
<p>def privateKeyPath = &#8220;${basedir}/license-config/${licenseConfig.license.privateKeyFile}&#8221;</p>
<p>and the resource definitely exists and has full permissions</p>
<p>Caused by: java.io.FileNotFoundException: /media/sda3/pmhome-ubuntu/GestFlow/license-config/privateKeys.store<br />
	at de.schlichtherle.license.AbstractKeyStoreParam.getStream(Unknown Source)<br />
	at de.schlichtherle.license.LicenseNotary.getKeyStore(Unknown Source)<br />
	at de.schlichtherle.license.LicenseNotary.getPrivateKey(Unknown Source)<br />
	at de.schlichtherle.license.LicenseNotary.sign(Unknown Source)<br />
	at de.schlichtherle.license.LicenseNotary.sign(Unknown Source)<br />
	at de.schlichtherle.license.LicenseManager.create(Unknown Source)<br />
	at de.schlichtherle.license.LicenseManager.store(Unknown Source)<br />
	at de.schlichtherle.license.LicenseManager.store(Unknown Source)<br />
	at GenerateLicense$_run_closure4.doCall(GenerateLicense:85)<br />
	at GenerateLicense$_run_closure1.doCall(GenerateLicense:20)<br />
	at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)<br />
	&#8230; 10 more</p>
<p>Also tried replacing </p>
<p>    def privateKeyStoreParam = new DefaultKeyStoreParam(this.getClass(), privateKeyPath, licenseConfig.license.privateKeyAlias, &#8230;</p>
<p>with</p>
<p>    def privateKeyStoreParam = new DefaultKeyStoreParam(Class.getClass(&#8220;java.lang.ClassLoader<br />
&#8220;), privateKeyPath, licenseConfig.license.privateKeyAlias, &#8230;</p>
<p>Same thing<br />
Thanks<br />
Paolo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raudhah</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-67</link>
		<dc:creator>raudhah</dc:creator>
		<pubDate>Fri, 05 Feb 2010 09:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-67</guid>
		<description>i&#039;ve tried plugin on grails 1.1.1 on dummy application. i still got the same exception during generating the license. but the application is running well, then i submit the privateKey.store, it seem like the license is invalid or expired. I&#039;ve created new filekey.store but it goes the same result. Please advice. Thanks.</description>
		<content:encoded><![CDATA[<p>i&#8217;ve tried plugin on grails 1.1.1 on dummy application. i still got the same exception during generating the license. but the application is running well, then i submit the privateKey.store, it seem like the license is invalid or expired. I&#8217;ve created new filekey.store but it goes the same result. Please advice. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-66</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 04 Feb 2010 16:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-66</guid>
		<description>I haven&#039;t tested the plugin with Grails 1.2.1. I will try to look into that</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t tested the plugin with Grails 1.2.1. I will try to look into that</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raudhah</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-65</link>
		<dc:creator>raudhah</dc:creator>
		<pubDate>Thu, 04 Feb 2010 06:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-65</guid>
		<description>Hi,
Is this plugin compatible with grails 1.2.1? I&#039;ve installed on grails 1.2.0 but i got this error when i generate the license.

Error executing script GenerateLicense: java.io.FileNotFoundException: license-c
onfig/privateKeys.store

I&#039;ve checked on the folder, the privateKeys.store is exist. Am i missed something or it is not compatible with grails 1.2.1??

Thanks in advanced.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Is this plugin compatible with grails 1.2.1? I&#8217;ve installed on grails 1.2.0 but i got this error when i generate the license.</p>
<p>Error executing script GenerateLicense: java.io.FileNotFoundException: license-c<br />
onfig/privateKeys.store</p>
<p>I&#8217;ve checked on the folder, the privateKeys.store is exist. Am i missed something or it is not compatible with grails 1.2.1??</p>
<p>Thanks in advanced.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-61</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 14 Dec 2009 15:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-61</guid>
		<description>Chris:

Thanks for your comment. I&#039;ve released an updated version (V 0.2 compatible with Grails 1.1.1). Let me know if it works for you.</description>
		<content:encoded><![CDATA[<p>Chris:</p>
<p>Thanks for your comment. I&#8217;ve released an updated version (V 0.2 compatible with Grails 1.1.1). Let me know if it works for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-60</link>
		<dc:creator>Christoph</dc:creator>
		<pubDate>Wed, 25 Nov 2009 12:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-60</guid>
		<description>Hi again,

further Analysis showed that truelicense class AbstractKeyStoreParam
is implemented as follows:
--------
InputStream in = clazz.getResourceAsStream(resource);
--------

GenerateLicense.groovy does:
--------
def privateKeyFile = &quot;${pluginPath}/grails-app/etc/${licenseConfig.license.privateKeyFile}&quot;

new DefaultKeyStoreParam(getClass(), privateKeyPath ...
--------
...so getResourceAsStream is executed on the class in the grails scriptCache pointing to a nonexistent resource there.

Greetings,
Chris</description>
		<content:encoded><![CDATA[<p>Hi again,</p>
<p>further Analysis showed that truelicense class AbstractKeyStoreParam<br />
is implemented as follows:<br />
&#8212;&#8212;&#8211;<br />
InputStream in = clazz.getResourceAsStream(resource);<br />
&#8212;&#8212;&#8211;</p>
<p>GenerateLicense.groovy does:<br />
&#8212;&#8212;&#8211;<br />
def privateKeyFile = &#8220;${pluginPath}/grails-app/etc/${licenseConfig.license.privateKeyFile}&#8221;</p>
<p>new DefaultKeyStoreParam(getClass(), privateKeyPath &#8230;<br />
&#8212;&#8212;&#8211;<br />
&#8230;so getResourceAsStream is executed on the class in the grails scriptCache pointing to a nonexistent resource there.</p>
<p>Greetings,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-59</link>
		<dc:creator>Christoph</dc:creator>
		<pubDate>Wed, 25 Nov 2009 11:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-59</guid>
		<description>Hi there,

I recently tried to use the plugin on Grails 1.1.1 resulting in :
Error executing script GenerateLicense: java.io.FileNotFoundException: /plugins/license-0.1/grails-app/etc/privateKeys.store

I tried to fix it but I can&#039;t identify the problem here. Changing GenerateLicense.groovy privateKeyPath to &quot;${baseDir}${pluginPath}/grails-app/etc/${licenseConfig.license.privateKeyFile}&quot; did not help.
But creating new java.io.File with this path works fine.

Do you still plan to update the plugin to work with 1.1? 

Greetings,
Chris</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I recently tried to use the plugin on Grails 1.1.1 resulting in :<br />
Error executing script GenerateLicense: java.io.FileNotFoundException: /plugins/license-0.1/grails-app/etc/privateKeys.store</p>
<p>I tried to fix it but I can&#8217;t identify the problem here. Changing GenerateLicense.groovy privateKeyPath to &#8220;${baseDir}${pluginPath}/grails-app/etc/${licenseConfig.license.privateKeyFile}&#8221; did not help.<br />
But creating new java.io.File with this path works fine.</p>
<p>Do you still plan to update the plugin to work with 1.1? </p>
<p>Greetings,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mano</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-16</link>
		<dc:creator>Mano</dc:creator>
		<pubDate>Mon, 30 Mar 2009 19:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-16</guid>
		<description>I haven’t got a chance to test the plugin with Grails 1.1. Will try to get to it soon.</description>
		<content:encoded><![CDATA[<p>I haven’t got a chance to test the plugin with Grails 1.1. Will try to get to it soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SiTo</title>
		<link>http://manoharviswanathan.com/blog/tech/license-management-plugin-for-grails-application/comment-page-1/#comment-15</link>
		<dc:creator>SiTo</dc:creator>
		<pubDate>Mon, 30 Mar 2009 19:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://manoharviswanathan.com/blog/?p=52#comment-15</guid>
		<description>Hi,

Have you got plans to upgrade this plugin to work with grails 1.1 ?

Thanks

SiTo</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Have you got plans to upgrade this plugin to work with grails 1.1 ?</p>
<p>Thanks</p>
<p>SiTo</p>
]]></content:encoded>
	</item>
</channel>
</rss>
