AppEngine New AppEngine SDK 1.4.0 Apparently there is a new SDK out tonight [http://googleappengine.blogspot.com/2010/12/happy-holidays-from-app-engine-team-140.html] ! It’s version 1.4.0. I had to mention it because apart from the really interesting Channel API there is a new “Always on feature” which, even though it costs money is a
AppEngine Grails vs. Python on Google AppEngine A few weeks ago I got fed up with the bad performance I was getting on Google AppEngine for my Grails project. I was also having trouble figuring out how to combine references for Entities to build more complex structures. As a result I finally lost it and started experimenting
AppEngine Interesting issue on GAE issue list I was browsing around the issue lists on Google AppEngine, just some midnight light reading before going to bed… I stumbled on the following issue, marked as critical: http://code.google.com/p/googleappengine/issues/detail?id=1970 What’s interesting about it is that this is also what is
AppEngine Hudson build server + Grails + AppEngine I just set up a build server for my Grails project. I chose Hudson since it was the one mentioned to work well, and it did. I’m quite happy with Hudson thus far. It hasn’t crashed (actually it crashed my browser once, more on that later), and been
AppEngine AppEngine + Grails + Cron I just added a Cron job to “ping” my application every 1 minute. After a short discussion with Paul Cusch, whom commented on one of my previous posts regarding the load request issues Grails on AppEngine is seeing. I decided to give it a try. This solution is entirely based
AppEngine Added precompilation-enabled to AppEngine plugin In the 1.2.8 version of the AppEngine SDK there is an option to precompile your solution as you deploy it to the AppEngine. Apparently precompilation can save up to 30% runtime on loading requests. I added the option to turn on the precompilation-enabled setting in appengine-web.xml to
AppEngine Deploying AppEngine SDK 1.2.8 and Grails 1.2.0-RC1 to AppEngine If you use the app-engine plug-in deploy command using AppEngine SDK version 1.2.8 it will fail with the following error: [java] Bad argument: email requires an argument, for example, "email=FOO" [java] usage: AppCfg [options] [] [java] Action must be one of: [java] help: Print help for
AppEngine AppEngine startup performance attack plan revealed Google just announced their attack plan for handling the long startup cost for, among others, Grails applications. Apparently what I can do as a developer is to enable pre-compilation of my application. I’ll experiment with this at the end of the week I hope. Read the full post on
AppEngine AppEngine enhancer issue The issue with the AppEngine enhancer [https://www.morten.software/2009/07/27/grails-and-google-appengine-on-windows/] still exists with Windows 7. Let’s hope for the next version of Windows then…
AppEngine AppEngine start up cost I’m struggling with an issue where Google AppEngine will take over 30 seconds to do the initial loading of my hosted web-application. Now apparently it does take a while to load applications that rely on allot of different jar files. Which mine naturally does. There are however some rumors
Grails Fun times with JSON Rendering I spent the last couple of hours on my pet project working with a specific issue. After moving it’s hosting to Google AppEngine the classes have meta data stored in them. I’m not allowed to reflect over the meta data (not sure I want to either). So JSON
AppEngine Google AppEngine and Grails 1.2-M2 I upgraded this morning, figuring that the changes related to the .gsp views and their pre-compiling would reduce the cold start issues I’m having with Google AppEngine. However the 1.2-M2 release of Grails, doesn’t fly on Google AppEngine right now. As far as I can see on
AppEngine Finding entities with GORM-JPA I’ve been having this issue for a while. Putting it off, but now I had to get my hands dirty. The findBy… methods weren’t returning any objects even though there were data fitting the specified values. So tonight I finally took the time to take a look at
AppEngine Sending mail on Google appengine with Grails Sending emails with Google AppEngine is quite straight forward once you get a hang of things. I ran into some issues, for example I never got the high level api’s to work. The code executed but the emails were never received. Instead I went for Google AppEngines own “low
AppEngine Google AppEngine does not like leftshift I ran into an issue last night where Google AppEngine wouldn’t persist my entities. If I create an entity using the parameters provided by Grails; then the Save operations would fail with the following error Uncaught exception from servlet org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature
AppEngine Grails and Google AppEngine Beginners Guide I recently moved one of my applications to Google AppEngine. What I found missing was an explanatory tutorial to get started. As I mostly work with C#, I kept running into issues simply because I wasn’t too familiar with the technologies used. Thus I’m writing this easy to
AppEngine Rendering lists from Google AppEngine as JSON I ran into another problem with Google AppEngine. I finally got it to save my entities, only to find it crashing as I wanted to send them back again rendered as JSON. I had a piece of code looking like this: def services = { params.max = Math.min(params.max ? params.
AppEngine Moving from Mor.ph to Google AppEngine Moving from Mor.ph AppSpace to Google AppEngine isn’t as easy as I hoped. Installing AppEngine plug in Initially moving the Application by installing the app-engine plug in is straight forward. Except that the command-line written in the plug in page for executing the initial setup is wrong. Ive
AppEngine Saving entites on Google AppEngine I ran into a problem with Grails on Google AppEngine. When I was saving my entities it tried to save the wrong type of entity. I ran out of ideas on this one and brought it up on the Grails User mailinglist. [http://www.nabble.com/AppEngine-confused-when-saving-td24714869.html] I started
AppEngine Grails and Google AppEngine on Windows In a previous post [https://www.morten.software/2009/07/14/grails-and-google-appengine/] I described a problem where the app-engine command would fail when enhancing the domain objects for persistence. The problem was that the command line became too long to execute on windows, when executing the enhancement task. I’ve
Grails Slowly learning about active plugins for Grails I was adding a comment to the GORM-JPA plugin, the other day. While doing it I clicked in the option to send me update notifications on the grails site. At first I regretted it. It sends a mail for each update. However I havn’t deactivated it. Here’s why.
AppEngine Grails and Google AppEngine I suggest a temporary fix to the described problems here. [https://www.morten.software/2009/07/27/grails-and-google-appengine-on-windows/] I’m porting my Grails project from Mor.ph to Google AppEngine. If your using Windows certain things will not work out of the box. To be able to use GORM you
Grails Upgrading from Grails 1.1 to Grails 1.1.1 Simple enough I downloaded the new version of Grails, updated the environment variables and its good to go in the command line. I placed the grails-1.1.1 directory next to the grails-1.1 directory, that way I can revert to 1.1 if I manage to screw things up
Grails Removing the morph-deploy plugin Since I’m moving the project to Google AppEngine I no longer require the morph-deploy plugin. I removed the .jar and properties files from the directory containing the mor.ph keys to deploy the application. I removed the plugin using grails uninstall-plugin morph-deploy Next remove the mor.ph specific datasource
Grails Moving from Morph to Google AppEngine Since Mor.ph is terminating their free subscription I’ll be moving my application from Mor.ph to Google AppEngine. I like Mor.ph but the project is not at a stage of development where I wish to pay for it to be hosted somewhere. To do this I need