Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1D3017E3F for ; Sun, 12 Apr 2015 16:29:12 +0000 (UTC) Received: (qmail 80704 invoked by uid 500); 12 Apr 2015 16:29:12 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 80673 invoked by uid 500); 12 Apr 2015 16:29:12 -0000 Mailing-List: contact issues-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 issues@karaf.apache.org Received: (qmail 80662 invoked by uid 99); 12 Apr 2015 16:29:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Apr 2015 16:29:12 +0000 Date: Sun, 12 Apr 2015 16:29:12 +0000 (UTC) From: "Jamie goodyear (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-3514) RuntimeException when setting system.properties --> karaf.lock.level to a value greater 4 and starting Karaf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14491562#comment-14491562 ] Jamie goodyear commented on KARAF-3514: --------------------------------------- Huzzah - found the secondary issue. On boot when lock.level is in use the default start level is set to lock.level instead of 1. Given that lock.level is handled externally to initial boot wiring, we should maintain the internal level one boot, then raise it to lock.level. I'll clean up my branch, then merge in my changes. > RuntimeException when setting system.properties --> karaf.lock.level to a value greater 4 and starting Karaf > ------------------------------------------------------------------------------------------------------------- > > Key: KARAF-3514 > URL: https://issues.apache.org/jira/browse/KARAF-3514 > Project: Karaf > Issue Type: Bug > Affects Versions: 3.0.0, 3.0.1, 3.0.2, 3.0.3 > Environment: - Windows 7 64 bit > - Java 1.7.0_67 > Reporter: Johannes > Assignee: Jamie goodyear > Fix For: 3.0.4 > > > download the Karaf 3.0.3 distribution: > http://karaf.apache.org/index/community/download.html#Karaf3.0.3 > and add the following property+value: > karaf.lock.level=50 to the system.properties > starting Karaf results in the following error: > org.apache.karaf.main.Main launch > Installing and starting initial bundles > org.apache.karaf.main.Main main > Could not launch framework > java.lang.RuntimeException: Error installing bundle listed in startup.properties with url: mvn:org.ops4j.pax.url/pax-url-aether/2.3.0 and startlevel: 5 > at org.apache.karaf.main.Main.installAndStartBundles(Main.java:392) > at org.apache.karaf.main.Main.launch(Main.java:245) > at org.apache.karaf.main.Main.main(Main.java:167) > Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.ops4j.pax.url.mvn [1]: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j)(version>=1.6.0)(!(version>=2.0.0))) > at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) > at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) > at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) > at org.apache.karaf.main.Main.installAndStartBundles(Main.java:389) > ... 2 more > - Works with Karaf 2.3.3. > The same happens when configuring any Failover-Mechanism and adding karaf.lock.level=50 described here: > http://karaf.apache.org/manual/latest/users-guide/failover.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)