Saturday, January 23, 2010

grails upload to Google's app-engine

1. Deployment

First, I created an app-engine-account.

Second, I put my account name into the Config.groovy:

I used the NetBeans context menu to deploy the applicaton: right-click on the project, "Run Grails Command...". Then I selected "set-version" and "1" as parameter and afterwards "app-engine" with the parameter "deploy". This creates the web application archive (WAR).

The plug-in documentation says, that you should execute $APPENGINE_HOME/bin/appcfg.sh update ./target/war from command-line. I left this point out, because my web-app seems to work even without it.

The following import process took a while. It asked for my Google-account and my password.

The prompt for the Google-account first needs one additional ENTER. The second prompt takes your Google-account.

2. Drawbacks on Google's app-engine

From time to time, accessing my web application takes a while. And sometimes, the request gets a timeout and a com.google.apphosting.runtime.HardDeadlineExceededError is thrown.

There seems to be some issues with the Home-link in my application. It always links to the current page, while it should link to the web-app-root.

There's also a problem with the information div. If it is set, it keeps the value accross different requests, while it usually should only be displayed once.

3. Links

app-engine plug-in and setup

No comments:

Post a Comment