The context:

I am using Google App Engine along with Grails AppEngine plugin. At some point I started getting an exception when I was trying to start my development server. The only thing I had done before I got the error was- I had switched from App Engine SDK  1.2.5 to 1.2.8.

The solution

The problem is that the Grails clean command doesnt do a very good job of cleaning the cache folder when the App engine is installed.

The solution was to simply delete the cache folder created by cache and presto ! all was well again

Continue reading »

 

Do your users a favor . Use OpenId in your website, rather than having them to create yet another user account.

I haven’t ready any statistics around this, but if I am the so called average user – I guess, I am 75% less likely to register for your website , even if that comes at the cost of having to do without your services.

How I got it working

Getting OpenId to work with Grails wasn’t bad at all.

I used the Acegi security plugin for this – it seems to be the de-facto choice (, at least at the time of this writing).

Continue reading »

 

Its not always your site says anything to you

But mine did…It said ‘XDB’.

It was my grails application.This is the login window Firefox showed be gleefully with the message

The site says XDB

IE played dumb(er) – It too presented a login screen – but had a simpler message

XDB

I was in the process of trying a few things in Grails – making those cool domain classes and controllers when it happened. It was working a few minutes ago and then boom !!! it stopped.
And since I am so new to Grails- I thought maybe I had messed up something.

Surprisingly google didn’t get many results either.

Anyway it was enough to tell me the problem was with Oracle

And since I was at that time creating a new Oracle Database on my laptop- <snap> that made perfect sense. (Though I was simply creating a new database instance and not fiddling with the one that my app was using)

Once I stopped and restarted all the Oracle listeners -the problem went away.

So moral of the story ? If the site says XDB- restart your Oracle instance.

There may be more elegant solutions out there- but this is what worked for me

© 2011 Technology Cafe Suffusion theme by Sayontan Sinha