Hi,

That's the problem. You shouldn't embed xercesImpl-2.11.0.jar in Hadoop-karaf 
bundle, you should use the one from container(with correct Import-Package).

The error 
org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to
org.apache.xerces.xni.parser.XMLParserConfiguration

generally means same class loaded by different classloaders. embed jar usually 
is the culprit here.
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat



On 2014-5-23, at 上午2:09, arenee wrote:

> Thanks for the quick response. However, I don't seem to have the
> xercesImpl.jar in my $KARAF_HOME/lib/endorsed directory. 
> 
> I did a search for xercesImpl*.jar and only found it associated with the
> Hadoop-karaf bundle in
> $KARAF_HOME/data/cache/bundle471/version0.1/bundle.jar-embedded/xercesImpl-2.11.0.jar
> 
> Any other suggestions? 
> 
> 
> 
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/Error-Executing-Command-Hadoop-Bundle-in-Karaf-tp4033244p4033247.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.

Reply via email to