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

DOMUtils is not threadsafe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jbossws-1.0.0
    • None
    • jbossws-native
    • None

      When the concurrency increases, the following error constantly shows up in the logs:

      Caused by: java.io.IOException: org.xml.sax.SAXException: FWK005 parse may not be called while parsi
      ng.
      at org.jboss.util.xml.DOMUtils.parse(DOMUtils.java:117)
      at org.jboss.util.xml.DOMUtils.parse(DOMUtils.java:96)
      at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:849)
      ... 30 more

      The Xerces DocumentBuilder is not threadsafe and thus requires our wrapper code to synchronize it correctly.

              rhn-support-hbraun Heiko Braun
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: