[
https://issues.apache.org/jira/browse/KARAF-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Pieber updated KARAF-474:
---------------------------------
Fix Version/s: 3.0.1
> 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
> Assignee: Jean-Baptiste Onofré
> Fix For: 3.0.1, 3.1.0
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira