This was a recent bug bear which may be a regression from 1.2.x line
When you deploy to Glassfish you get an error message
The fix is to include in BuildConfig.groovy
Maven users can also set the property when running the grails war artificat.
mvn clean grails:war -Dgrails.project.war.osgi.headers=false