When running Karaf in Master/Slave mode, the method getDefaultHandler() in class org.apache.karaf.main.BootstrapLogManager is being invoked twice, one time in org.apache.karaf.main.Main and another one in the lock file class (SimpleFileLock or DefaultJDBCLock), but the object instance of the Handler class is created without closing the previous one.
I have created a patch which completes the singleton pattern, returning the previous handler if the instance is not null. The patch has been created against the trunk, but you can apply it to branch karaf-2.2.x.
|Fix Version/s||3.0.0 [ 12316040 ]|
|Fix Version/s||cave-3.0.0 [ 12317874 ]|
|Affects Version/s||3.0.0 [ 12316040 ]|
|Affects Version/s||cave-3.0.0 [ 12317874 ]|
|Assignee||Andreas Pieber [ pieber ]|
|Fix Version/s||2.2.6 [ 12319142 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|15m 51s||1||Andreas Pieber||30/Nov/11 08:11|
|23h 59m||1||Andreas Pieber||01/Dec/11 08:10|