Re: Error executing command on bundle
You need to install the commons-beanutils bundle for your bundle to be able to resolve correctly. 2017-06-09 8:01 GMT+02:00 Dominik Marciniszyn <marciniszyn.domi...@gmail.com >: > Hi, > > I've added to my pom.xml dependency "org.apache.commons.beanutils". When I > build project, everything was ok, but after update module on karaf I've got > an error: > Unable to resolve my-osgi, missing requirement osgi.wiring.package, > osgi.wiring.package=org.apache.commons.beanutils. > > I've tried to resolve this, but I'm stuck. I'm using > org.apache.commons.beanutils in version 1.8.3_2. > > I'll be glad for any advice or help, > Dominik Marciniszyn > > > > -- > View this message in context: http://karaf.922171.n3.nabble. > com/Error-executing-command-on-bundle-tp4050630.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. > -- Guillaume Nodet
Error executing command on bundle
Hi, I've added to my pom.xml dependency "org.apache.commons.beanutils". When I build project, everything was ok, but after update module on karaf I've got an error: Unable to resolve my-osgi, missing requirement osgi.wiring.package, osgi.wiring.package=org.apache.commons.beanutils. I've tried to resolve this, but I'm stuck. I'm using org.apache.commons.beanutils in version 1.8.3_2. I'll be glad for any advice or help, Dominik Marciniszyn -- View this message in context: http://karaf.922171.n3.nabble.com/Error-executing-command-on-bundle-tp4050630.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Error Executing Command - Hadoop Bundle in Karaf
I had the problem of an older Xerces (2.9.1) bundle installed in Karaf. I stopped that Xerces bundle and all still *appeared* to work in Karaf. I figured there were no specific dependencies on that version (This may come back to bite me in the butt in the future). Despite stopping this bundle, I still encountered the org.apache.xerces.parsers.XIncludeAwareParserConfiguration error. I then removed the Xerces dependency within the Hadoop-Karaf 3.0.0-SNAPSHOT bundle. ( I also had to export org.apache.hadoop.fs and org.apache.hadoop.conf in order for the bundle dependent on Hadoop-Karaf 3.0.0-SNAPSHOT to work) I then installed the new Hadoop-Karaf Arenee version along with a separate Xerces 2.11.0 bundle. I no longer get the Xerces error. I do get a connection refused error but that's a different issue. Thanks to all for your help! -- View this message in context: http://karaf.922171.n3.nabble.com/Error-Executing-Command-Hadoop-Bundle-in-Karaf-tp4033244p4033261.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Error Executing Command - Hadoop Bundle in Karaf
Hi all, I've installed the Hadoop 3.0.0 SNAPSHOT from the blog. When trying to access an HDFS directly in Karaf, I receive the following error: karaf@rootla|grep -i hadoop [ 471] [Active ] [Created ] [ ] [ 80] Apache Hadoop Karaf (3.0.0.SNAPSHOT) karaf@roothadoop:fs -ls / Error executing command: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration Any suggestions for fixing this error? Arenee -- View this message in context: http://karaf.922171.n3.nabble.com/Error-Executing-Command-Hadoop-Bundle-in-Karaf-tp4033244.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Error Executing Command - Hadoop Bundle in Karaf
Hi, remove the xercesImpl.jar from lib/endorsed, it should help. Regards JB On 05/22/2014 07:50 PM, arenee wrote: Hi all, I've installed the Hadoop 3.0.0 SNAPSHOT from the blog. When trying to access an HDFS directly in Karaf, I receive the following error: karaf@rootla|grep -i hadoop [ 471] [Active ] [Created ] [ ] [ 80] Apache Hadoop Karaf (3.0.0.SNAPSHOT) karaf@roothadoop:fs -ls / Error executing command: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration Any suggestions for fixing this error? Arenee -- View this message in context: http://karaf.922171.n3.nabble.com/Error-Executing-Command-Hadoop-Bundle-in-Karaf-tp4033244.html Sent from the Karaf - Dev mailing list archive at Nabble.com. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Error Executing Command - Hadoop Bundle in Karaf
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.
Re: Error Executing Command - Hadoop Bundle in Karaf
What's your Karaf version ? Regards JB On 05/22/2014 08:09 PM, 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. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Error Executing Command - Hadoop Bundle in Karaf
By the way, I should probably update my bundle for Karaf 3.0.0 (if it's the version that you use) ;) Regards JB On 05/22/2014 08:09 PM, 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. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Error Executing Command - Hadoop Bundle in Karaf
Using Karaf 2.3.1 -- View this message in context: http://karaf.922171.n3.nabble.com/Error-Executing-Command-Hadoop-Bundle-in-Karaf-tp4033244p4033250.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Error Executing Command - Hadoop Bundle in Karaf
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.