I have an Entity called HandlerError, refering to another Entity called Handler
The getter getHandler() causes following problem when I deploy the application to JBoss 6 AS M4
The same code works well in JBoss 6 AS M3.
JBoss 6 Release | Javassist dependency |
---|---|
M3 | javassist-3.11.0.GA.jar |
M4 | javassist-3.12.1.GA.jar |
M5 | javassist-3.12.1.GA.jar |
20101112 | javassist-3.12.1.GA.jar |
In between M3 and M4, following issue has been 'fixed': JASSIST-97
Not sure if it's related, but it looks close given the patch
Hibernate 3.5.5 (I observed the problem in JBoss AS 6 M4 and M5)
(Database MySQL)
Try latest Javassist jar (3.14.0-GA). It doesn't fix this problem. Back to cglib for me as I'm not changing my application code for this.
Not sure what we can do here other than bring this to the attention of the Javassist developers and get them to fix this, then upgrade once that fix is released.
The Javassist team think this is resolved as of 3.16.0-GA. Could someone give that a try? Personally I do not see how their solution addresses the problem, but would be great to get confirmation one way or another...
Well, if it is of any use for someone ... i had the exact same problem with a getHandler method and upgrading to javassist-3.17.1-GA fixed the issue for me. Thx Steve for commenting the solution here.