Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-600

Unable to deserialize Javassist proxy due to wrong classloader being used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None

      Trying to mark a conversation as long-running causes an exception (java.lang.NoClassDefFoundError: javassist/util/proxy/ProxyObject) when the ServletConversationManager tries to get a proxy for the httpSession.
      The ProxyFactory.classLoaderProvider ends up resolving the classloader to an instance of org.apache.catalina.loader.StandardClassLoader (which doesn't know the javassist lib, since it's only in the app classloader).

        1. action.xhtml
          0.8 kB
        2. template.xhtml
          0.8 kB
        3. Bean.java
          0.3 kB
        4. Action.java
          0.9 kB
        5. jersey-gf-bundle.jar
          1.05 MB

              Unassigned Unassigned
              fabiowg Fabio Wang (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: