Hi,

after upgrading Felix from 3.0.2 to 3.0.6, my application won't start anymore 
due to certain factories from the javax domain failing. The overall problem 
seems to be that the implementations are using classes from the sun.com 
namespace.

java.lang.RuntimeException: XPathFactory#newInstance() failed to create an 
XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom 
with the XPathFactoryConfigurationException: 
javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory 
implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
        at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:101)

The obvious easy resolution would be to add

        org.osgi.framework.bootdelegation=com.sun.*

to config.properties. But as discussed on this list various times, it is not 
the preferred solution. I tried getting the bundle fragment approach to work 
but had no success. I also looked for existing bundles, tried many of them but 
had no success either.

Is there advice out there on how to properly solve this?

Thanks,
Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to