Issue Details (XML | Word | Printable)

Key: GLASSFISH-18827
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Blocker Blocker
Assignee: phil.zampino
Reporter: arothe
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
glassfish

Exception on app deployment if javassist bundled

Created: 22/Jun/12 01:40 PM   Updated: 25/Jul/13 02:12 PM   Resolved: 25/Jul/13 02:12 PM
Component/s: cdi
Affects Version/s: 3.1.2
Fix Version/s: 4.0.1

Time Tracking:
Not Specified

Environment:

OpenSuse 12.1
Glassfish 3.1.2 local installation


Tags: weld javassist exception
Participants: arjavdesai, arothe and phil.zampino


 Description  « Hide

I try to deploy an application, which has a maven dependency to javassist 3.14.0-GA. If I bundle the lib with the application I will get
Exception while loading the app : org.jboss.weldx.transaction.UserTransaction$1279195191$Proxy$_$$_Weld$Proxy$ cannot be cast to javassist.util.proxy.ProxyObject

If I set the maven scope to "provided", I will get
java.lang.NoClassDefFoundError: javassist/bytecode/CodeAttribute$RuntimeCopyException

The application uses CDI and EclipseLink as persistence provider.
I have seen, that javassist is already part of the weld-osgi-bundle, but the jar isn't used by the application.