karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4628) Can not start karaf on linux
Date Tue, 19 Jul 2016 09:07:20 GMT
Christian Schneider created KARAF-4628:
------------------------------------------

             Summary: 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
             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)

Mime
View raw message