It seems to be an issue with threads being started during the initialization
process. My activate function is called (I have put debug statements inside,
used breakpoints, etc), and stops on the thread starting call. It has the
same behavior even if it is a standard service being started as a bundle
activator and I place the thread creation in the start() method. I haven¹t
had any issues with threads starting in other places during the OSGi
lifecycle, only during startup. I can confirm that the issue is only while
running through an IDE, as mentioned by Patrick. The thread starts up fine
while run from the command line. Any ideas why Felix would have issues
running within an IDE (I¹m using IntelliJ IDEA, but it apparently has
problems with Eclipse as well)? I am running by having the IDE call
felix.main.Main as its main class, and pass a config.properties file as a VM
parameter to start my bundles.

Thanks,
Matt

Reply via email to