[ https://issues.apache.org/jira/browse/ARIES-913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominik Przybysz closed ARIES-913. ---------------------------------- Resolution: Won't Do Application module is deprecated and removed from the main repository > Deterministic handling order of application context bundles > ----------------------------------------------------------- > > Key: ARIES-913 > URL: https://issues.apache.org/jira/browse/ARIES-913 > Project: Aries > Issue Type: Improvement > Components: Application > Reporter: Tuomas Kiviaho > Priority: Major > > Currently ApplicationManagerImpl uses hash sets/maps to preserve and provide > bundles which effectively loses the order in which they were originally > described in APPLICATION.MF. > The order is also important in following scenario where several bundles > override stdout one after the other. > app context start > start gogo # Preserves orginal state of system out > start sysout-over-slf4j # Preserves gogo's system out > app context stop > stop gogo # Reverts system out back to original state > stop sysout-over-slf4j # Reverts system out back to gogo's system out > Here the stdout is left pointing into already stopped bundle causing all kind > of problems. The situation can be improved by applying uninstall and stop in > reverse order compared to install and start which guarantees that at least > behaviour of an individual application context is consistent. -- This message was sent by Atlassian Jira (v8.20.10#820010)