Community
Participate
Working Groups
As described in bug #326053#c5 DefaultHostContainerFinder shows inconsistent behavior WRT to container instantiation. If "service.exported.configs" is null, it creates a (default) container for the first service registered. For a second service registered however, it fails to match config types and subsequently tries to create a second container. This causes a container exception in turn due to a port conflict. Possible solutions are: a) Fix AbstractHostContainerFinder.matchExistingHostContainer so that the second service reuses the existing container b) Add a condition to line 44 in DefaultHostContainerFinder.findHostContainers(ServiceReference, String[], String[], String[]) that checks for "service.exported.configs" == null
Going to implement a) as part of bug #326053. Closing this one as WONTFIX.