[jbossws-issues] [JBoss JIRA] Created: (JBWS-2683) Inefficient use of JAXBContext leads to exsessive classloading

Richard Kettelerij (JIRA) jira-events at lists.jboss.org
Wed Jun 17 09:16:05 EDT 2009


Inefficient use of JAXBContext leads to exsessive classloading  
----------------------------------------------------------------

                 Key: JBWS-2683
                 URL: https://jira.jboss.org/jira/browse/JBWS-2683
             Project: JBoss Web Services
          Issue Type: Quality Risk
      Security Level: Public (Everyone can see)
          Components: jbossws-metro, jbossws-native
    Affects Versions: jbossws-metro-3.0.5, jbossws-native-3.0.5
         Environment: JBoss 5.0.1.GA (includes JbossWS 3.0.5) + Java 1.5.0 + MacOSX
JBoss 4.2.2.GA + JBossWS 3.0.5 + Java 1.5.0 + MacOSX
            Reporter: Richard Kettelerij
         Attachments: gbav-loaded-classes.png

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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list