You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Alexis de Talhouët (JIRA)" <ji...@apache.org> on 2016/06/08 13:28:20 UTC

[jira] [Created] (KARAF-4564) Can't start karaf using symbolic link

Alexis de Talhouët created KARAF-4564:
-----------------------------------------

             Summary:  Can't start karaf using symbolic link
                 Key: KARAF-4564
                 URL: https://issues.apache.org/jira/browse/KARAF-4564
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 3.0.6
         Environment: Ubuntu (Linux vagrant 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux)

OSX (Darwin inocybe.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64)

Solaris (SunOS solaris11.3 5.11 11.3 i86pc i386 i86pc)
            Reporter: Alexis de Talhouët


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/




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)