I deployed a simpleHello ear through cts harness to RI 1.4 b22, which contains a ejb.jar and an appclient jar. The whole process(deploy, undeploy, check if installed, setRuntimeInfo) was very slow and Optimizeit shows a large number of xerces objects were allocated:
4217 org.apache.xerces.xml.parser.XMLInputSource (4139 allocated by org.apache.xerces.impl.XMLEntityManager.startEntity(); 39 by org.apache.xerces.util.EntityResolverWrapper.resolveEntity(); 22 by org.apache.xerces.impl.XMLEntityManager.resolveEntity(); 15 by org.apache.xerces.parsers.AbstractSAXParser.parse(); 2 by org.apache.xerces.parsers.DOMParser.parse())
4139 instances allocated by XMLEntityManager.startEntity() seems abnormal.
Same number (4217) of org.apache.xerces.impl.XMLEntityManager$ScannedEntity was also allocated.
More info will be provided if needed.
4217 org.apache.xerces.xml.parser.XMLInputSource (4139 allocated by org.apache.xerces.impl.XMLEntityManager.startEntity(); 39 by org.apache.xerces.util.EntityResolverWrapper.resolveEntity(); 22 by org.apache.xerces.impl.XMLEntityManager.resolveEntity(); 15 by org.apache.xerces.parsers.AbstractSAXParser.parse(); 2 by org.apache.xerces.parsers.DOMParser.parse())
4139 instances allocated by XMLEntityManager.startEntity() seems abnormal.
Same number (4217) of org.apache.xerces.impl.XMLEntityManager$ScannedEntity was also allocated.
More info will be provided if needed.