karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-474) Problems with custom.properties
Date Wed, 17 Sep 2014 08:58:34 GMT

     [ https://issues.apache.org/jira/browse/KARAF-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-474:
---------------------------------------
    Fix Version/s:     (was: 3.0.3)
                       (was: 4.0.0)

> Problems with custom.properties
> -------------------------------
>
>                 Key: KARAF-474
>                 URL: https://issues.apache.org/jira/browse/KARAF-474
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.1.3
>            Reporter: Bengt Rodehav
>
> I have troubles getting custom.properties to work. Two questions:
> 1. Can I specify additional system properties somewhere? Or perhaps an additional location
(except for system.properties) where I can put my custom system.properties without having
to modify system.propereties?
> 2. I'm trying to add cglib as a bundle to start initially without modifying startup.properties.
I then created a custom.properties file where I put the following line:
> karaf.auto.start.40=org/apache/servicemix/bundles/org.apache.servicemix.bundles.cglib/2.1_3_4/org.apache.servicemix.bundles.cglib-2.1_3_4.jar
> But it doesn't work. On startup I get the following error message:
> Error installing bundle  org/apache/servicemix/bundles/org.apache.servicemix.bun
> dles.cglib/2.1_3_4/org.apache.servicemix.bundles.cglib-2.1_3_4.jar: java.lang.Ar
> rayIndexOutOfBoundsException: 1
> Also, the custom.properties that comes with Karaf is not empty. It contains the following
line:
> karaf.systemBundlesStartLevel=50
> If this is a default, then it shouldn't be in custom.properties. I think custom.properties
should be empty in the Karaf distribution. In fact one can argue that the file shouldn't be
included at all in the distribution and that it should be created if any customisation is
needed.
> This was discussed in the following thread:
> http://mail-archives.apache.org/mod_mbox/karaf-user/201102.mbox/browser
> It started on the user list but continued on the dev list, here:
> http://mail-archives.apache.org/mod_mbox/karaf-dev/201102.mbox/browser



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message