CFGroovy only works on Railo 3, Open BlueDragon 1.0+, ColdFusion 8.0.1 and Centaur (CF9 beta). Railo 2, ColdFusion 8.0 and Open BlueDragon's pre-1.0 releases have classloader issues that prevent it from working.
Installing CF Groovy is a simple two step process:
groovy-all-x.y.z.jar
from the groovyEngine
directory into your /WEB-INF/lib
folder.
I've heard from a couple people that you may need a CF Mapping pointing "/cfgroovy" at either the "groovyEngine" or the "demo" directory. I've not needed this myself, but YMMV.
CFGroovy's Hibernate does not work if another version of Hibernate 3 is already available to the server. Centaur prerelease and JBoss 4.0.3+ both fall into this category. I've been unable to find a way to defeat this limitation outside of Hibernate itself.
Your system supports the CFGroovy Hibernate integration.
To run the Hibernate demos, you need to create a DSN in the server admin named "cfgroovydemo". It should point to an empty database, and the user should have sufficient privileges to create and alter tables, columns, indexes, and keys. The database must be one of those that Hibernate supports, which is basically everything.
You're ready to run the Hibernate demos as well as the Groovy-only ones.
The latest code can always be obtained from Subversion:
Also check the project homepage at http://www.barneyb.com/barneyblog/projects/cfgroovy/ for updates and information.