PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3266 *** shadow/3266 Fri Aug 24 15:29:36 2001 --- shadow/3266.tmp.22668 Fri Aug 24 15:29:36 2001 *************** *** 0 **** --- 1,29 ---- + +============================================================================+ + | Contention on ClassLoader due to XPath? | + +----------------------------------------------------------------------------+ + | Bug #: 3266 Product: XalanJ2 | + | Status: NEW Version: 2.1.0 | + | Resolution: Platform: PC | + | Severity: Enhancement OS/Version: Other | + | Priority: Other Component: org.apache.xalan.extens | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Hello: + + I am noticing that in a web application that uses the Xerces DOM to render HTML + output I am running into an issue of contention. Each thread is using the + XPathAPI.selectSingleNode or XPathAPI.selectNodeList to find nodes in a DOM + tree. This, in turn, constructs an ExtensionTable which dynamically loads the + org.apache.xalan.lib.Extensions class. The contention comes in since a single + class loader is used to load this class. + + Is this absolutely necessary? Can it be bypassed? + + Thanks, + Glenn
