GithubHelp home page GithubHelp logo

Fuse startup error about fuse HOT 6 CLOSED

jboss-fuse avatar jboss-fuse commented on August 23, 2024
Fuse startup error

from fuse.

Comments (6)

sobkowiak avatar sobkowiak commented on August 23, 2024

The problem is caused by following line in startup-obr.properties

org/apache/felix/org.apache.felix.bundlerepository/${felix.obr.version}/org.apache.felix.bundlerepository-${felix.obr.version}.jar=10

The variable felix.obr.version is defined in fabric8 pom and has value 1.6.6.

After upgrade to Karaf 2.4.0 Felix Bundlerepository with version 2.0.2 should be used. But the variable felix.obr.version is not used correctly. Karaf 2.4.0 uses Felix OBR in version 1.0.2 and Felix Bundlerepository in version 2.0.2. We shouldn't use felix.obr.version to define version for Felix Bundlerepository in startup-obr.properties. It comes from ServiceMix and we have corrected it there

We have defined a new variable felix.bundlerepository.version with value 2.0.2 and used it in startup-obr.properties. I propose to define the same variable in fuse (until the state will be corrected in Fabric8) and use it as following

# enabling features OBR resolver support
org/apache/felix/org.apache.felix.bundlerepository/${felix.bundlerepository.version}/org.apache.felix.bundlerepository-${felix.bundlerepository.version}.jar=10
org/apache/karaf/features/org.apache.karaf.features.obr/${karaf-version}/org.apache.karaf.features.obr-${karaf-version}.jar=25

from fuse.

sobkowiak avatar sobkowiak commented on August 23, 2024

Created pull request #20

from fuse.

sobkowiak avatar sobkowiak commented on August 23, 2024

I have created a pull request in Fabric8 (fabric8io/fabric8#2677) to correct the state there. The variable felix.bundlerepository.version can be removed from Fuse pom after it is defined in Fabric8

from fuse.

sobkowiak avatar sobkowiak commented on August 23, 2024

Fabric8 defines now felix.bundlerepository.version so we don't need to define it in Fuse now

from fuse.

sobkowiak avatar sobkowiak commented on August 23, 2024

The state has been corrected in Fabric8 snapshot. Fuse uses now beta4. Please wait with applying this pull request until Fuse uses newer version of Fabric8.

from fuse.

davsclaus avatar davsclaus commented on August 23, 2024

closing old ticket

from fuse.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.