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

Inefficient use of JAXBContext leads to excessive classloading

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: