karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bengt Rodehav (JIRA)" <j...@apache.org>
Subject [jira] Created: (KARAF-474) Problems with custom.properties
Date Sun, 20 Feb 2011 21:40:38 GMT
Problems with custom.properties

                 Key: KARAF-474
                 URL: https://issues.apache.org/jira/browse/KARAF-474
             Project: Karaf
          Issue Type: Bug
          Components: runtime
    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:


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


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

This was discussed in the following thread:


It started on the user list but continued on the dev list, here:


This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message