Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2683

Inefficient use of JAXBContext leads to excessive classloading

    XMLWordPrintable

Details

    Description

      Despite JBWS-1857 and JBWS-2270 I'm experiencing issues with JAXB in JBossWS 3.0.5. Every time a message passes through my endpoint I see the number of loaded classes rising in JConsole. When -XX:+TraceClassLoading is enabled the JVM shows that the wrapper classes produced by JAXB are (re)loaded with every request/response.

      This indicates that a new instance of JAXBContext is being used as described in https://jaxb.dev.java.net/issues/show_bug.cgi?id=581 (should have been fixed in JBWS-2270).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rkettelerij Richard Kettelerij (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: