You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jeff Genender (JIRA)" <ji...@apache.org> on 2009/11/12 19:05:52 UTC

[jira] Created: (SM-1912) DomUtil blocks on new DocumentBuilder creation

DomUtil blocks on new DocumentBuilder creation
----------------------------------------------

                 Key: SM-1912
                 URL: https://issues.apache.org/activemq/browse/SM-1912
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-common
    Affects Versions: 3.4, 3.2.4, 3.3.2
            Reporter: Jeff Genender


DomUtil blocks due to new creation of DocumentBuilder down deep in the xerces calls.  This manifests itself under heavy load.  Need to make a ThreadLocal static version o fthe DocumentBuilder so its cached in the thread and created only once.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SM-1912) DomUtil blocks on new DocumentBuilder creation

Posted by "Jeff Genender (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Genender closed SM-1912.
-----------------------------

    Resolution: Fixed

Added static and ThreadLocal for the  DocumentBuilder object as per commit 835431

> DomUtil blocks on new DocumentBuilder creation
> ----------------------------------------------
>
>                 Key: SM-1912
>                 URL: https://issues.apache.org/activemq/browse/SM-1912
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-common
>    Affects Versions: 3.4, 3.2.4, 3.3.2
>            Reporter: Jeff Genender
>
> DomUtil blocks due to new creation of DocumentBuilder down deep in the xerces calls.  This manifests itself under heavy load.  Need to make a ThreadLocal static version o fthe DocumentBuilder so its cached in the thread and created only once.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.