You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/04 11:41:20 UTC

[jira] [Commented] (KARAF-4628) Can not start karaf on linux

    [ https://issues.apache.org/jira/browse/KARAF-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15407600#comment-15407600 ] 

ASF GitHub Bot commented on KARAF-4628:
---------------------------------------

GitHub user skitt opened a pull request:

    https://github.com/apache/karaf/pull/224

    [KARAF-4628] [KARAF-4564] Fix unix startup scripts

    (cherry picked from commit 5bbaf71814df514b112cbe8cd73ba57fefdc869f)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/skitt/karaf odl-cherrypicks

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf/pull/224.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #224
    
----
commit 4740bb96597cde61357bd3ba843d1345f255e4d7
Author: Guillaume Nodet <gn...@apache.org>
Date:   2016-07-29T07:08:03Z

    [KARAF-4628] [KARAF-4564] Fix unix startup scripts
    (cherry picked from commit 5bbaf71814df514b112cbe8cd73ba57fefdc869f)

----


> Can not start karaf on linux
> ----------------------------
>
>                 Key: KARAF-4628
>                 URL: https://issues.apache.org/jira/browse/KARAF-4628
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 4.1.0
>            Reporter: Christian Schneider
>            Assignee: Guillaume Nodet
>             Fix For: 4.1.0
>
>
> 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.



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