karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3514) RuntimeException when setting system.properties --> karaf.lock.level to a value greater 4 and starting Karaf
Date Thu, 09 Apr 2015 14:28:12 GMT

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

Jamie goodyear commented on KARAF-3514:
---------------------------------------

When i reorganize, and update the startup properties to the below, Karaf will boot up as expected.
I'm in the process now of updating the various files required to have the below generated
at build time.

{code}
mvn\:log4j/log4j/1.2.17 = 3
mvn\:org.slf4j/slf4j-log4j12/1.7.7 = 4
mvn\:org.slf4j/slf4j-api/1.7.7 = 4
mvn\:org.ops4j.pax.url/pax-url-aether/2.4.0 = 5
mvn\:org.ops4j.pax.url/pax-url-wrap/2.4.0/jar/uber = 5
mvn\:org.apache.felix/org.apache.felix.configadmin/1.8.2 = 7
mvn\:org.ops4j.pax.logging/pax-logging-api/1.8.2 = 8
mvn\:org.ops4j.pax.logging/pax-logging-service/1.8.2 = 8
mvn\:org.apache.aries/org.apache.aries.util/1.1.0 = 9
mvn\:org.apache.aries.proxy/org.apache.aries.proxy.api/1.0.1 = 9
mvn\:org.apache.aries.proxy/org.apache.aries.proxy.impl/1.0.4 = 9
mvn\:org.apache.karaf.service/org.apache.karaf.service.guard/3.0.4-SNAPSHOT = 10
mvn\:org.apache.felix/org.apache.felix.fileinstall/3.4.2 = 11
mvn\:org.ow2.asm/asm-all/5.0.3 = 12
mvn\:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1 = 20
mvn\:org.apache.aries.blueprint/org.apache.aries.blueprint.core.compatibility/1.0.0 = 20
mvn\:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.4.3 = 20
mvn\:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.0.6 = 20
mvn\:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/3.0.4-SNAPSHOT = 24
mvn\:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/3.0.4-SNAPSHOT = 24
mvn\:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/3.0.4-SNAPSHOT = 24
mvn\:org.apache.karaf.region/org.apache.karaf.region.core/3.0.4-SNAPSHOT = 25
mvn\:org.apache.karaf.features/org.apache.karaf.features.core/3.0.4-SNAPSHOT = 25
mvn\:org.apache.karaf.deployer/org.apache.karaf.deployer.features/3.0.4-SNAPSHOT = 26
mvn\:jline/jline/2.12.1 = 30
mvn\:org.jledit/core/0.2.1 = 30
mvn\:org.apache.karaf.shell/org.apache.karaf.shell.console/3.0.4-SNAPSHOT = 30
mvn\:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/3.0.4-SNAPSHOT = 30
mvn\:org.apache.karaf.jaas/org.apache.karaf.jaas.config/3.0.4-SNAPSHOT = 30
mvn\:org.apache.sshd/sshd-core/0.13.0 = 30
mvn\:org.apache.karaf.bundle/org.apache.karaf.bundle.core/3.0.4-SNAPSHOT = 30
mvn\:org.apache.karaf.system/org.apache.karaf.system.core/3.0.4-SNAPSHOT = 30
mvn\:org.apache.karaf.system/org.apache.karaf.system.command/3.0.4-SNAPSHOT = 30
mvn\:org.apache.aries.quiesce/org.apache.aries.quiesce.api/1.0.0 = 30
mvn\:org.apache.karaf.shell/org.apache.karaf.shell.table/3.0.4-SNAPSHOT = 30
mvn\:org.apache.karaf.features/org.apache.karaf.features.command/3.0.4-SNAPSHOT = 30
mvn\:org.apache.karaf.bundle/org.apache.karaf.bundle.command/3.0.4-SNAPSHOT = 30
mvn\:org.apache.karaf.shell/org.apache.karaf.shell.help/3.0.4-SNAPSHOT = 30
mvn\:org.apache.karaf.shell/org.apache.karaf.shell.commands/3.0.4-SNAPSHOT = 30
{code}

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

Mime
View raw message