On Tue, Jan 8, 2019 at 2:09 PM Michael Vorburger <[email protected]> wrote:
> On Tue, Jan 8, 2019 at 10:48 AM Anil Vishnoi <[email protected]> > wrote: > >> OF-Devs, >> >> Anybody hitting this issue when start karaf on openflowplugin master >> branch ? (with maven 3,6,0 / jdk 1.8.0 / new setting.xml)? >> > > I cannot reproduce this. - Have tried fresh "mvn clean package" on today's > master, and just started as you show below. Both with and without "debug" > it starts fine for me. However, I never 'sudo' to run as root... don't > think that's needed? That shouldn't cause this kind of error though. > > Perhaps most likely explanation IMHO is some (odlparent?) version > confusion you have locally. Or stale JARs in your ~/.m2 .. you could try a > mvn -U or even rm -rf, but not sure that is it, but worth trying, if you > are stuck. > I did toss m2 repo (and used the new setting.xml), and that actually downloaded all the new artifacts, but still no luck. I can give it one more shot with -U, but i doubt it will do anything different here. > > +odlparent-dev <[email protected]> in case this rings > a bell for anyone there. > > /openflowplugin/distribution/karaf/target/assembly/bin$ sudo ./karaf debug >> [sudo] password for vishnoianil: >> karaf: JAVA_HOME not set; results may vary >> Listening for transport dt_socket at address: 5005 >> Apache Karaf starting up. Press Enter to open the shell now... >> 100% >> [========================================================================] >> >> Karaf started in 0s. Bundle stats: 15 active, 15 total >> org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: >> missing requirement [root] osgi.identity; >> osgi.identity=f6df3d3c-bf0e-4354-b21b-2b7fd7a538ee; type=karaf.feature; >> version="[0,0.0.0]"; >> filter:="(&(osgi.identity=f6df3d3c-bf0e-4354-b21b-2b7fd7a538ee)(type=karaf.feature)(version>=0.0.0)(version<=0.0.0))" >> [caused by: Unable to resolve f6df3d3c-bf0e-4354-b21b-2b7fd7a538ee/0.0.0: >> missing requirement [f6df3d3c-bf0e-4354-b21b-2b7fd7a538ee/0.0.0] >> osgi.identity; osgi.identity=framework; type=karaf.feature; >> version="[4.2.1,4.2.1]" [caused by: Unable to resolve framework/4.2.1: >> missing requirement [framework/4.2.1] osgi.identity; >> osgi.identity=org.apache.karaf.features.extension; type=osgi.fragment; >> version="[4.2.1,4.2.1]"; resolution:=mandatory [caused by: Fragment was not >> selected for attachment: osgi.identity; >> osgi.identity="org.apache.karaf.features.extension"; type="osgi.fragment"; >> version:Version="4.2.1"]]] >> at >> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) >> at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392) >> at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378) >> at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332) >> at >> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) >> at >> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388) >> at >> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025) >> at >> org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964) >> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) >> at java.lang.Thread.run(Thread.java:748) >> Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to >> resolve f6df3d3c-bf0e-4354-b21b-2b7fd7a538ee/0.0.0: missing requirement >> [f6df3d3c-bf0e-4354-b21b-2b7fd7a538ee/0.0.0] osgi.identity; >> osgi.identity=framework; type=karaf.feature; version="[4.2.1,4.2.1]" >> [caused by: Unable to resolve framework/4.2.1: missing requirement >> [framework/4.2.1] osgi.identity; >> osgi.identity=org.apache.karaf.features.extension; type=osgi.fragment; >> version="[4.2.1,4.2.1]"; resolution:=mandatory [caused by: Fragment was not >> selected for attachment: osgi.identity; >> osgi.identity="org.apache.karaf.features.extension"; type="osgi.fragment"; >> version:Version="4.2.1"]] >> at >> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) >> ... 12 more >> >> >> -- >> Thanks >> Anil >> _______________________________________________ >> openflowplugin-dev mailing list >> [email protected] >> https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev >> > -- Thanks Anil
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
