Closed ghost closed 10 years ago
The reason is that the registering thread is waiting in SiteDispatcherServiceImpl.addSite() and that Thread is not a Daemon thread when it comes from the OSGi activator.
Daemon Thread Thread-26 (out of synch) waiting for: SiteManager (id=69) SiteManager.removeSite(Site) line: 388 (out of synch) SiteManager$SiteTracker$2.run() line: 592 (out of synch) Thread.run() line: 695 [local variables unavailable]
Daemon Thread Thread-24 (out of synch)
owns: SiteManager (id=69)
owns: ArrayList
Daemon Thread CM Configuration Updater (Update: pid=ch.entwine.weblounge.contentrepository.factory.ea7a5ad6-060a-46c0-b1c3-dbe6bcdebc75) (out of synch)
waiting for: SiteManager (id=69)
SiteManager.addContentRepository(String, ContentRepository) line: 445 (out of synch)
SiteManager$ContentRepositoryTracker.addingService(ServiceReference) line: 650 (out of synch)
ServiceTracker$Tracked.customizerAdding(ServiceReference, ServiceEvent) line: 932
ServiceTracker$Tracked.customizerAdding(Object, Object) line: 864
ServiceTracker$Tracked(AbstractTracked<S,T,R>).trackAdding(S, R) line: 256
ServiceTracker$Tracked(AbstractTracked<S,T,R>).track(S, R) line: 229
ServiceTracker$Tracked.serviceChanged(ServiceEvent) line: 894
EventDispatcher.invokeServiceListenerCallback(Bundle, EventListener, Filter, Object, EventObject, Dictionary) line: 932
EventDispatcher.fireEventImmediately(EventDispatcher, int, Map<BundleContext,List
Daemon Thread FelixStartLevel (out of synch)
waiting for: ArrayList
This has been fixed under ticket #319
While a site is started and waits for its HTTP servlet to come online, Weblounge won't react properly to shutdown requests.