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

Can't start karaf using symbolic link

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.6
    • 4.1.0, 3.0.7, 4.0.8
    • None
    • None

    Description

      When using a symbolic link to use the scripts defined here: https://github.com/apache/karaf/tree/karaf-3.0.6/assemblies/features/framework/src/main/filtered-resources/resources/bin e.g. karaf or client and so on, it's failing to start the container and show this error:
      Error: Could not find or load main class org.apache.karaf.main.Main

      This issue is related to the DIRNAME variable and the way it is setup.

      This bug has been found in OpenDaylight, here is the ticket with more information https://bugs.opendaylight.org/show_bug.cgi?id=6027

      I have also propose a candidate fix in ODL: https://git.opendaylight.org/gerrit/#/c/39982/

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              adetalhouet Alexis de Talhouƫt
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: