Category Archives: Grails

Grails and Microsoft SQL Server – Not so painless when using Unique Constraints – A Pragmatic Work-Around

When porting your Grails application from just about any database to MS SQL Server, four areas come to my mind that require your immediate attention: Primary key generation strategy (not covered here) Case sensitivity and collation issues (not covered here) … Continue reading

Posted in English, Grails, Hibernate | 1 Comment

How to Deploy a Grails Application to GlassFish

As outlined at How to Deploy a Grails Application to JBoss 5, deploying to JBoss 5 just requires to remove some logging jars and disable Grails logging configuration. With GlassFish however, it is required to supply certain logging jars (e.g. … Continue reading

Posted in English, Grails | Leave a comment

How to Deploy a Grails Application to JBoss 5

As outlined at Grails – How to Use Native Server Logging Configuration (e.g. Tomcat GlassFish JBoss), it may be advisable to remove any conflicting logging implementation when deploying a Grails application into a production environment. I’ll give a full source … Continue reading

Posted in English, Grails | 7 Comments

Teaching Mavenized Grails to Survive mvn release:prepare release:perform with Hudson

A mavenized Grails project has 2 competing sources stating the version of the application <version> within pom.xml app.version within application.properties If 2. does not match 1. the grails-maven-plugin will abort the build, urging you to manually fix the version mismatch. … Continue reading

Posted in English, Grails, Maven | Leave a comment

Grails – How to Use Native Server Logging Configuration (e.g. Tomcat GlassFish JBoss)

Grails comes complete with logging out-of-the-box. However, if a Grails application is being deployed to a production servlet container, it may be advisable or even required for Grails to step aside and let the server admins do their jobs 🙂 … Continue reading

Posted in English, Grails | 9 Comments

Grails – UTF-8 Form Input Garbled when Running Within Tomcat

There are numerous articles describing charset problems when using Tomcat to run Grails applications that are supposed to accept UTF-8 characters (e.g. German umlauts äöüÄÖÜß). Most of them don’t mention a subtle cause that may jeopardize all your efforts to … Continue reading

Posted in Grails | Leave a comment

Grails: Links from my first week with Grails

Never before in my life I had the opportunity to learn a new technology and put it into productive use within just a couple of days. Grails will change is changing has changed the Java and framework landscape. Using Grails, … Continue reading

Posted in English, Grails | Leave a comment