<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-11860</id>
	<title>Nabble - codehaus - grails</title>
	<updated>2008-10-07T04:33:55Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/codehaus---grails-f11860.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/codehaus---grails-f11860.html" />
	<subtitle type="html">Grails is a versatile full-blown application framework leveraging Groovy for all its tiers. codehaus - grails home is &lt;a href=&quot;http://grails.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19856208</id>
	<title>Re: Problems with german special characters (umlaute) after deployment in tomcat 6 SOLUTION</title>
	<published>2008-10-07T04:33:55Z</published>
	<updated>2008-10-07T04:33:55Z</updated>
	<author>
		<name>Dimo Velev-3</name>
	</author>
	<content type="html">Hi again,
&lt;br&gt;&lt;br&gt;Sorry to have bothered you. If somebody happens to have the same problem 
&lt;br&gt;here is the solution. It is caused by incompatible default configuration 
&lt;br&gt;of tomcat. Just add the attribute URIEncoding=&amp;quot;UTF-8&amp;quot; to your Connector 
&lt;br&gt;element in the server.xml so that it looks something like that:
&lt;br&gt;--cut--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Connector port=&amp;quot;8080&amp;quot; protocol=&amp;quot;HTTP/1.1&amp;quot; connectionTimeout=&amp;quot;20000&amp;quot; 
&lt;br&gt;redirectPort=&amp;quot;8443&amp;quot; URIEncoding=&amp;quot;UTF-8&amp;quot; /&amp;gt;
&lt;br&gt;--cut--
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Dimo
&lt;br&gt;&lt;br&gt;Dimo Velev wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am having some hard time after I deployed our application in a 
&lt;br&gt;&amp;gt; production environment running under tomcat 6. All of a sudden german 
&lt;br&gt;&amp;gt; characters (like ö, ä, ü) do not get correctly sent from an RichUI 
&lt;br&gt;&amp;gt; ajax autocomplete to the respective controller action. Running the 
&lt;br&gt;&amp;gt; absolute same version of the application with grails run-app works 
&lt;br&gt;&amp;gt; just fine. Does anyone have any idea what could be wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Dimo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problems-with-german-special-characters-%28umlaute%29-after-deployment-in-tomcat-6-tp19854904p19856208.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19855822</id>
	<title>Re: Problems with german special characters (umlaute) after deployment in tomcat 6</title>
	<published>2008-10-07T04:03:04Z</published>
	<updated>2008-10-07T04:03:04Z</updated>
	<author>
		<name>Dimo Velev-3</name>
	</author>
	<content type="html">In tomcat 6 (war deployment) i get 2 characters per special character 
&lt;br&gt;and in the same configuration in the embedded jetty I get 1 character. I 
&lt;br&gt;guess that the parameters are not correctly decoded when deploying the 
&lt;br&gt;application as a WAR. Any ideas how to fix that?
&lt;br&gt;&lt;br&gt;Dimo Velev wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am having some hard time after I deployed our application in a 
&lt;br&gt;&amp;gt; production environment running under tomcat 6. All of a sudden german 
&lt;br&gt;&amp;gt; characters (like ö, ä, ü) do not get correctly sent from an RichUI 
&lt;br&gt;&amp;gt; ajax autocomplete to the respective controller action. Running the 
&lt;br&gt;&amp;gt; absolute same version of the application with grails run-app works 
&lt;br&gt;&amp;gt; just fine. Does anyone have any idea what could be wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Dimo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problems-with-german-special-characters-%28umlaute%29-after-deployment-in-tomcat-6-tp19854904p19855822.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19855232</id>
	<title>GWT + webflow?</title>
	<published>2008-10-07T03:12:40Z</published>
	<updated>2008-10-07T03:12:40Z</updated>
	<author>
		<name>hcunningham</name>
	</author>
	<content type="html">hi,
&lt;br&gt;&lt;br&gt;I have some existing webflows that I'd like to put a GWT front-end on. Has anyone succeeded with the GWT plugin and webflows?
&lt;br&gt;&lt;br&gt;I'm hoping that so long as I include the _flowExecutionKey in GWT RPC calls then the flow should work as normal?
&lt;br&gt;&lt;br&gt;thanks, best,
&lt;br&gt;&lt;br&gt;hamish cunningham
&lt;br&gt;&lt;a href=&quot;http://www.dcs.shef.ac.uk/~hamish/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dcs.shef.ac.uk/~hamish/&lt;/a&gt;&amp;nbsp;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/GWT-%2B-webflow--tp19855232p19855232.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19855089</id>
	<title>Re: Grails CMS</title>
	<published>2008-10-07T02:57:23Z</published>
	<updated>2008-10-07T02:57:23Z</updated>
	<author>
		<name>hcunningham</name>
	</author>
	<content type="html">mike
&lt;br&gt;&lt;br&gt;this is probably not what you want, but there's a basic grails-based 
&lt;br&gt;wiki/cms with SVN backend at &lt;a href=&quot;http://gatewiki.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gatewiki.sourceforge.net/&lt;/a&gt;&lt;br&gt;&lt;br&gt;might provide some ideas
&lt;br&gt;&lt;br&gt;best
&lt;br&gt;&lt;br&gt;hamish cunningham
&lt;br&gt;&lt;a href=&quot;http://www.dcs.shef.ac.uk/~hamish/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dcs.shef.ac.uk/~hamish/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Mike Brevoort wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'd be interested if the CMS is less front-end oriented and more focused on
&lt;br&gt;&amp;gt; content creation, administration, categorization and publishing. &amp;nbsp;I'd like
&lt;br&gt;&amp;gt; there to be less of a &amp;quot;page&amp;quot; to content item paradigm and more of an
&lt;br&gt;&amp;gt; abstraction of content to more structured content types. &amp;nbsp;I'm curious if
&lt;br&gt;&amp;gt; anyone out there is interested in this direction... possibly a plugin.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm doing a POC for a new internet site this week with Ingeniux (mid market
&lt;br&gt;&amp;gt; SaaS) CMS and Grails as a delivery application. &amp;nbsp;Ingeniux is an XML based
&lt;br&gt;&amp;gt; CMS and can publish out in multiple formats such as HTML, XML, JSON data
&lt;br&gt;&amp;gt; structures, etc.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I looked at Alfresco as well for integrating with Grails but the supported
&lt;br&gt;&amp;gt; variety was much pricier than I had realized.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regardless of the direction, I would be interested in collaborating on
&lt;br&gt;&amp;gt; this...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mike
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Mon, Oct 6, 2008 at 3:17 PM, Daniel Honig &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19855089&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel.honig@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Grails 1.1 has some basic JCR Integration. &amp;nbsp;I think at first it is
&lt;br&gt;&amp;gt;&amp;gt; focused on Jackrabbit integration and from there it will move on to
&lt;br&gt;&amp;gt;&amp;gt; other CMS systems. &amp;nbsp;Some people have had luck integrating
&lt;br&gt;&amp;gt;&amp;gt; alfresco.....
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I think your just slightly ahead of the curve on this one....I'm going
&lt;br&gt;&amp;gt;&amp;gt; to start out by integrating Jackrabbit for some small CMS needs but
&lt;br&gt;&amp;gt;&amp;gt; let me know what you end up deciding....
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Mon, Oct 6, 2008 at 5:04 PM, Aaron Eischeid &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19855089&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.eischeid@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I would think the way Grails uses plugins would make it relatively easy
&lt;br&gt;&amp;gt;&amp;gt; to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; get something basic yet extendable to meet a broad range of CMS type
&lt;br&gt;&amp;gt;&amp;gt; needs.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Unfortunately, I don't currently have the time, (or the skills) to takle
&lt;br&gt;&amp;gt;&amp;gt; a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; project like &amp;nbsp;that, but I would be interested in contributing some to
&lt;br&gt;&amp;gt;&amp;gt; Gumbo.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Just throwing out thoughts here, but I think an easy to use grails CMS
&lt;br&gt;&amp;gt;&amp;gt; would
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; potentially attract a wave of new interest in Groovy/Grails. Personally I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; find it funny that so many grails blogs are done with wordpress. Nothing
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; against wordpress - use it myself - but I would probably use a grails
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; alternative if it existed.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I saw a few things about a sample app called &amp;quot;simple-cms&amp;quot; that looks like
&lt;br&gt;&amp;gt;&amp;gt; it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; was for an old version of grails. I wonder if that would be easy to
&lt;br&gt;&amp;gt;&amp;gt; update
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and get something useful out of.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Aaron
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Mon, Oct 6, 2008 at 3:29 PM, Stand Trooper &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19855089&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;standtrooper@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I don't have any thoughts or suggestions Aaron, but I've been toying
&lt;br&gt;&amp;gt;&amp;gt; with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this as well. &amp;nbsp;I think that one of the reasons that they haven't stuck
&lt;br&gt;&amp;gt;&amp;gt; is,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; IMO, because they're reinventing a well done wheel.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I've started working on a CMS that I, preliminarily, call Gumbo for a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Grails like Mambo CMS system.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I like some parts of the CMS systems I've worked with and seen and Mambo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; has been one of the better ones, but there are things that I don't
&lt;br&gt;&amp;gt;&amp;gt; like...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; What I'm primarily interested in is a better more Ajaxian approach as
&lt;br&gt;&amp;gt;&amp;gt; well.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I'm open to a lot of changes, but I'm building my &amp;quot;framework&amp;quot; for the
&lt;br&gt;&amp;gt;&amp;gt; plugin
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; based off of my work with mambo initially.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; CMS to me is managing all content on a site. &amp;nbsp;It's a way to give the
&lt;br&gt;&amp;gt;&amp;gt; site
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; managers a way to update content easily with minimal amount of training.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I've not used Radiant, so I can't comment on that.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; timo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Mon, Oct 6, 2008 at 3:21 PM, Aaron Eischeid &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19855089&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.eischeid@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I was doing a little searching around today and I noticed there have
&lt;br&gt;&amp;gt;&amp;gt; been
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; a number of attempts to get a CMS built on grails going. None of them
&lt;br&gt;&amp;gt;&amp;gt; seem
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to have panned out or stayed alive. Is there a reason for this, or am I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; maybe just looking in the wrong places?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Down the road a little bit we are looking at a way to replace all the
&lt;br&gt;&amp;gt;&amp;gt; old
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Rails stuff we have, currently our front end site is using Radiant, and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; basically I am trying to do some preliminary research to see how we
&lt;br&gt;&amp;gt;&amp;gt; could go
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 100% grails.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thoughts/suggestions?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Aaron
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grails-CMS-tp19845642p19855089.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19854607</id>
	<title>Re: Webflow subflow - novice musings</title>
	<published>2008-10-07T02:34:50Z</published>
	<updated>2008-10-07T02:34:50Z</updated>
	<author>
		<name>stirlingjava</name>
	</author>
	<content type="html">Hi Richard,
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Richard M wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;First thing I discovered was that when I defined the existing flow I wanted to use as as subflow as &amp;quot;static&amp;quot; as suggested, it would no longer work as a main flow.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
After my original posting, I noticed this too. It didn't matter at the time because I never invoked subflow as 'main'-flow...
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message&quot;&gt;This seems really ugly, is it expected? Any workarounds?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
One way of dispensing with the 'static' declaration uglyness is to use a (Controller) superclass to contain 'common' flow definition (which may be used as subflows). In your example this could be done by making your PostingController subclass your OrderController then the guidedPostingFlow can invoke the orderCreditsFlow as a subflow, and also the orderCreditsFlow could be invoked directly as a 'main'-flow. 
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message&quot;&gt;Next, after reading Ashley's item #3, I said &amp;quot;Good&amp;quot;, since my subflow is in a separate Controller class, my view paths will still work. Not! It kept looking for them under the calling flow's path. I could have copied (I still need the views when the subflow is a main flow) the views to the calling flows view directory. I've also tried putting them in /shared/guidedPosting/* and explicitly specifying a render for each view state - this could keep me from having to duplicate the views, I guess.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Sorry, my #3 wasn't all that clear. Basically I found that the default view 'path' of a subflow invocation will incorporate its parent flow. ...Which wasn't what I wanted. So (and it sounds like you've decided to do something similar) I explicitly declare my view 'paths'. E.g. render(view:'/orderCredits/edit') - which would point at a shared /views/orderCredits/ directory.
&lt;br&gt;&lt;br&gt;Cheers, Ashley McClenaghan&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Webflow-subflow---novice-musings-tp17425431p19854607.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19854432</id>
	<title>A framework with business templates</title>
	<published>2008-10-07T02:22:23Z</published>
	<updated>2008-10-07T02:22:23Z</updated>
	<author>
		<name>Stephane Eybert</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Is there anything like this in Grails..?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://ajaxian.com/archives/vista-os-x-mash-up-created-with-gwt-on-php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ajaxian.com/archives/vista-os-x-mash-up-created-with-gwt-on-php&lt;/a&gt;&lt;br&gt;&lt;br&gt;This GWT-PHP framework really looks nice!
&lt;br&gt;&lt;br&gt;But I would prefer it in pure Groovy/Java...
&lt;br&gt;&lt;br&gt;Do you know if an equivalent exists in the Java world..?
&lt;br&gt;&lt;br&gt;I know GWT is Java based. 
&lt;br&gt;&lt;br&gt;But I'm looking for some framework with business like ready made templates, just like this GWT-PHP offers.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Stephane&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/A-framework-with-business-templates-tp19854432p19854432.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19854972</id>
	<title>Re: Grails CMS</title>
	<published>2008-10-07T02:21:36Z</published>
	<updated>2008-10-07T02:21:36Z</updated>
	<author>
		<name>Marc Palmer Local</name>
	</author>
	<content type="html">&lt;br&gt;On 6 Oct 2008, at 22:04, Aaron Eischeid wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I would think the way Grails uses plugins would make it relatively &amp;nbsp;
&lt;br&gt;&amp;gt; easy to get something basic yet extendable to meet a broad range of &amp;nbsp;
&lt;br&gt;&amp;gt; CMS type needs. Unfortunately, I don't currently have the time, (or &amp;nbsp;
&lt;br&gt;&amp;gt; the skills) to takle a project like &amp;nbsp;that, but I would be interested &amp;nbsp;
&lt;br&gt;&amp;gt; in contributing some to Gumbo.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just throwing out thoughts here, but I think an easy to use grails &amp;nbsp;
&lt;br&gt;&amp;gt; CMS would potentially attract a wave of new interest in Groovy/ 
&lt;br&gt;&amp;gt; Grails. Personally I find it funny that so many grails blogs are &amp;nbsp;
&lt;br&gt;&amp;gt; done with wordpress. Nothing against wordpress - use it myself - but &amp;nbsp;
&lt;br&gt;&amp;gt; I would probably use a grails alternative if it existed.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I am being paid to work part-time with the JCatalog development team &amp;nbsp;
&lt;br&gt;on an open source Grails CMS over the coming months. The company &amp;nbsp;
&lt;br&gt;already has a working system that we are going to be polishing up and &amp;nbsp;
&lt;br&gt;refining for release.
&lt;br&gt;&lt;br&gt;I can't give any precise timescales yet, but we are hoping for a 0.1 &amp;nbsp;
&lt;br&gt;application release soon ish, and later a plugin release so that the &amp;nbsp;
&lt;br&gt;CMS can be installed into any existing Grails application, as well as &amp;nbsp;
&lt;br&gt;being used standalone as an out of the box CMS app.
&lt;br&gt;&lt;br&gt;It has a pretty flexible content model, and is not going to be a Mambo &amp;nbsp;
&lt;br&gt;type portal &amp;quot;CMS&amp;quot;. It is based around the true concept of content &amp;nbsp;
&lt;br&gt;management, i.e. content nodes having structure applied to them etc.
&lt;br&gt;&lt;br&gt;Marc
&lt;br&gt;&lt;br&gt;~ ~ ~
&lt;br&gt;Marc Palmer
&lt;br&gt;Grails &amp;gt; Groovy &amp;gt; Java
&lt;br&gt;&lt;a href=&quot;http://www.grailsrocks.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.grailsrocks.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grails-CMS-tp19845642p19854972.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19854904</id>
	<title>Problems with german special characters (umlaute) after deployment in tomcat 6</title>
	<published>2008-10-07T02:08:05Z</published>
	<updated>2008-10-07T02:08:05Z</updated>
	<author>
		<name>Dimo Velev-3</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I am having some hard time after I deployed our application in a 
&lt;br&gt;production environment running under tomcat 6. All of a sudden german 
&lt;br&gt;characters (like ö, ä, ü) do not get correctly sent from an RichUI ajax 
&lt;br&gt;autocomplete to the respective controller action. Running the absolute 
&lt;br&gt;same version of the application with grails run-app works just fine. 
&lt;br&gt;Does anyone have any idea what could be wrong?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Dimo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problems-with-german-special-characters-%28umlaute%29-after-deployment-in-tomcat-6-tp19854904p19854904.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19853902</id>
	<title>Re: mime-mapping in web.xml has no effect</title>
	<published>2008-10-07T01:49:01Z</published>
	<updated>2008-10-07T01:49:01Z</updated>
	<author>
		<name>houbie</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;houbie wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;When I look at the response header, the mime-type still doesn't get set.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
The mime-type does get set as expected. It was the browser cache that fooled me.
&lt;br&gt;&lt;br&gt;This problem made me discover the 'Live HTTP headers' Firefox plugin. An invaluable tool when having problems with headers, re-directs etc.
&lt;br&gt;&lt;br&gt;Ivo&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/mime-mapping-in-web.xml-has-no-effect-tp19507452p19853902.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19853900</id>
	<title>Re: Grails 1.1 with Groovy 1.6</title>
	<published>2008-10-07T01:14:29Z</published>
	<updated>2008-10-07T01:14:29Z</updated>
	<author>
		<name>Graeme Rocher-2</name>
	</author>
	<content type="html">Thanks for the support guys, just to add to that.. we are very much on
&lt;br&gt;the home stretch with the book, a couple more weeks and I hope to be
&lt;br&gt;back onto fulltime dev
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;On Tue, Oct 7, 2008 at 3:52 AM, Robert Fischer
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19853900&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;robert.fischer@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; ...and the Definitive Guide to Grails is *really* dated. &amp;nbsp;By the time you
&lt;br&gt;&amp;gt; understand enough about Grails to understand how to &amp;quot;update&amp;quot; the examples
&lt;br&gt;&amp;gt; and descriptions, you're pretty much beyond the scope of the book.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; One of the down sides of a rapidly evolving framework is that it's hard to
&lt;br&gt;&amp;gt; keep pace.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ~~ Robert.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Mike Brevoort wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My $.02 on books: I think it's naive to dismiss the importance of
&lt;br&gt;&amp;gt;&amp;gt; published books to the viability of a project. &amp;nbsp;Like it or not it's a key
&lt;br&gt;&amp;gt;&amp;gt; indicator of project adoption and maturity. &amp;nbsp;It would be 10x more difficult
&lt;br&gt;&amp;gt;&amp;gt; for me to convince stakeholders that Grails is a viable option if there were
&lt;br&gt;&amp;gt;&amp;gt; zero books published.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks for the update...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Mike
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Mon, Oct 6, 2008 at 5:13 AM, Graeme Rocher &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19853900&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;graeme@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19853900&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;graeme@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;On Mon, Oct 6, 2008 at 11:47 AM, Mingfai &amp;lt;mingfai.ma
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;&lt;a href=&quot;http://mingfai.ma&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mingfai.ma&lt;/a&gt;&amp;gt;@gmail.com &amp;lt;&lt;a href=&quot;http://gmail.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gmail.com&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; Either that, or we need to see the ultra productive Graeme Rocher
&lt;br&gt;&amp;gt;&amp;gt; we
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; are used to again, fixing 10 JIRA issues or so in a single day
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;;) and
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; Jean-Noel
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; I just checked JIRA. Graeme has 1000+ outstanding issues. 10 JIRA
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;issues a
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; day is not enough! :-)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;There are many duplicates and not fixes in there I'm sure ;-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;We'll make it, don't worry
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;Cheers
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;--
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;Graeme Rocher
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;Grails Project Lead
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;G2One, Inc. Chief Technology Officer
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.g2one.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.g2one.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Graeme Rocher
&lt;br&gt;Grails Project Lead
&lt;br&gt;G2One, Inc. Chief Technology Officer
&lt;br&gt;&lt;a href=&quot;http://www.g2one.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.g2one.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---dev-f11862.html&quot; embed=&quot;fixTarget[11862]&quot; target=&quot;_top&quot; &gt;grails - dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grails-1.1-with-Groovy-1.6-tp19784403p19853900.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19853840</id>
	<title>Re: Grails CMS</title>
	<published>2008-10-07T00:51:59Z</published>
	<updated>2008-10-07T00:51:59Z</updated>
	<author>
		<name>Ali M.</name>
	</author>
	<content type="html">You should look at liferay &lt;a href=&quot;http://www.liferay.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.liferay.com&lt;/a&gt;&lt;br&gt;It have portlet support, and I think you can use groovy to create
&lt;br&gt;portlets that runs inside liferay.
&lt;br&gt;&lt;br&gt;Creating a CMS with grails, will be building a framework on top of a
&lt;br&gt;framework! Which isn't a terrible thing to do, but seem to be of
&lt;br&gt;little benifit for the CMS users.
&lt;br&gt;&lt;br&gt;I believe the right way to go is to build a plugin for grails that
&lt;br&gt;achieve the functionality you seek and use this with grails! and
&lt;br&gt;improve grails plugin framework if it is not flexible enough for you!
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ali
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grails-CMS-tp19845642p19853840.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19852488</id>
	<title>Lose Hibernate session when subflow merges back into main flow</title>
	<published>2008-10-07T00:22:32Z</published>
	<updated>2008-10-07T00:22:32Z</updated>
	<author>
		<name>Richard M</name>
	</author>
	<content type="html">&lt;p&gt;I've spend the last three hours reading every related post I can find, but find little reference to web flows and this problem.&lt;/p&gt;

&lt;p&gt;The subflow is merging back into the main flow just fine (after a bit of effort, but that's in a different post :) until I do the first service call or hibernate access.&lt;/p&gt;

&lt;p&gt;Briefly, I'm in the middle of collecting data to save one set of domain objects, when I transfer to the subflow to create some other domain objects, that need to exist first, then transfer back to complete the original task.&lt;/p&gt;

&lt;p&gt;This error occurs if I call the service and &quot;def transaction = true&quot; is declared at the top of the service. The error happens on the service call - I imagine because its trying to create a transaction.&lt;/p&gt;
&lt;pre&gt;Message: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
Caused by: Exception thrown executing org.codehaus.groovy.grails.webflow.engine.builder.ClosureInvokingAction@39ccd861 in state 'createPosting' of flow 'guidedPosting' -- action execution attributes were 'map[[empty]]'; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
Class: CustomerPostingController
At Line: [293]
Code Snippet:
Stack Trace

org.springframework.webflow.engine.ActionExecutionException: Exception thrown executing org.codehaus.groovy.grails.webflow.engine.builder.ClosureInvokingAction@39ccd861 in state 'createPosting' of flow 'guidedPosting' -- action execution attributes were 'map[[empty]]'; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.cies.ciaz.service.PostingFlowService$$EnhancerByCGLIB$$1f73e93c.getMetaClass(&lt;generated&gt;)
	at com.cies.ciaz.controller.CustomerPostingController$_closure8_closure18_closure29.doCall(CustomerPostingController.groovy:293)&lt;/pre&gt;

&lt;p&gt;This error occurs if I call the service and &quot;def transaction = false&quot; is declared at the top of the service. The error happens down in the service the first another service is called (transactional) that does an HQL query.&lt;/p&gt;
&lt;pre&gt;
Message: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
Caused by: Exception thrown executing org.codehaus.groovy.grails.webflow.engine.builder.ClosureInvokingAction@529afc0c in state 'createPosting' of flow 'guidedPosting' -- action execution attributes were 'map[[empty]]'; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
Class: PostingFlowService
At Line: [62]
Code Snippet:

org.springframework.webflow.engine.ActionExecutionException: Exception thrown executing org.codehaus.groovy.grails.webflow.engine.builder.ClosureInvokingAction@529afc0c in state 'createPosting' of flow 'guidedPosting' -- action execution attributes were 'map[[empty]]'; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.cies.ciaz.service.PostingCreditService$$EnhancerByCGLIB$$55315a6a.getMetaClass(&lt;generated&gt;)
	at com.cies.ciaz.service.PostingFlowService.savePosting(PostingFlowService.groovy:62)
	at com.cies.ciaz.controller.CustomerPostingController$_closure8_closure18_closure29.doCall(CustomerPostingController.groovy:301)&lt;/pre&gt;

&lt;p&gt;Any ideas on how to make this work would be appreciated. The concept behind flows is really cool, but they've been tougher to get to actually work so far.
&lt;/p&gt;

Thanks - Richard&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Lose-Hibernate-session-when-subflow-merges-back-into-main-flow-tp19852488p19852488.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19852909</id>
	<title>Re: [ANN] Datasources Plugin</title>
	<published>2008-10-07T00:13:23Z</published>
	<updated>2008-10-07T00:13:23Z</updated>
	<author>
		<name>burtbeckwith</name>
	</author>
	<content type="html">The environment names don't correspond to the names in DataSource.groovy. 
&lt;br&gt;There's no relationship between DataSource.groovy and Datasources.groovy - 
&lt;br&gt;DataSource.groovy creates the 'primary' datasource, and Datasources.groovy 
&lt;br&gt;creates zero or more 'secondary' datasources, completely independently.
&lt;br&gt;&lt;br&gt;Btw - if a secondary datasource applies to all three environments, you can 
&lt;br&gt;leave it out since that's the default.
&lt;br&gt;&lt;br&gt;Burt
&lt;br&gt;&lt;br&gt;On Monday 06 October 2008 11:36:23 am Dave LC wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Yes, I've set that to point to the three environments I am using:
&lt;br&gt;&amp;gt; 		environments(['development','test','production'])
&lt;br&gt;&amp;gt; But these obviously refer to the environments defined in DataSource.groovy,
&lt;br&gt;&amp;gt; and within those definitions, I have different connection settings
&lt;br&gt;&amp;gt; depending on the environment:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; environments {
&lt;br&gt;&amp;gt; 	development {
&lt;br&gt;&amp;gt; 		dataSource {
&lt;br&gt;&amp;gt; 			driverClassName = &amp;quot;com.mysql.jdbc.Driver&amp;quot;
&lt;br&gt;&amp;gt; 			url = &amp;quot;jdbc:mysql://xxx.sql.local:3306/admin&amp;quot;
&lt;br&gt;&amp;gt; 			username = &amp;quot;admin&amp;quot;
&lt;br&gt;&amp;gt; 			password = &amp;quot;admin&amp;quot;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt; 	test {
&lt;br&gt;&amp;gt; 		dataSource {
&lt;br&gt;&amp;gt; 			dbCreate = &amp;quot;update&amp;quot;
&lt;br&gt;&amp;gt; 			url = &amp;quot;jdbc:hsqldb:mem:testDb&amp;quot;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt; 	production {
&lt;br&gt;&amp;gt; 		dataSource {
&lt;br&gt;&amp;gt; 			jndiName = &amp;quot;java:comp/env/jdbc/admin&amp;quot;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; These refer to the primary datasource. My question is how would the second
&lt;br&gt;&amp;gt; datasource be able to connect in the production environment when it requres
&lt;br&gt;&amp;gt; a different jndiName (e.g. &amp;quot;java:comp/env/jdbc/user&amp;quot;)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I hope that makes sense.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; burtbeckwith wrote:
&lt;br&gt;&amp;gt; &amp;gt; There's an 'environments' attribute where you can specify which
&lt;br&gt;&amp;gt; &amp;gt; environment(s)
&lt;br&gt;&amp;gt; &amp;gt; a datasource should apply to. There's a description of the dsl here:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://burtbeckwith.com/blog/?p=70&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://burtbeckwith.com/blog/?p=70&lt;/a&gt;&amp;nbsp;and you can also download a test app
&lt;br&gt;&amp;gt; &amp;gt; there
&lt;br&gt;&amp;gt; &amp;gt; that demonstrates usage.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Burt
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-ANN--Datasources-Plugin-tp19322683p19852909.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19850811</id>
	<title>Re: Grails CMS</title>
	<published>2008-10-06T21:20:34Z</published>
	<updated>2008-10-06T21:20:34Z</updated>
	<author>
		<name>Mike Brevoort-2</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;I&amp;#39;d be interested if the CMS is less front-end oriented and more focused on content creation, administration, categorization and publishing.&amp;nbsp; I&amp;#39;d like there to be less of a &amp;quot;page&amp;quot; to content item paradigm and more of an abstraction of content to more structured content types.&amp;nbsp; I&amp;#39;m curious if anyone out there is interested in this direction... possibly a plugin. &lt;br&gt;
&lt;br&gt;I&amp;#39;m doing a POC for a new internet site this week with Ingeniux (mid market SaaS) CMS and Grails as a delivery application.&amp;nbsp; Ingeniux is an XML based CMS and can publish out in multiple formats such as HTML, XML, JSON data structures, etc.&lt;br&gt;
&lt;br&gt;I looked at Alfresco as well for integrating with Grails but the supported variety was much pricier than I had realized.&lt;br&gt;&lt;br&gt;Regardless of the direction, I would be interested in collaborating on this...&lt;br&gt;&lt;br&gt;Mike&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Oct 6, 2008 at 3:17 PM, Daniel Honig &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19850811&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel.honig@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Grails 1.1 has some basic JCR Integration. &amp;nbsp;I think at first it is&lt;br&gt;
focused on Jackrabbit integration and from there it will move on to&lt;br&gt;
other CMS systems. &amp;nbsp;Some people have had luck integrating&lt;br&gt;
alfresco.....&lt;br&gt;
&lt;br&gt;
I think your just slightly ahead of the curve on this one....I&amp;#39;m going&lt;br&gt;
to start out by integrating Jackrabbit for some small CMS needs but&lt;br&gt;
let me know what you end up deciding....&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
On Mon, Oct 6, 2008 at 5:04 PM, Aaron Eischeid &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19850811&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.eischeid@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; I would think the way Grails uses plugins would make it relatively easy to&lt;br&gt;
&amp;gt; get something basic yet extendable to meet a broad range of CMS type needs.&lt;br&gt;
&amp;gt; Unfortunately, I don&amp;#39;t currently have the time, (or the skills) to takle a&lt;br&gt;
&amp;gt; project like &amp;nbsp;that, but I would be interested in contributing some to Gumbo.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Just throwing out thoughts here, but I think an easy to use grails CMS would&lt;br&gt;
&amp;gt; potentially attract a wave of new interest in Groovy/Grails. Personally I&lt;br&gt;
&amp;gt; find it funny that so many grails blogs are done with wordpress. Nothing&lt;br&gt;
&amp;gt; against wordpress - use it myself - but I would probably use a grails&lt;br&gt;
&amp;gt; alternative if it existed.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I saw a few things about a sample app called &amp;quot;simple-cms&amp;quot; that looks like it&lt;br&gt;
&amp;gt; was for an old version of grails. I wonder if that would be easy to update&lt;br&gt;
&amp;gt; and get something useful out of.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Aaron&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Mon, Oct 6, 2008 at 3:29 PM, Stand Trooper &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19850811&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;standtrooper@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I don&amp;#39;t have any thoughts or suggestions Aaron, but I&amp;#39;ve been toying with&lt;br&gt;
&amp;gt;&amp;gt; this as well. &amp;nbsp;I think that one of the reasons that they haven&amp;#39;t stuck is,&lt;br&gt;
&amp;gt;&amp;gt; IMO, because they&amp;#39;re reinventing a well done wheel.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I&amp;#39;ve started working on a CMS that I, preliminarily, call Gumbo for a&lt;br&gt;
&amp;gt;&amp;gt; Grails like Mambo CMS system.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I like some parts of the CMS systems I&amp;#39;ve worked with and seen and Mambo&lt;br&gt;
&amp;gt;&amp;gt; has been one of the better ones, but there are things that I don&amp;#39;t like...&lt;br&gt;
&amp;gt;&amp;gt; What I&amp;#39;m primarily interested in is a better more Ajaxian approach as well.&lt;br&gt;
&amp;gt;&amp;gt; I&amp;#39;m open to a lot of changes, but I&amp;#39;m building my &amp;quot;framework&amp;quot; for the plugin&lt;br&gt;
&amp;gt;&amp;gt; based off of my work with mambo initially.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; CMS to me is managing all content on a site. &amp;nbsp;It&amp;#39;s a way to give the site&lt;br&gt;
&amp;gt;&amp;gt; managers a way to update content easily with minimal amount of training.&lt;br&gt;
&amp;gt;&amp;gt; I&amp;#39;ve not used Radiant, so I can&amp;#39;t comment on that.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; timo&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; On Mon, Oct 6, 2008 at 3:21 PM, Aaron Eischeid &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19850811&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.eischeid@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; I was doing a little searching around today and I noticed there have been&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; a number of attempts to get a CMS built on grails going. None of them seem&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; to have panned out or stayed alive. Is there a reason for this, or am I&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; maybe just looking in the wrong places?&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Down the road a little bit we are looking at a way to replace all the old&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Rails stuff we have, currently our front end site is using Radiant, and&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; basically I am trying to do some preliminary research to see how we could go&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; 100% grails.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Thoughts/suggestions?&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Aaron&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grails-CMS-tp19845642p19850811.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19850198</id>
	<title>Re: Grails 1.1 with Groovy 1.6</title>
	<published>2008-10-06T19:52:59Z</published>
	<updated>2008-10-06T19:52:59Z</updated>
	<author>
		<name>Robert Fischer-8</name>
	</author>
	<content type="html">...and the Definitive Guide to Grails is *really* dated. &amp;nbsp;By the time you understand enough about 
&lt;br&gt;Grails to understand how to &amp;quot;update&amp;quot; the examples and descriptions, you're pretty much beyond the 
&lt;br&gt;scope of the book.
&lt;br&gt;&lt;br&gt;One of the down sides of a rapidly evolving framework is that it's hard to keep pace.
&lt;br&gt;&lt;br&gt;~~ Robert.
&lt;br&gt;&lt;br&gt;Mike Brevoort wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; My $.02 on books: I think it's naive to dismiss the importance of 
&lt;br&gt;&amp;gt; published books to the viability of a project. &amp;nbsp;Like it or not it's a 
&lt;br&gt;&amp;gt; key indicator of project adoption and maturity. &amp;nbsp;It would be 10x more 
&lt;br&gt;&amp;gt; difficult for me to convince stakeholders that Grails is a viable option 
&lt;br&gt;&amp;gt; if there were zero books published.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the update...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mike
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Mon, Oct 6, 2008 at 5:13 AM, Graeme Rocher &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19850198&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;graeme@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19850198&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;graeme@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; On Mon, Oct 6, 2008 at 11:47 AM, Mingfai &amp;lt;mingfai.ma
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://mingfai.ma&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mingfai.ma&lt;/a&gt;&amp;gt;@gmail.com &amp;lt;&lt;a href=&quot;http://gmail.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gmail.com&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;gt; Either that, or we need to see the ultra productive Graeme Rocher we
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;gt; are used to again, fixing 10 JIRA issues or so in a single day
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ;) and
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;gt; Jean-Noel
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt; I just checked JIRA. Graeme has 1000+ outstanding issues. 10 JIRA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; issues a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt; day is not enough! :-)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; There are many duplicates and not fixes in there I'm sure ;-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; We'll make it, don't worry
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Cheers
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; --
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Graeme Rocher
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Grails Project Lead
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; G2One, Inc. Chief Technology Officer
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.g2one.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.g2one.com&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---dev-f11862.html&quot; embed=&quot;fixTarget[11862]&quot; target=&quot;_top&quot; &gt;grails - dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grails-1.1-with-Groovy-1.6-tp19784403p19850198.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19850184</id>
	<title>Re: Thread Pool Example</title>
	<published>2008-10-06T19:50:58Z</published>
	<updated>2008-10-06T19:50:58Z</updated>
	<author>
		<name>Robert Fischer-8</name>
	</author>
	<content type="html">Not sure what's wrong with that tutorial, but here's an alternative if you're just looking for the 
&lt;br&gt;functionality: &lt;a href=&quot;http://github.com/RobertFischer/grails-bgthreadservice/tree&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/RobertFischer/grails-bgthreadservice/tree&lt;/a&gt;&lt;br&gt;&lt;br&gt;~~ Robert.
&lt;br&gt;&lt;br&gt;Nate-37 wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I found a nice tutorial from grails-exchange.com that creates a simple
&lt;br&gt;&amp;gt; Thread Pool plugin:
&lt;br&gt;&amp;gt; The PDF document where I found this sample code is here:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.grails-exchange.com/files/StevenDevjver%20-%20Grails%20plugins.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.grails-exchange.com/files/StevenDevjver%20-%20Grails%20plugins.pdf&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; However, I can't get it to work. &amp;nbsp;I can create and compile the plugin, and
&lt;br&gt;&amp;gt; install it in a simple Grails app.
&lt;br&gt;&amp;gt; When I try to use the plugin, I get a Null Pointer Exception at line 6 in
&lt;br&gt;&amp;gt; ThreadPoolGrailsPlugin.groovy
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here's the steps I took:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I ran grails create-plugin ThreadPool
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I fixed a (typo?) in the ThreadPoolGrailsPlugin.groovy file, where I changed
&lt;br&gt;&amp;gt; &amp;quot;...&amp;quot; to &amp;quot;..&amp;quot; in the doWithSpring closure.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I changed the ThreadPoolGrailsPlugin.groovy file to look like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; class ThreadPoolGrailsPlugin{ 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; def version = 0.1 
&lt;br&gt;&amp;gt; 	def dependsOn= [:] 
&lt;br&gt;&amp;gt; 	def doWithSpring= { 
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;taskExecutor(o.sfw .. ThreadPoolTaskExecutor) { 
&lt;br&gt;&amp;gt; 		maxPoolSize= 100 
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;} 
&lt;br&gt;&amp;gt; 	} 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; def doWithDynamicMethods= { ctx-&amp;gt; 
&lt;br&gt;&amp;gt; 	Runnable.metaClass.start= { 
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;ctx.getBean(&amp;quot;taskExecutor&amp;quot;).execute(delegate) 
&lt;br&gt;&amp;gt; 	} 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&amp;gt; } 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then, I compiled the plugin: &amp;nbsp;grails package-plugin
&lt;br&gt;&amp;gt; I created a new Grails app: grails create-app foo
&lt;br&gt;&amp;gt; I CD'd into foo, and ran grails install-plugin
&lt;br&gt;&amp;gt; ../ThreadPool/grails-thread-pool-0.1.zip
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then, I added the following code to foo/grails-app/conf/BootStrap.groovy:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; class BootStrap{ 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; def init = { 
&lt;br&gt;&amp;gt; 	println &amp;quot;#### ${Thread.currentThread().name}&amp;quot; 
&lt;br&gt;&amp;gt; 	{-&amp;gt; 
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;println &amp;quot;#### ${Thread.currentThread().name}&amp;quot; 
&lt;br&gt;&amp;gt; 	}.start() 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&amp;gt; } 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;(I had to fix the quotes to regular double-quotes after copy/paste from the
&lt;br&gt;&amp;gt; PDF file, and also inserted a space between the println and the quotes).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then, I ran ''grails run-app'', and got a compile error: Null Pointer
&lt;br&gt;&amp;gt; Exception at line 6 in ThreadPoolGrailsPlugin.groovy.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm using Grails 1.0.3 on MacOSX Leopard, with Groovy 1.5.6, and JVM
&lt;br&gt;&amp;gt; 1.5.0_13-119
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Where is the Grails app supposed to get the &amp;quot;o&amp;quot; variable from in
&lt;br&gt;&amp;gt; ThreadPoolGrailsPlugin.groovy?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for any help,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --Nate
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Thread-Pool-Example-tp19849354p19850184.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19849928</id>
	<title>RE: Exception in thread &quot;main&quot;</title>
	<published>2008-10-06T19:22:18Z</published>
	<updated>2008-10-06T19:22:18Z</updated>
	<author>
		<name>Glenn Ambrose</name>
	</author>
	<content type="html">&lt;br&gt;Thank you very much Burt
&lt;br&gt;&lt;br&gt;That fixed it nicely
&lt;br&gt;Glenn
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You want to put your Java first in the path to make sure it's loaded before 
&lt;br&gt;&amp;gt; another that might be already in your path. Also your GRAILS_HOME should 
&lt;br&gt;&amp;gt; be /home/glenn/grails/grails-1.0.3
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Try this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;export JAVA_HOME=/usr/lib/jvm/java-6-sun
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;export GRAILS_HOME=/home/glenn/grails/grails-1.0.3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;export PATH=$JAVA_HOME/bin:$GRAILS_HOME/bin:$PATH
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Burt
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Monday 06 October 2008 9:55:26 pm Glenn Ambrose wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi I was having problems with my set up of grails so that I couldn't use
&lt;br&gt;&amp;gt;&amp;gt; the generate-all command.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have been using Netbeans 6.5 on Ubuntu 8.04
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In .bashrc file I have added:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; export JAVA_HOME=/usr/lib/jvm/java-6-sun
&lt;br&gt;&amp;gt;&amp;gt; export PATH=$PATH:/usr/lib/jvm/java-6-sun/bin
&lt;br&gt;&amp;gt;&amp;gt; export GRAILS_HOME=/home/glenn/grails
&lt;br&gt;&amp;gt;&amp;gt; export PATH=$PATH:/home/glenn/grails/grails-1.0.3/bin
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now I get the following when I enter 'grails' in the terminal
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; glenn@glenn-desktop:~/NetBeansProjects/Racetrack$ grails generate-all
&lt;br&gt;&amp;gt;&amp;gt; Exception in thread &amp;quot;main&amp;quot; java.lang.NoClassDefFoundError:
&lt;br&gt;&amp;gt;&amp;gt; org/codehaus/groovy/grails/cli/support/GrailsStarter Caused by:
&lt;br&gt;&amp;gt;&amp;gt; java.lang.ClassNotFoundException:
&lt;br&gt;&amp;gt;&amp;gt; org.codehaus.groovy.grails.cli.support.GrailsStarter at
&lt;br&gt;&amp;gt;&amp;gt; java.net.URLClassLoader$1.run(URLClassLoader.java:200)
&lt;br&gt;&amp;gt;&amp;gt; 	at java.security.AccessController.doPrivileged(Native Method)
&lt;br&gt;&amp;gt;&amp;gt; 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
&lt;br&gt;&amp;gt;&amp;gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
&lt;br&gt;&amp;gt;&amp;gt; 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
&lt;br&gt;&amp;gt;&amp;gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
&lt;br&gt;&amp;gt;&amp;gt; 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So how many places have I gone wrong?
&lt;br&gt;&amp;gt;&amp;gt; Glenn
&lt;br&gt;&amp;gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;_________________________________________________________________
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Exception-in-thread-%22main%22-tp19849720p19849928.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19849886</id>
	<title>Re: Grails 1.1 with Groovy 1.6</title>
	<published>2008-10-06T19:18:10Z</published>
	<updated>2008-10-06T19:18:10Z</updated>
	<author>
		<name>Mike Brevoort-2</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;My $.02 on books: I think it&amp;#39;s naive to dismiss the importance of published books to the viability of a project.&amp;nbsp; Like it or not it&amp;#39;s a key indicator of project adoption and maturity.&amp;nbsp; It would be 10x more difficult for me to convince stakeholders that Grails is a viable option if there were zero books published.&lt;br&gt;
&lt;br&gt;Thanks for the update...&lt;br&gt;&lt;br&gt;Mike&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Oct 6, 2008 at 5:13 AM, Graeme Rocher &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19849886&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;graeme@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;On Mon, Oct 6, 2008 at 11:47 AM, Mingfai &amp;lt;&lt;a href=&quot;http://mingfai.ma&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;mingfai.ma&lt;/a&gt;@&lt;a href=&quot;http://gmail.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Either that, or we need to see the ultra productive Graeme Rocher we&lt;br&gt;
&amp;gt;&amp;gt; are used to again, fixing 10 JIRA issues or so in a single day ;) and&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Jean-Noel&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I just checked JIRA. Graeme has 1000+ outstanding issues. 10 JIRA issues a&lt;br&gt;
&amp;gt; day is not enough! :-)&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;There are many duplicates and not fixes in there I&amp;#39;m sure ;-)&lt;br&gt;
&lt;br&gt;
We&amp;#39;ll make it, don&amp;#39;t worry&lt;br&gt;
&lt;br&gt;
Cheers&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;Graeme Rocher&lt;br&gt;
Grails Project Lead&lt;br&gt;
G2One, Inc. Chief Technology Officer&lt;br&gt;
&lt;a href=&quot;http://www.g2one.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.g2one.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
 &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---dev-f11862.html&quot; embed=&quot;fixTarget[11862]&quot; target=&quot;_top&quot; &gt;grails - dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grails-1.1-with-Groovy-1.6-tp19784403p19849886.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19849773</id>
	<title>Re: Exception in thread &quot;main&quot;</title>
	<published>2008-10-06T19:03:19Z</published>
	<updated>2008-10-06T19:03:19Z</updated>
	<author>
		<name>burtbeckwith</name>
	</author>
	<content type="html">You want to put your Java first in the path to make sure it's loaded before 
&lt;br&gt;another that might be already in your path. Also your GRAILS_HOME should 
&lt;br&gt;be /home/glenn/grails/grails-1.0.3
&lt;br&gt;&lt;br&gt;Try this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;export JAVA_HOME=/usr/lib/jvm/java-6-sun
&lt;br&gt;&amp;nbsp; &amp;nbsp;export GRAILS_HOME=/home/glenn/grails/grails-1.0.3
&lt;br&gt;&amp;nbsp; &amp;nbsp;export PATH=$JAVA_HOME/bin:$GRAILS_HOME/bin:$PATH
&lt;br&gt;&lt;br&gt;Burt
&lt;br&gt;&lt;br&gt;On Monday 06 October 2008 9:55:26 pm Glenn Ambrose wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi I was having problems with my set up of grails so that I couldn't use
&lt;br&gt;&amp;gt; the generate-all command.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have been using Netbeans 6.5 on Ubuntu 8.04
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In .bashrc file I have added:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; export JAVA_HOME=/usr/lib/jvm/java-6-sun
&lt;br&gt;&amp;gt; export PATH=$PATH:/usr/lib/jvm/java-6-sun/bin
&lt;br&gt;&amp;gt; export GRAILS_HOME=/home/glenn/grails
&lt;br&gt;&amp;gt; export PATH=$PATH:/home/glenn/grails/grails-1.0.3/bin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now I get the following when I enter 'grails' in the terminal
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; glenn@glenn-desktop:~/NetBeansProjects/Racetrack$ grails generate-all
&lt;br&gt;&amp;gt; Exception in thread &amp;quot;main&amp;quot; java.lang.NoClassDefFoundError:
&lt;br&gt;&amp;gt; org/codehaus/groovy/grails/cli/support/GrailsStarter Caused by:
&lt;br&gt;&amp;gt; java.lang.ClassNotFoundException:
&lt;br&gt;&amp;gt; org.codehaus.groovy.grails.cli.support.GrailsStarter at
&lt;br&gt;&amp;gt; java.net.URLClassLoader$1.run(URLClassLoader.java:200)
&lt;br&gt;&amp;gt; 	at java.security.AccessController.doPrivileged(Native Method)
&lt;br&gt;&amp;gt; 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
&lt;br&gt;&amp;gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
&lt;br&gt;&amp;gt; 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
&lt;br&gt;&amp;gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
&lt;br&gt;&amp;gt; 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So how many places have I gone wrong?
&lt;br&gt;&amp;gt; Glenn
&lt;br&gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Exception-in-thread-%22main%22-tp19849720p19849773.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19849720</id>
	<title>Exception in thread &quot;main&quot;</title>
	<published>2008-10-06T18:55:26Z</published>
	<updated>2008-10-06T18:55:26Z</updated>
	<author>
		<name>Glenn Ambrose</name>
	</author>
	<content type="html">&lt;br&gt;Hi I was having problems with my set up of grails so that I couldn't use the generate-all command.
&lt;br&gt;&lt;br&gt;I have been using Netbeans 6.5 on Ubuntu 8.04
&lt;br&gt;&lt;br&gt;In .bashrc file I have added:
&lt;br&gt;&lt;br&gt;export JAVA_HOME=/usr/lib/jvm/java-6-sun
&lt;br&gt;export PATH=$PATH:/usr/lib/jvm/java-6-sun/bin
&lt;br&gt;export GRAILS_HOME=/home/glenn/grails
&lt;br&gt;export PATH=$PATH:/home/glenn/grails/grails-1.0.3/bin
&lt;br&gt;&lt;br&gt;Now I get the following when I enter 'grails' in the terminal
&lt;br&gt;&lt;br&gt;glenn@glenn-desktop:~/NetBeansProjects/Racetrack$ grails generate-all
&lt;br&gt;Exception in thread &amp;quot;main&amp;quot; java.lang.NoClassDefFoundError: org/codehaus/groovy/grails/cli/support/GrailsStarter
&lt;br&gt;Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.grails.cli.support.GrailsStarter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.security.AccessController.doPrivileged(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
&lt;br&gt;&lt;br&gt;So how many places have I gone wrong?
&lt;br&gt;Glenn
&lt;br&gt;_________________________________________________________________
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Exception-in-thread-%22main%22-tp19849720p19849720.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19849354</id>
	<title>Thread Pool Example</title>
	<published>2008-10-06T18:09:35Z</published>
	<updated>2008-10-06T18:09:35Z</updated>
	<author>
		<name>Nate-37</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I found a nice tutorial from grails-exchange.com that creates a simple Thread Pool plugin:
&lt;br&gt;The PDF document where I found this sample code is here:
&lt;br&gt;&lt;a href=&quot;http://www.grails-exchange.com/files/StevenDevjver%20-%20Grails%20plugins.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.grails-exchange.com/files/StevenDevjver%20-%20Grails%20plugins.pdf&lt;/a&gt;&lt;br&gt;&lt;br&gt;However, I can't get it to work. &amp;nbsp;I can create and compile the plugin, and install it in a simple Grails app.
&lt;br&gt;When I try to use the plugin, I get a Null Pointer Exception at line 6 in ThreadPoolGrailsPlugin.groovy
&lt;br&gt;&lt;br&gt;Here's the steps I took:
&lt;br&gt;&lt;br&gt;I ran grails create-plugin ThreadPool
&lt;br&gt;&lt;br&gt;I fixed a (typo?) in the ThreadPoolGrailsPlugin.groovy file, where I changed &amp;quot;...&amp;quot; to &amp;quot;..&amp;quot; in the doWithSpring closure.
&lt;br&gt;&lt;br&gt;I changed the ThreadPoolGrailsPlugin.groovy file to look like this:
&lt;br&gt;&lt;br&gt;class ThreadPoolGrailsPlugin{ 
&lt;br&gt;&amp;nbsp; &amp;nbsp; def version = 0.1 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; def dependsOn= [:] 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; def doWithSpring= { 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; taskExecutor(o.sfw .. ThreadPoolTaskExecutor) { 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxPoolSize= 100 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&amp;nbsp; &amp;nbsp; def doWithDynamicMethods= { ctx-&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Runnable.metaClass.start= { 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ctx.getBean(&amp;quot;taskExecutor&amp;quot;).execute(delegate) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&amp;nbsp; &amp;nbsp; } 
&lt;br&gt;} 
&lt;br&gt;&lt;br&gt;Then, I compiled the plugin: &amp;nbsp;grails package-plugin
&lt;br&gt;I created a new Grails app: grails create-app foo
&lt;br&gt;I CD'd into foo, and ran grails install-plugin ../ThreadPool/grails-thread-pool-0.1.zip
&lt;br&gt;&lt;br&gt;Then, I added the following code to foo/grails-app/conf/BootStrap.groovy:
&lt;br&gt;&lt;br&gt;class BootStrap{ 
&lt;br&gt;&amp;nbsp; &amp;nbsp; def init = { 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; println &amp;quot;#### ${Thread.currentThread().name}&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {-&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; println &amp;quot;#### ${Thread.currentThread().name}&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }.start() 
&lt;br&gt;&amp;nbsp; &amp;nbsp; } 
&lt;br&gt;} 
&lt;br&gt;&lt;br&gt;&amp;nbsp;(I had to fix the quotes to regular double-quotes after copy/paste from the PDF file, and also inserted a space between the println and the quotes).
&lt;br&gt;&lt;br&gt;Then, I ran ''grails run-app'', and got a compile error: Null Pointer Exception at line 6 in ThreadPoolGrailsPlugin.groovy.
&lt;br&gt;&lt;br&gt;I'm using Grails 1.0.3 on MacOSX Leopard, with Groovy 1.5.6, and JVM 1.5.0_13-119
&lt;br&gt;&lt;br&gt;Where is the Grails app supposed to get the &amp;quot;o&amp;quot; variable from in ThreadPoolGrailsPlugin.groovy?
&lt;br&gt;&lt;br&gt;Thanks for any help,
&lt;br&gt;&lt;br&gt;--Nate&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Thread-Pool-Example-tp19849354p19849354.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19848710</id>
	<title>Re: Webflow subflow - novice musings</title>
	<published>2008-10-06T17:05:29Z</published>
	<updated>2008-10-06T17:05:29Z</updated>
	<author>
		<name>Richard M</name>
	</author>
	<content type="html">Ashley/all,

&lt;p&gt;This was a great posting, summarizing what you learned.  In spite of the guidance, I've struggled most of the day trying to get a subflow to work. In particular I do not see things working as described in item #2 and #3 below.&lt;/p&gt;

&lt;p&gt;We've got a situation where one can order/buy &quot;credits' in advance to use for configuring/buying &quot;postings&quot;. I've got an &quot;orderCreditsFlow&quot; setup in my OrderController, and  guidedPostingFlow setup in my PostingController.&lt;/p&gt;

&lt;p&gt;We want to be able to invoke the orderCreditsFlow as a subflow from within the guidedPostingFlow - i.e. someone may configure a quite complex Posting that exceeds their available credits and they need to &quot;buy&quot; more before saving the Posting.&lt;/p&gt;

&lt;p&gt;First thing I discovered was that when I defined the existing flow I wanted to use as as subflow as &quot;static&quot; as suggested, it would no longer work as a main flow. Bummer. I've ended up duplicating the orderCreditsFlow now, one static and the other not static. I did not see this mentioned in Ashley's item #2. This seems really ugly, is it expected? Any workarounds?&lt;/p&gt;
&lt;i&gt;Aside: is there a way to call/use the same closures in both the static and non-static flows? I'm relatively new to Groovy/Grails - think I've seen examples of such, but still not clear.&lt;/i&gt;

&lt;p&gt;Next, after reading Ashley's item #3, I said &quot;Good&quot;, since my subflow is in a separate Controller class, my view paths will still work. Not! It kept looking for them under the calling flow's path. I could have copied (I still need the views when the subflow is a main flow) the views to the calling flows view directory. I've also tried putting them in /shared/guidedPosting/* and explicitly specifying a render for each view state - this could keep me from having to duplicate the views, I guess.&lt;/p&gt;

&lt;p&gt;Any insight or advice on how to make this cleaner would be much appreciated. If I get enough information to add to Ashley's posting, where I can duplicate the results I'll see if it can be added to the Web Flow wiki page.&lt;/p&gt;

Thanks in advance - Richard
&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;stirlingjava wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;
&lt;pre&gt;
1) A state which calls a subflow must have the same id as the the 
subflow (minus the 'Flow' suffix). E.g.

editAddress { subflow(editAddressFlow) ... } // is ok
editProperty { subflow(editAddressFlow) ... } // is NOT ok

No big deal but, for me, this wasn't an obvious requirement from the user 
documentation. Especially since SWF itself doesn't have this &quot;id correspondence&quot; 
requirement - but I guess that it's an artefact of the Grails Webflow impl. 

2) To call a subflow which is defined in a different (non super-class) 
controller  you need to be careful about the syntax. (Thanks to 
&lt;a href=&quot;http://www.nabble.com/problems-with-subflows-tp15204668p15206893.html&quot; target=&quot;_top&quot;&gt;Konstantyn Smirnov&lt;/a&gt; who helped me with this.) E.g.

def editAddressFlow = AddressController.editAddressFlow 
... subflow(editAddressFlow) ... // is ok

... subflow(AddressController.editAddressFlow) ... // is NOT ok

(And the AddressController.editAddressFlow must be declared as a static property 
in the above example.) Again, an artefact of the underlying Grails Webflow impl?

3) When a flow is called (as a subflow) by another flow within the same Controller
then its default view 'path' is that of its caller flow. E.g.

PersonController {
  def editPersonFlow = {
     editAddress { subflow(editAddressFlow) ... }
     ...
  }
  def editAddressFlow = {
     state1 { ... }
  }
}

If editAddressFlow is called as a subflow by editPersonFlow then in state1 a view
with the path '/person/editPerson/state1' will be looked for. I had expected that 
Grails would look for a view with the path '/person/editAddress/state1'  
...Indeed, if I move the defn of editAddressFlow into a different (non super-class) 
controller 'FooController' then Grails looks for a view with the path 
'/foo/editAddress/state1'. What gives?


(And just to add, SWF is great but it is beautified by Grails' DSL for it!)

Cheers, Ashley McClenaghan
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Webflow-subflow---novice-musings-tp17425431p19848710.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19848703</id>
	<title>java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?</title>
	<published>2008-10-06T17:03:57Z</published>
	<updated>2008-10-06T17:03:57Z</updated>
	<author>
		<name>Vivek Pandey-3</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;pre&gt;Hi,&lt;br&gt;&lt;br&gt;I am trying to deploy and run a simple grails application created using grails 1.0.3 on GlassFish v2. The deployment goes thru fine. &lt;br&gt;Although when I try to undeploy it it gives  the following error. This is just a very simple application and has only the default code &lt;br&gt;
generate duing &amp;#39;grails create-app BookLibrary&amp;#39; and the war is created using &amp;#39;grails war&amp;#39; .&lt;br&gt;&lt;br&gt;&lt;br&gt;Below is the stack trace thrown by GlassFish v2. Anyone knows whats going on?&lt;br&gt;&lt;br&gt;-vivek.&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;br&gt;% asadmin undeploy BookLibrary-0.1&lt;br&gt;&lt;br&gt;[#|2008-10-06T13:13:46.227-0700|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=httpWorkerThread-4848-1;|PWC1412:&lt;br&gt;WebModule[/BookLibrary-0.1] ServletContext.log():Destroying Spring&lt;br&gt;
FrameworkServlet &amp;#39;grails&amp;#39;|#]&lt;br&gt;&lt;br&gt;[#|2008-10-06T13:13:46.228-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpWorkerThread-4848-1;|[81101]&lt;br&gt;spring.GrailsWebApplicationContext Closing&lt;br&gt;
org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@11de95a:&lt;br&gt;display name&lt;br&gt;[org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@11de95a];&lt;br&gt;startup date [Mon Oct 06 13:12:25 PDT 2008]; parent:&lt;br&gt;
org.springframework.web.context.support.XmlWebApplicationContext@9fe5c5&lt;br&gt;|#]&lt;br&gt;&lt;br&gt;[#|2008-10-06T13:13:46.774-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=httpWorkerThread-4848-1;_RequestID=e0f1581c-9544-43d7-9947-54bfbd4facd5;|WebModule[/BookLibrary-0.1]PWC1277:&lt;br&gt;
Exception sending context destroyed event to listener instance of class&lt;br&gt;org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener&lt;br&gt;java.lang.IllegalStateException: No WebApplicationContext found: no&lt;br&gt;ContextLoaderListener registered?&lt;br&gt;
        at&lt;br&gt;org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:70)&lt;br&gt;        at&lt;br&gt;org.codehaus.groovy.grails.web.context.GrailsContextLoader.closeWebApplicationContext(GrailsContextLoader.java:91)&lt;br&gt;
        at&lt;br&gt;org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:70)&lt;br&gt;        at&lt;br&gt;org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4567)&lt;br&gt;        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5355)&lt;br&gt;
        at com.sun.enterprise.web.WebModule.stop(WebModule.java:357)&lt;br&gt;        at&lt;br&gt;org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1102)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2207)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2137)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:226)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:313)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:976)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStopEvent(ServerDeploymentTarget.java:332)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.deployment.phasing.ApplicationStopPhase.runPhase(ApplicationStopPhase.java:136)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:652)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:699)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.stop(ApplicationsConfigMBean.java:767)&lt;br&gt;
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br&gt;        at&lt;br&gt;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;br&gt;        at&lt;br&gt;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br&gt;
        at java.lang.reflect.Method.invoke(Method.java:585)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)&lt;br&gt;        at&lt;br&gt;com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)&lt;br&gt;        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)&lt;br&gt;
        at&lt;br&gt;com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)&lt;br&gt;        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)&lt;br&gt;        at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)&lt;br&gt;
        at&lt;br&gt;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br&gt;        at java.lang.reflect.Method.invoke(Method.java:585)&lt;br&gt;        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)&lt;br&gt;
        at $Proxy1.invoke(Unknown Source)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)&lt;br&gt;        at&lt;br&gt;com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)&lt;br&gt;
        at&lt;br&gt;com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)&lt;br&gt;        at&lt;br&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/java.lang.IllegalStateException%3A-No-WebApplicationContext-found%3A-no-ContextLoaderListener-registered--tp19848703p19848703.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19848420</id>
	<title>Re: Domain class ‘version’ attribute.</title>
	<published>2008-10-06T16:37:57Z</published>
	<updated>2008-10-06T16:37:57Z</updated>
	<author>
		<name>Luke Daley</name>
	</author>
	<content type="html">&lt;a href=&quot;http://jira.codehaus.org/browse/GRAILS-3454&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/GRAILS-3454&lt;/a&gt;&lt;br&gt;&lt;br&gt;On 07/10/2008, at 1:01 AM, Graeme Rocher wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Not at the moment, but would be useful to do. Currently you can only
&lt;br&gt;&amp;gt; disable the version
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sun, Oct 5, 2008 at 5:10 AM, Luke Daley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848420&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ld@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Can I configure GORM to use another column to store version &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; numbering so I
&lt;br&gt;&amp;gt;&amp;gt; can use 'version' as an attribute on my domain class?
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;LD.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Domain-class-%E2%80%98version%E2%80%99-attribute.-tp19820595p19848420.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19848380</id>
	<title>RE: Re: What database browser can we use with HSQL-mem?</title>
	<published>2008-10-06T16:35:09Z</published>
	<updated>2008-10-06T16:35:09Z</updated>
	<author>
		<name>kitplummer</name>
	</author>
	<content type="html">Anyone know if this went anywhere?
&lt;br&gt;&lt;br&gt;Kit
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Erik Pragt wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi, 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;you can connnect to HSQLDB (e.g. by using Squirrel) by making a few changes
&lt;br&gt;to the Grails configuration, and starting a HSQLDB database server
&lt;br&gt;separately.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;You can do so by changing the development database URL to
&lt;br&gt;jdbc:hsqldb:hsql://localhost:9001/devDB, and open a new shell/console and go
&lt;br&gt;to your Grails installation directory. There you can run the following
&lt;br&gt;command:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;java -cp ./lib/hsqldb-1.8.0.5.jar org.hsqldb.Server -database.0 mem:devDB
&lt;br&gt;-dbname.0 devDB
&lt;br&gt;&amp;nbsp;
&lt;br&gt;which will start up a in memory database server which does allow connections
&lt;br&gt;from external tools like Squirrel. This way you can explore the database
&lt;br&gt;quite easiliy.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Hope this helps,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Erik
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; _____ &amp;nbsp;
&lt;br&gt;&lt;br&gt;From: Thomas Weuffel [mailto:mail@weuffel.com] 
&lt;br&gt;Sent: zondag 20 juli 2008 12:04
&lt;br&gt;To: user@grails.codehaus.org
&lt;br&gt;Subject: Re: [grails-user] Re: What database browser can we use with
&lt;br&gt;HSQL-mem?
&lt;br&gt;&lt;br&gt;&lt;br&gt;I would be interested in browsing the HSQLDB, too. 
&lt;br&gt;Any ideas about this?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Thomas
&lt;br&gt;&lt;br&gt;&lt;br&gt;Am 20.07.2008 um 03:55 schrieb Fred Janon:
&lt;br&gt;&lt;br&gt;&lt;br&gt;Any answer anyone on how to look at the Grails HSQL DB schema and data? Or
&lt;br&gt;does it mean that no one is using HSQL for debugging??
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Fred
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Jul 15, 2008 at 12:29, Fred Janon &amp;lt;fjanon@gmail.com&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&lt;br&gt;I used to use a mySQL DB and its SQL browser for development and production.
&lt;br&gt;I wanted to give a shot at HSQL. I installed Squirrel DB Client (a free SQL
&lt;br&gt;browser), connected to my Grails project DB successfully according to
&lt;br&gt;Squirrel but I see no tables in Squirrel. The SQL log in Grails show objects
&lt;br&gt;being created by Hibernate:
&lt;br&gt;&lt;br&gt;Hibernate:
&lt;br&gt;&amp;nbsp; &amp;nbsp; insert
&lt;br&gt;&amp;nbsp; &amp;nbsp; into
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; place
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (id, version, address_id, descriptor_id, primary_contact_id)
&lt;br&gt;&amp;nbsp; &amp;nbsp; values
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (null, ?, ?, ?, ?)
&lt;br&gt;&lt;br&gt;I am not sure Hibernate flushed the objects from the cache in the DB since I
&lt;br&gt;am using the default datasource config:
&lt;br&gt;&lt;br&gt;hibernate {
&lt;br&gt;&amp;nbsp; &amp;nbsp; cache.use_second_level_cache=true
&lt;br&gt;&amp;nbsp; &amp;nbsp; cache.use_query_cache=true
&lt;br&gt;&amp;nbsp;
&lt;br&gt;cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Anyone using Squirrel or another SQL db browser (free) with HSQL?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Fred
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-database-browser-can-we-use-with-HSQL-mem--tp18457904p19848380.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19848305</id>
	<title>Re: How to get i18n message_xx.properties from a service?</title>
	<published>2008-10-06T16:28:42Z</published>
	<updated>2008-10-06T16:28:42Z</updated>
	<author>
		<name>Stand Trooper</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;I&amp;#39;m not entirely sure what context you&amp;#39;re asking about... I will assume you have some sort of Controller, Bean or something that you&amp;#39;re trying to access.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;In taglibraries I access messages like this&lt;/div&gt;
&lt;div&gt;&lt;div&gt;def messageSource = grailsAttributes.getApplicationContext().getBean(&amp;quot;messageSource&amp;quot;)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;def locale = RCU.getLocale(request)&lt;/div&gt;&lt;div&gt;def message = messageSource.getMessage(&amp;#39;KEY_NAME&amp;#39;,&amp;nbsp;locale)&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;where KEY_NAME is the name of the key you&amp;#39;re trying to access from the properties&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;By default the properties files are loaded when the server is started and not reloaded again (I do believe)&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;this is basically what you&amp;#39;re talking about right?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;timo&lt;/div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Oct 6, 2008 at 5:11 PM, pablox &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19848305&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;br&gt;
Hi, I&amp;#39;m trying to make a search from the values on each&lt;br&gt;
message_xxx.properties file.&lt;br&gt;
&lt;br&gt;
Now I&amp;#39;m loading directly the file into a Properties class instance:&lt;br&gt;
&lt;br&gt;
Properties properties = new Properties();&lt;br&gt;
properties.load( new FileInputStream(&amp;quot;grails-app/i18n/messages&amp;quot; + lang +&lt;br&gt;
&amp;quot;.properties&amp;quot;) );&lt;br&gt;
&lt;br&gt;
for each lang in my app.&lt;br&gt;
&lt;br&gt;
I need to know if I can access the bundle instances loaded in grails instead&lt;br&gt;
of loading them myself, and as you note, I load them every time, every&lt;br&gt;
search, so if grails loads them just one time and I can access them form my&lt;br&gt;
service, that&amp;#39;s my solution ;)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Pablo.&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-get-i18n-message_xx.properties-from-a-service--tp19847411p19848305.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847411</id>
	<title>How to get i18n message_xx.properties from a service?</title>
	<published>2008-10-06T15:11:37Z</published>
	<updated>2008-10-06T15:11:37Z</updated>
	<author>
		<name>pablox</name>
	</author>
	<content type="html">Hi, I'm trying to make a search from the values on each message_xxx.properties file.
&lt;br&gt;&lt;br&gt;Now I'm loading directly the file into a Properties class instance:
&lt;br&gt;&lt;br&gt;Properties properties = new Properties();
&lt;br&gt;properties.load( new FileInputStream(&amp;quot;grails-app/i18n/messages&amp;quot; + lang + &amp;quot;.properties&amp;quot;) );
&lt;br&gt;&lt;br&gt;for each lang in my app.
&lt;br&gt;&lt;br&gt;I need to know if I can access the bundle instances loaded in grails instead of loading them myself, and as you note, I load them every time, every search, so if grails loads them just one time and I can access them form my service, that's my solution ;)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Pablo.&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-get-i18n-message_xx.properties-from-a-service--tp19847411p19847411.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846688</id>
	<title>Re: Anyone know of a viewing tool for the in memory db?</title>
	<published>2008-10-06T14:20:54Z</published>
	<updated>2008-10-06T14:20:54Z</updated>
	<author>
		<name>kitplummer</name>
	</author>
	<content type="html">I've got the same error message, following James' instructions. &amp;nbsp;What's changed to not release the lock?
&lt;br&gt;&lt;br&gt;Ugh...
&lt;br&gt;&lt;br&gt;Kit
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;baha007&quot;&gt;&lt;br&gt;Hi guys,
&lt;br&gt;&lt;br&gt;I was able to connect to a file hslqdb instance as mentioned in james blog below. The problem is i'm trying to use the database development perspective in Eclipse to connect to the db. I read somewhere that the hsqldb driver is not closing the connection as long as the JVM is still running, so I have to restart Eclipse to liberate the db lock from the process that's locking the db. Do anyone know how to actually kill the process that's locking the db resources manually? everytime i try to connect through the db development prespective, I can't run the jetty server running the grails app or run any tests. The error i get is: 
&lt;br&gt;&lt;b&gt;&lt;br&gt;Could not connect to Grails Development.
&lt;br&gt;&amp;nbsp; Error creating SQL Model Connection connection to Grails Development. (Error: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@cf87c0e3[file =C:\path\to\hsql\location\devDB.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: &amp;nbsp;java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\path\to\hsql\location\devDB.lck)
&lt;br&gt;&amp;nbsp; The database is already in use by another process: org.hsqldb.persist.NIOLockFile@cf87c0e3[file =C:\path\to\hsql\location\devDB.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: &amp;nbsp;java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\path\to\hsql\location\devDB.lck
&lt;br&gt;&amp;nbsp; Error creating HSQLDB Connection Factory connection to Grails Development. (Error: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@cf87c0e3[file =C:\path\to\hsql\location\devDB.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: &amp;nbsp;java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\path\to\hsql\location\devDB.lck)
&lt;br&gt;&amp;nbsp; The database is already in use by another process: org.hsqldb.persist.NIOLockFile@cf87c0e3[file =C:\path\to\hsql\location\devDB.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: &amp;nbsp;java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\path\to\hsql\location\devDB.lck
&lt;br&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Baha
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Helmut Denk&quot;&gt;&lt;br&gt;i just saw, that james published a detailed description of
&lt;br&gt;this in his blog:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://jlorenzen.blogspot.com/2008/01/how-to-connect-to-grails-hsql-database.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jlorenzen.blogspot.com/2008/01/how-to-connect-to-grails-hsql-database.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;thanks for this convenience
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Helmut Denk wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;hi,
&lt;br&gt;&lt;br&gt;i can view prodDb with DBVisualizer 
&lt;br&gt;&lt;br&gt;select 'HSQLDB embedded' as jdbc-driver and a url like this: 
&lt;br&gt;jdbc:hsqldb:file:{your-grails-app-base-dir}/prodDb
&lt;br&gt;&lt;br&gt;nevertheless - it would be nice to view the in-memory-db
&lt;br&gt;too ...
&lt;br&gt;&lt;br&gt;have a nice day
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I finally got around to trying this and I am unable to see any of my tables.
&lt;br&gt;I create my configuration and the Database Manager opens up. I paste my development url in and click ok, but I don't see any of my tables. The screen says Ready with no errors, but no tables. And I have already started my grails app with grails run-app. I know I am in development mode so that can't be the problem.
&lt;br&gt;&lt;br&gt;Here are the values I give the db manager:
&lt;br&gt;type: HSQL Database Engine In-Memory
&lt;br&gt;driver: org.hsqldb.jdbcDriver
&lt;br&gt;url: jdbc:hsqldb:mem:devDB
&lt;br&gt;user: sa
&lt;br&gt;&lt;br&gt;I have even tried starting my grails app in production mode and connect to that db, but that doesn't appear to be working either.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Anyone-know-of-a-viewing-tool-for-the-in-memory-db--tp14235983p19846688.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846673</id>
	<title>Re: Executing before render index.gsp</title>
	<published>2008-10-06T14:19:46Z</published>
	<updated>2008-10-06T14:19:46Z</updated>
	<author>
		<name>Daniel Honig</name>
	</author>
	<content type="html">In a servlet filter for sure.
&lt;br&gt;But if you don't like that approach why not use a URLMapping to remap
&lt;br&gt;index.gsp to a controller.
&lt;br&gt;In a controller you could do whatever fiddling you need.
&lt;br&gt;There is no reason you need to keep the default index.gsp as your apps index...
&lt;br&gt;&lt;br&gt;On Mon, Oct 6, 2008 at 2:32 PM, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846673&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;felipero.maillist@...&lt;/a&gt;
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846673&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;felipero.maillist@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'd like to set a page scoped variable before rendering the index.gsp and
&lt;br&gt;&amp;gt; its layout.
&lt;br&gt;&amp;gt; Where could I put the code?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Felipe Rodrigues de Almeida
&lt;br&gt;&amp;gt; Fratech It
&lt;br&gt;&amp;gt; +55 19 3454-8335
&lt;br&gt;&amp;gt; +55 19 9223-7735
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.fratech.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.fratech.net&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://blog.fratech.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.fratech.net&lt;/a&gt;&lt;br&gt;&amp;gt; --------------------------------------------------------------------- To
&lt;br&gt;&amp;gt; unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Invoking-body-closure-in-TagLib-behaves-incorrectly-in-integration-tests-tp19817982p19846673.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846632</id>
	<title>Re: Grails CMS</title>
	<published>2008-10-06T14:17:41Z</published>
	<updated>2008-10-06T14:17:41Z</updated>
	<author>
		<name>Daniel Honig</name>
	</author>
	<content type="html">Grails 1.1 has some basic JCR Integration. &amp;nbsp;I think at first it is
&lt;br&gt;focused on Jackrabbit integration and from there it will move on to
&lt;br&gt;other CMS systems. &amp;nbsp;Some people have had luck integrating
&lt;br&gt;alfresco.....
&lt;br&gt;&lt;br&gt;I think your just slightly ahead of the curve on this one....I'm going
&lt;br&gt;to start out by integrating Jackrabbit for some small CMS needs but
&lt;br&gt;let me know what you end up deciding....
&lt;br&gt;&lt;br&gt;On Mon, Oct 6, 2008 at 5:04 PM, Aaron Eischeid &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846632&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.eischeid@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I would think the way Grails uses plugins would make it relatively easy to
&lt;br&gt;&amp;gt; get something basic yet extendable to meet a broad range of CMS type needs.
&lt;br&gt;&amp;gt; Unfortunately, I don't currently have the time, (or the skills) to takle a
&lt;br&gt;&amp;gt; project like &amp;nbsp;that, but I would be interested in contributing some to Gumbo.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just throwing out thoughts here, but I think an easy to use grails CMS would
&lt;br&gt;&amp;gt; potentially attract a wave of new interest in Groovy/Grails. Personally I
&lt;br&gt;&amp;gt; find it funny that so many grails blogs are done with wordpress. Nothing
&lt;br&gt;&amp;gt; against wordpress - use it myself - but I would probably use a grails
&lt;br&gt;&amp;gt; alternative if it existed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I saw a few things about a sample app called &amp;quot;simple-cms&amp;quot; that looks like it
&lt;br&gt;&amp;gt; was for an old version of grails. I wonder if that would be easy to update
&lt;br&gt;&amp;gt; and get something useful out of.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Aaron
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Oct 6, 2008 at 3:29 PM, Stand Trooper &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846632&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;standtrooper@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I don't have any thoughts or suggestions Aaron, but I've been toying with
&lt;br&gt;&amp;gt;&amp;gt; this as well. &amp;nbsp;I think that one of the reasons that they haven't stuck is,
&lt;br&gt;&amp;gt;&amp;gt; IMO, because they're reinventing a well done wheel.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've started working on a CMS that I, preliminarily, call Gumbo for a
&lt;br&gt;&amp;gt;&amp;gt; Grails like Mambo CMS system.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I like some parts of the CMS systems I've worked with and seen and Mambo
&lt;br&gt;&amp;gt;&amp;gt; has been one of the better ones, but there are things that I don't like...
&lt;br&gt;&amp;gt;&amp;gt; What I'm primarily interested in is a better more Ajaxian approach as well.
&lt;br&gt;&amp;gt;&amp;gt; I'm open to a lot of changes, but I'm building my &amp;quot;framework&amp;quot; for the plugin
&lt;br&gt;&amp;gt;&amp;gt; based off of my work with mambo initially.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; CMS to me is managing all content on a site. &amp;nbsp;It's a way to give the site
&lt;br&gt;&amp;gt;&amp;gt; managers a way to update content easily with minimal amount of training.
&lt;br&gt;&amp;gt;&amp;gt; I've not used Radiant, so I can't comment on that.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; timo
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Mon, Oct 6, 2008 at 3:21 PM, Aaron Eischeid &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846632&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.eischeid@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I was doing a little searching around today and I noticed there have been
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; a number of attempts to get a CMS built on grails going. None of them seem
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to have panned out or stayed alive. Is there a reason for this, or am I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; maybe just looking in the wrong places?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Down the road a little bit we are looking at a way to replace all the old
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Rails stuff we have, currently our front end site is using Radiant, and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; basically I am trying to do some preliminary research to see how we could go
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 100% grails.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thoughts/suggestions?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Aaron
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grails-CMS-tp19845642p19846632.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846439</id>
	<title>Re: Grails CMS</title>
	<published>2008-10-06T14:04:34Z</published>
	<updated>2008-10-06T14:04:34Z</updated>
	<author>
		<name>Aaron Eischeid</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;I would think the way Grails uses plugins would make it relatively easy to get something basic yet extendable to meet a broad range of CMS type needs. Unfortunately, I don&amp;#39;t currently have the time, (or the skills) to takle a project like&amp;nbsp; that, but I would be interested in contributing some to Gumbo. &lt;br&gt;
&lt;br&gt;Just throwing out thoughts here, but I think an easy to use grails CMS would potentially attract a wave of new interest in Groovy/Grails. Personally I find it funny that so many grails blogs are done with wordpress. Nothing against wordpress - use it myself - but I would probably use a grails alternative if it existed.&lt;br&gt;
&lt;br&gt;I saw a few things about a sample app called &amp;quot;simple-cms&amp;quot; that looks like it was for an old version of grails. I wonder if that would be easy to update and get something useful out of.&lt;br&gt;&lt;br&gt;Aaron&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Mon, Oct 6, 2008 at 3:29 PM, Stand Trooper &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846439&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;standtrooper@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;I don&amp;#39;t have any thoughts or suggestions Aaron, but I&amp;#39;ve been toying with this as well.&amp;nbsp; I think that one of the reasons that they haven&amp;#39;t stuck is, IMO, because they&amp;#39;re reinventing a well done wheel.&lt;br&gt;

&lt;br&gt;I&amp;#39;ve started working on a CMS that I, preliminarily, call Gumbo for a Grails like Mambo CMS system.&lt;br&gt;&lt;br&gt;I like some parts of the CMS systems I&amp;#39;ve worked with and seen and Mambo has been one of the better ones, but there are things that I don&amp;#39;t like... What I&amp;#39;m primarily interested in is a better more Ajaxian approach as well.&amp;nbsp; I&amp;#39;m open to a lot of changes, but I&amp;#39;m building my &amp;quot;framework&amp;quot; for the plugin based off of my work with mambo initially.&lt;br&gt;

&lt;br&gt;CMS to me is managing all content on a site.&amp;nbsp; It&amp;#39;s a way to give the site managers a way to update content easily with minimal amount of training.&amp;nbsp; I&amp;#39;ve not used Radiant, so I can&amp;#39;t comment on that.&lt;br&gt;&lt;br&gt;

timo&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Oct 6, 2008 at 3:21 PM, Aaron Eischeid &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846439&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.eischeid@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;I was doing a little searching around today and I noticed there have been a number of attempts to get a CMS built on grails going. None of them seem to have panned out or stayed alive. Is there a reason for this, or am I maybe just looking in the wrong places?&lt;br&gt;


&lt;br&gt;Down the road a little bit we are looking at a way to replace all the old Rails stuff we have, currently our front end site is using Radiant, and basically I am trying to do some preliminary research to see how we could go 100% grails.&lt;br&gt;


&lt;br&gt;Thoughts/suggestions?&lt;br&gt;&lt;br&gt;Aaron&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/grails---user-f11861.html&quot; embed=&quot;fixTarget[11861]&quot; target=&quot;_top&quot; &gt;grails - user&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grails-CMS-tp19845642p19846439.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846155</id>
	<title>Re: Embed HTML in GSP</title>
	<published>2008-10-06T13:49:53Z</published>
	<updated>2008-10-06T13:49:53Z</updated>
	<author>
		<name>spasco</name>
	</author>
	<content type="html">Thank you! That worked! :)
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;sokolj&quot;&gt;&lt;br&gt;Maybe you can try something like this:
&lt;br&gt;&lt;br&gt;class TestController {
&lt;br&gt;&amp;nbsp; def index = {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;render (view:&amp;quot;home&amp;quot;, model:[externalPage:&amp;quot;&lt;a href=&quot;http://www.getsomefile.com/text.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.getsomefile.com/text.html&lt;/a&gt;&amp;quot;.toURL().text])
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;home.gsp then would look like this:
&lt;br&gt;&lt;br&gt;&amp;lt;html&amp;gt;
&lt;br&gt;....
&lt;br&gt;${externalPage}
&lt;br&gt;...
&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;&lt;br&gt;Jan,
&lt;br&gt;&lt;a href=&quot;http://www.grailstutorials.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.grailstutorials.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;spasco&quot;&gt;&lt;br&gt;It seems as though the include plugin only allows HTML files to be embedded from within the local web container. I tried this:
&lt;br&gt;&lt;br&gt;&amp;lt;inc:include url=&amp;quot;&lt;a href=&quot;http://www.getsomefile.com/text.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.getsomefile.com/text.html&lt;/a&gt;&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;I then get this error:
&lt;br&gt;&lt;br&gt;java.lang.NullPointerException: Cannot invoke method include() on null object
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at IncludeTagLib.includeFromUrl(IncludeTagLib.groovy:88)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at IncludeTagLib.this$2$includeFromUrl(IncludeTagLib.groovy)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at IncludeTagLib$_closure1.doCall(IncludeTagLib.groovy:46)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at C__apps_Disney_checkbalance_grails_app_views_card_check_gsp$_run_closure2.doCall(C__apps_Disney_checkbalance_grails_app_views_card_check_gsp:32)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at C__apps_Disney_checkbalance_grails_app_views_card_check_gsp$_run_closure2.doCall(C__apps_Disney_checkbalance_grails_app_views_card_check_gsp)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at C__apps_Disney_checkbalance_grails_app_views_card_check_gsp.run(C__apps_Disney_checkbalance_grails_app_views_card_check_gsp:39)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;sokolj wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I am not sure but maybe Include plugin could help you with that.
&lt;br&gt;&lt;br&gt;Jan,
&lt;br&gt;&lt;a href=&quot;http://www.grailstutorials.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.grailstutorials.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;spasco wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I need to embed a chunk of HTML that resides in a CDN and is accessible via a URL into a GSP page. How would you go about doing that so that the HTML gets embedded and renders correctly?
&lt;br&gt;&lt;br&gt;Thanks in advance!
&lt;br&gt;Stephen
&lt;/div&gt