By pelegri on Mar 31, 2010
The standard development command for Grails, "grails run-app" will use an embedded Jetty (also see the NetBeans Quickstart) but the standard arrangement for deployment is to create a WAR via "grails war" and then deploy the WAR in your favorite container.
The Grails Deployment Page has a full list of supported containers, including GlassFish v2 and v3. The combination works very well; actually, one of the earliest references to the GlassFish+Grails combo was from Glen Smith, the author of Grails in Action and a quick look at the Grails USERS mailing list shows GlassFish as the 3rd more popular container, after Jetty and Tomcat, but there are some unwanted interactions between the logging frameworks used by Grails and those included in GlassFish.
Fortunately, a few weeks ago Reiner Saddey wrote about how to deploy Grails Applications on containers while using Native Logging. He later provided Specific Instructions for JBoss and now has added the Instructions for GlassFish . It all boils to adding and removing adaptors between Log4J and JSR-47; life would be simpler if we had a single, standard, widely adopted Java Logging Framework...
Earlier entries on Grails are tagged Grails.