Hi,

Which org.apache.karaf.features.cfg you are editing?

It should be $KARAF_HOME/etc/org.apache.karaf.features.cfg
edit this file and add your featureUrl and featureBoot there should work

this
felix.fileinstall.filename = 
file:/etc/karaf-foo-pipeline/org.apache.karaf.features.cfg

indicate you change the default file location, right?

-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-4-8, at 下午9:09, Graham Leggett wrote:

> Hi all,
> 
> I am still having problems getting karaf to automatically install and start 
> an application when karaf starts up.
> 
> Using config:list it shows my org.apache.karaf.features.cfg file being parsed 
> as follows, and this is all correct from what I can see:
> 
> ----------------------------------------------------------------
> Pid:            org.apache.karaf.features
> BundleLocation: null
> Properties:
>   service.pid = org.apache.karaf.features
>   featuresBoot = config,ssh,management,kar,war,webconsole,foo-pipeline
>   respectStartLvlDuringFeatureStartup = false
>   felix.fileinstall.filename = 
> file:/etc/karaf-foo-pipeline/org.apache.karaf.features.cfg
>   featuresRepositories = 
> mvn:org.apache.karaf.assemblies.features/standard/2.3.1/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/2.3.1/xml/features,mvn:org.apache.cxf.karaf/apache-cxf/2.6.3/xml/features,mvn:com.foo/foo-pipeline-features/3.0.0-SNAPSHOT/xml/features,mvn:com.foo/foo-pipeline/3.0.0-SNAPSHOT/xml
> 
> However when I run "features:listrepositories", I only see the following, I 
> expect to see some kind of reference to foo-pipeline, but instead I get this:
> 
> karaf@root> features:listrepositories 
> Repository              
> karaf-2.3.1             
> karaf-enterprise-2.3.1  
> 
> When I run "features:list", there is no mention of "foo-pipeline" at all.
> 
> Can anyone point out what step I am missing?
> 
> To be clear, I am trying to configure the system so that it is repeatable, in 
> other words if we deploy the same configuration to another server that other 
> server will just work without any manual fiddling around, so running commands 
> in the shell won't do. I need to make edits to the karaf configuration files 
> instead.
> 
> Regards,
> Graham
> --
> 

Reply via email to