Solr isn't really doing anything particularly special when this
RuntimeException occurs, the line is purely...
static final XPathFactory xpathFactory = XPathFactory.newInstance();
According to the 1.5 javadocs for this method...
Get a new XPathFactory instance using the default object
I'm afraid I don't have the answer, I can only add that we also had this
problem. We later installed the official Tomcat binary, but still get the
optimal performance in production environments error notification.
-Graham