Yeah, there is a flag you can set. We use it for karaf. Just add the following: felix.fileinstall.noInitialDelay = true
This mostly works for the default configuration. In that case, fileinstall will perform the first poll synchronously while the bundle is starting. On Sat, Feb 20, 2010 at 00:24, steve.foster <[email protected]> wrote: > > Hello All, > > Just wondering if there is a way to get the File Install bundle to do an > initial poll during it's startup, instead of waiting for the delay before it > starts polling? > > Basically what I'm after is using the File Install to configure PAX logging > via the config file. It works currently, but the issue is I would like it to > load the logging config before it moves to the next run level. So PAX will > already have the configuration in place when other bundles startup, so the > other bundles don't spam the console with debug messages. > > I can simulate it by setting the poll interval to something very small, but > that really isn't the solution. > > Any ideas? Maybe there is a better way to go about this? > > Thanks! > -- > View this message in context: > http://old.nabble.com/Felix-File-Install---Immediately-poll-on-startup-tp27661788p27661788.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

