inside lib of the war application I've this: javassist-3.18.1-GA.jar
I know that glassfish, GlassFish Server Open Source Edition 3.1.2.2 (build 5), have an older version of javassist, but with 4.2.7.SP1(and older versions) it worked