glassfish
  1. glassfish
  2. GLASSFISH-18827

Exception on app deployment if javassist bundled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.1.2
    • Fix Version/s: 4.1
    • Component/s: cdi
    • Labels:
      None
    • Environment:

      OpenSuse 12.1
      Glassfish 3.1.2 local installation

      Description

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            phil.zampino
            Reporter:
            arothe
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: