Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.6
-
None
-
None
-
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)
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)
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
- breaks
-
KARAF-4865 Karaf startup no longer works on platforms without "readlink"
- Resolved
- relates to
-
KARAF-4949 Karaf 4.0.8 doesn't work on Solaris 11
- Resolved
- links to