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

Unable to deserialize Javassist proxy due to wrong classloader being used

    XMLWordPrintable

Details

    Description

      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).

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: