DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<
http://issues.apache.org/bugzilla/show_bug.cgi?id=41931>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41931 Summary: XPathFactory only searches system classloader for
service files
Product: XmlCommons
Version: 1.x
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: JAXP
AssignedTo:
commons-dev@...
ReportedBy:
brettf2002@...
When using the JAXP XPath interfaces in a multi-classloader environment such as
an application server, the newInstance method on XPathFactory fails to find any
javax.xml.xpath.XPathFactory service files as described in the API documentation
if the service file was loaded in a classloader other than the system classloader.
The reason for this can be found in the javax.xml.xpath.SecuritySupport class in
the getResources method. The method will always use the getSystemResource
method instead of the getResource method on the context classloader.
--
Configure bugmail:
http://issues.apache.org/bugzilla/userprefs.cgi?tab=email------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.