Installing and Starting up bundle at startup

2013-10-16 Thread omkar.chogale
Hi, I want to add my own bundle into karaf and make it up the moment karaf starts. It just contains xml to specify LDAP as realm to be used. Actually I want to configure karaf to use LDAP realm without putting blueprint xml into deploy folder. Is there any other way to do this? Could someone

Re: Installing and Starting up bundle at startup

2013-10-16 Thread Freeman Fang
Hi, You can define a customer feature which refer your LDAP blueprint configuration file and then add this feature in etc/org.apache.karaf.features.cfg featuresBoot property, your customer feature would be like feature name=my-ldap-feature version=1.0.0 resolver=(obr) start-level='50'

Re: KAR file delete causes Exceptions

2013-10-16 Thread rodgersh
Seeing this exception would be normal if the KAR's features file had features in it with the install attribute set to manual (or anything other than auto), e.g., feature install=manual Then when the KAR is loaded it would not install the features marked as manual. So when you delete the KAR file,

Re: Blueprint XML Never Starts

2013-10-16 Thread Kevin Carr
I am still seeing a problem with deployed Blueprint XML files. They do not start for about 15+ minutes, then they work. Everything is in the environment for these to work. They use BoneCP and a configuration tool that I wrote, but they are started directly from blueprint files in the deploy is

Re: Blueprint XML Never Starts

2013-10-16 Thread Kevin Carr
Here is a sample of the logs, this shows up for the past 10 minutes on the server: I have tried it on 2.3.3 as well, with the same result. Eventually, it will work. 2013-10-16 13:55:50,666 | INFO | raf-2.3.2/deploy | fileinstall | ? ? | 6

Re: Blueprint XML Never Starts

2013-10-16 Thread Kevin Carr
It appears that the 2 files start correctly after one of the bundles that use the service times out. Which seems to take about 15 minutes. I have tried setting the bundle-level for the config and datasource to 40, and it still fails the same way. Thanks On Wed, Oct 16, 2013 at 1:57 PM, Kevin