karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3514) RuntimeException when setting system.properties --> karaf.lock.level to a value greater 4
Date Tue, 10 Feb 2015 13:20:11 GMT
Johannes created KARAF-3514:

             Summary: RuntimeException when setting system.properties -->  karaf.lock.level
to a value greater 4 
                 Key: KARAF-3514
                 URL: https://issues.apache.org/jira/browse/KARAF-3514
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 3.0.3
         Environment: - Windows 7 64 bit
- Java  1.7.0_67 
            Reporter: Johannes

download the Karaf 3.0.3 distribution:
and add the following property+value:

karaf.lock.level=50 to the system.properties

this 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

This message was sent by Atlassian JIRA

View raw message