axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Commented: (AXIS-1597) Reponse time increases with load for axis
Date Mon, 11 Oct 2004 02:01:51 GMT
The following comment has been added to this issue:

     Author: Jongjin Choi
    Created: Sun, 10 Oct 2004 7:01 PM
       Body:
Dims and all axis developers.

In XmlUtils.java, the Axis reuses the SAX Parsers using Stack.

What about reusing DocumentBuilder?
Accroding to DocumentBuilderFactory's javadoc, the DocumentBuilderFactory object should be
synchronized to make DocumentBuilder from it. 
I think it may take long to create a new DocumentBuilder from DocumentBuilderFactory.

This can be a cause for Anand's case. If Axis reuse the DocumentBuilder like SAXParser, the
synchornization to DocumentBuilder stack is needed but in the case where 
free DocumentBuilder remains in the stack, we can avoid making new DocumentBuilder every time
and can get the performance gain.



---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1597?page=comments#action_53883

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1597

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1597
    Summary: Reponse time increases with load for axis
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             Basic Architecture
   Versions:
             1.1

   Assignee: 
   Reporter: Anand Nair

    Created: Sun, 10 Oct 2004 3:39 PM
    Updated: Sun, 10 Oct 2004 7:01 PM
Environment: ALL

Description:
On an average load on the server , the thread dump is indicating many ( ~250wait for monitor
at :


at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:318)
        at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:335)
        at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209)





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message