The steps for deploying Guvnor 5.4 are:
- Take the guvnor-5.4.0.Final-jboss-as-7.0.war binary war file
- Remove WEB-INF/lib/javassist-3.14.0-GA.jar from the binary war file
- Add the a glassfish-web.xml file to WEB-INF see here
- Replace WEB-INF/web.xml with this
- Repackage the binary war file and deploy to glassfish
I have a project on git hub that automates creating a glassfish specific version of guvnor. See here for more information: link