Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4628

Can not start karaf on linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0, 3.0.8
    • karaf
    • None

    Description

      I am not able to start karaf build from master. See below for how to reproduce.

      Build karaf from master using:
      mvn clean install -Pfastinstall

      and unpack using
      tar -xzvf ~/checkout/karaf/assemblies/apache-karaf/target/apache-karaf-4.1.0-SNAPSHOT.tar.gz

      cschneider@wscschneider:~/java/apache-karaf-4.1.0-SNAPSHOT$ bin/karaf
      Error: Could not find or load main class org.apache.karaf.main.Main

      See here for a run with bash -x: http://apaste.info/esV

      It seems like karaf is detecting the karaf directory wrongly.
      If I cd to the bin dir and run karaf from there it works.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              cschneider Christian Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: