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

Can't start karaf using symbolic link

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 4.1.0, 3.0.7, 4.0.8
    • Component/s: None
    • Labels:
      None
    • Environment:

      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

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                adetalhouet Alexis de Talhouët
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: