From dev-return-13325-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Tue Jan 8 18:59:18 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CF945180652 for ; Tue, 8 Jan 2019 18:59:17 +0100 (CET) Received: (qmail 59088 invoked by uid 500); 8 Jan 2019 17:59:16 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 59073 invoked by uid 99); 8 Jan 2019 17:59:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2019 17:59:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C4ED1180D45 for ; Tue, 8 Jan 2019 17:59:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.3 X-Spam-Level: X-Spam-Status: No, score=0.3 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id pmieBesPdTPr for ; Tue, 8 Jan 2019 17:59:14 +0000 (UTC) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 11C795F11D for ; Tue, 8 Jan 2019 17:59:13 +0000 (UTC) Received: from [192.168.134.110] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 13D5B200002 for ; Tue, 8 Jan 2019 17:59:06 +0000 (UTC) Subject: Re: Custom Distribution Hangs on Startup... To: dev@karaf.apache.org References: <360DDA02-A095-492B-B53D-1343E86DDC0A@gmail.com> From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: <092cf0e3-5dea-950e-9069-9cc9bc2b5993@nanthrax.net> Date: Tue, 8 Jan 2019 18:59:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Hi James, no the startup.properties is generated by the plugin, using the scope. So, karaf framework kar is probably missing in your project. I can take a look if you want. Regards JB On 08/01/2019 18:09, James Carman wrote: > But, that begs the question, should we really have to do that? Is > something wrong with the plugin that it isn't copying the "standard" > startup.properties file from the base distro? > > On Tue, Jan 8, 2019 at 11:56 AM James Carman > wrote: > >> That got it working for me. Thanks, Johan! >> >> >> On Tue, Jan 8, 2019 at 11:55 AM Johan Edstrom wrote: >> >>> I compared to a 4.2.2, >>> it is missing startup.properties in the generation. >>> >>> Adding; >>> >>> # Bundles to be started on startup, with startlevel >>> mvn\:org.apache.karaf.features/org.apache.karaf.features.extension/4.2.2 >>> = 1 >>> mvn\:org.apache.felix/org.apache.felix.metatype/1.2.2 = 5 >>> mvn\:org.apache.karaf.services/org.apache.karaf.services.eventadmin/4.2.2 >>> = 5 >>> mvn\:org.ops4j.pax.url/pax-url-aether/2.5.4 = 5 >>> mvn\:org.fusesource.jansi/jansi/1.17.1 = 8 >>> mvn\:org.ops4j.pax.logging/pax-logging-api/1.10.1 = 8 >>> mvn\:org.ops4j.pax.logging/pax-logging-log4j2/1.10.1 = 8 >>> mvn\:org.apache.felix/org.apache.felix.coordinator/1.0.2 = 9 >>> mvn\:org.apache.felix/org.apache.felix.configadmin/1.9.10 = 10 >>> mvn\:org.apache.felix/org.apache.felix.fileinstall/3.6.4 = 11 >>> mvn\:org.apache.karaf.features/org.apache.karaf.features.core/4.2.2 = 15 >>> mvn\:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.5.0 >>> = 30 >>> >>> and it looks nicer. >>> >>> >>> >>>> On Jan 8, 2019, at 9:12 AM, James Carman >>> wrote: >>>> >>>> I am trying to create a custom distribution: >>>> >>>> https://github.com/jwcarman/custom-karaf-example/tree/vanilla >>>> >>>> When I cd into the target/assembly directory and do: >>>> >>>> bin/karaf >>>> >>>> the logs stop after this: >>>> >>>> Jan 08, 2019 11:11:01 AM org.apache.karaf.main.Main launch >>>> INFO: Installing and starting initial bundles >>>> Jan 08, 2019 11:11:01 AM org.apache.karaf.main.Main launch >>>> INFO: All initial bundles installed and set to start >>>> Jan 08, 2019 11:11:01 AM org.apache.karaf.main.lock.SimpleFileLock lock >>>> INFO: Trying to lock >>>> /Users/jcarman/IdeaProjects/custom-karaf-example/target/assembly/lock >>>> Jan 08, 2019 11:11:01 AM org.apache.karaf.main.lock.SimpleFileLock lock >>>> INFO: Lock acquired >>>> Jan 08, 2019 11:11:01 AM org.apache.karaf.main.Main$KarafLockCallback >>>> lockAcquired >>>> INFO: Lock acquired. Setting startlevel to 100 >>>> >>>> >>>> Am I missing something? >>>> >>>> Thanks, >>>> >>>> James >>> >>> > -- Jean-Baptiste Onofré jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com