I created _Events.groovy
in script directory then added code below:
eventConfigureTomcat = {tomcat ->
println \"Tomcat.......................
It appears that you can update the Tomcat plugin in Grails 2.3 to:
build ":tomcat:7.0.55"
This includes the fix for the jira issue that @chubbsondubs linked above.
It also seems to be fixed in the tomcat plugin 8.0.14.
This is a bug and I'm looking into it. It works if you disable fork mode, which you can disable either by deleting the entire grails.project.fork
block in BuildConfig.groovy, or by setting the run
configuration to false
:
grails.project.fork = [
...
run: false
...
]
I tested the issue with Grails 2.3.4 version and still exist. You should disable forked mode to work properly.
You can check my _Events.groovy file.