Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1109

FuseByExample Horo-app fails on features:install horo-db

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.1
    • jboss-fuse-6.1
    • None
    • None
    • % %

      In the horo-app I got the following error on the fuse console after entering the command "features:install horo-db"

      JBossFuse:karaf@root> features:install horo-db
      Should not skip: ^
      Error executing command: Could not start bundle mvn:com.fusesource.examples/horo-db/1.0-SNAPSHOT in feature(s) horo-db-1.0-SNAPSHOT: Unresolved constraint in bundle horo-db [257]: Unable to resolve 257.0: missing requirement [257.0] osgi.wiring.package; (&(osgi.wiring.package=org.mybatis.spring)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 259.0: missing requirement [259.0] osgi.wiring.package; (osgi.wiring.package=org.springframework.jdbc.datasource) [caused by: Unable to resolve 260.0: missing requirement [260.0] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.beans)(version>=3.1.3)(!(version>=3.1.4)))]]
      JBossFuse:karaf@root>

      I got the following exception in the log

      15:11:41,933 | INFO | l Console Thread | Console | 16 - org.apache.karaf.shell.console - 2.3.0.redhat-610312 | Exception caught while executing command
      java.lang.Exception: Could not start bundle mvn:com.fusesource.examples/horo-db/1.0-SNAPSHOT in feature(s) horo-db-1.0-SNAPSHOT: Unresolved constraint in bundle horo-db [257]: Unable to resolve 257.0: missing requirement [257.0] osgi.wiring.package; (&(osgi.wiring.package=org.mybatis.spring)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 259.0: missing requirement [259.0] osgi.wiring.package; (osgi.wiring.package=org.springframework.jdbc.datasource) [caused by: Unable to resolve 260.0: missing requirement [260.0] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.beans)(version>=3.1.3)(!(version>=3.1.4)))]]
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:477)[23:org.apache.karaf.features.core:2.3.0.redhat-610312]
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:404)[23:org.apache.karaf.features.core:2.3.0.redhat-610312]
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:400)[23:org.apache.karaf.features.core:2.3.0.redhat-610312]
      at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[37:org.apache.karaf.features.command:2.3.0.redhat-610312]
      at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)[37:org.apache.karaf.features.command:2.3.0.redhat-610312]
      at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[16:org.apache.karaf.shell.console:2.3.0.redhat-610312]
      at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[16:org.apache.karaf.shell.console:2.3.0.redhat-610312]
      at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610312]
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610312]
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610312]
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610312]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610312]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610312]
      at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[18:org.apache.felix.gogo.runtime:0.11.0.redhat-610312]
      at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)[16:org.apache.karaf.shell.console:2.3.0.redhat-610312]
      at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[16:org.apache.karaf.shell.console:2.3.0.redhat-610312]
      Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle horo-db [257]: Unable to resolve 257.0: missing requirement [257.0] osgi.wiring.package; (&(osgi.wiring.package=org.mybatis.spring)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 259.0: missing requirement [259.0] osgi.wiring.package; (osgi.wiring.package=org.springframework.jdbc.datasource) [caused by: Unable to resolve 260.0: missing requirement [260.0] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.beans)(version>=3.1.3)(!(version>=3.1.4)))]]
      at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:474)[23:org.apache.karaf.features.core:2.3.0.redhat-610312]
      ... 15 more

            yfang@redhat.com Freeman(Yue) Fang
            kearls@redhat.com Kevin Earls (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: