Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2358

Error while trying to install Modeshape in Fuse 6.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • Future Releases
    • 4.0.0.Final
    • None
    • Hide

      Include the modeshape bundles in a features.xml.

      Maybe it is easy to include the dependencies in a pom.xml and let the maven plugin to generate the features.xml

      <bundle>mvn:org.modeshape/modeshape-jcr-api/4.0.0.Final</bundle>
      <bundle>mvn:javax.jcr/jcr/2.0</bundle>
      <bundle>mvn:org.modeshape/modeshape-common/4.0.0.Final</bundle>
      <bundle>mvn:org.modeshape/modeshape-jcr/4.0.0.Final</bundle>
      <bundle>mvn:org.modeshape/modeshape-schematic/4.0.0.Final</bundle>

      There are more dependencies that need to be included, like cassandra or netty.

      Then add the features.xml repository in the karaf console and install the feature that contains the modeshape bundles.

      Show
      Include the modeshape bundles in a features.xml. Maybe it is easy to include the dependencies in a pom.xml and let the maven plugin to generate the features.xml <bundle>mvn:org.modeshape/modeshape-jcr-api/4.0.0.Final</bundle> <bundle>mvn:javax.jcr/jcr/2.0</bundle> <bundle>mvn:org.modeshape/modeshape-common/4.0.0.Final</bundle> <bundle>mvn:org.modeshape/modeshape-jcr/4.0.0.Final</bundle> <bundle>mvn:org.modeshape/modeshape-schematic/4.0.0.Final</bundle> There are more dependencies that need to be included, like cassandra or netty. Then add the features.xml repository in the karaf console and install the feature that contains the modeshape bundles.

      It is specified that the version of the package as 1.5.0.

      I tried to download the only version available in nexus:

      http://repository.jboss.org/nexus/content/groups/developer/javax/security/jacc/1.0/
      But there is no jar, just a pom. The version is 1.0, but maybe in the MANIFEST file the package is exported as 1.5 or up.

      java.lang.Exception: Could not start bundle mvn:org.modeshape/modeshape-jcr/4.0.0.Final in feature(s) s-ramp-dependencies-0.7.0-SNAPSHOT: Unresolved constraint in bundle org.modeshape.jcr [330]: Unable to resolve 330.0: missing requirement [330.0] osgi.wiring.package; (&(osgi.wiring.package=javax.security.jacc)(version>=1.5.0)(!(version>=2.0.0)))
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:477)[22:org.apache.karaf.features.core:2.3.0.redhat-610379]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:404)[22:org.apache.karaf.features.core:2.3.0.redhat-610379]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:400)[22:org.apache.karaf.features.core:2.3.0.redhat-610379]
      	at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[26:org.apache.karaf.features.command:2.3.0.redhat-610379]
      	at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)[26:org.apache.karaf.features.command:2.3.0.redhat-610379]
      	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
      Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.modeshape.jcr [330]: Unable to resolve 330.0: missing requirement [330.0] osgi.wiring.package; (&(osgi.wiring.package=javax.security.jacc)(version>=1.5.0)(!(version>=2.0.0)))
      	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4225)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2063)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:474)[22:org.apache.karaf.features.core:2.3.0.redhat-610379]
      

            Unassigned Unassigned
            virchete_jira David virgil naranjo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: