Projects tigase _server server-core Issues #1150
Version checking is called needlessly during shutdown (#1150)
wojciech.kapcia@tigase.net opened 5 years ago
Affected versions
tigase-issue #8.1.0

When fixing #issue #1148 i ran into a problem that repository version check was called needlessly during shutdown. It seems that during shutdown some beans are injected again even if they shouldn't.

ShutdownThread started... 2020-05-21T12:51:49.048830

Total number of threads: 1164
No locked threads.

Save thread-dump to file: logs/thread-dump.log, size: 584521
data source changed fired, bean: tigase.db.beans.DataSourceBean@bf75b5c, domain: default, old: tigase.db.DataRepositoryPool@20d33ea, new: tigase.db.DataRepositoryPool@20d33ea

 ST:
java.lang.Exception
	at tigase.db.beans.DataSourceBean$DataSourceChangedEvent.<init>(DataSourceBean.java:209)
	at tigase.db.beans.DataSourceBean.addRepo(DataSourceBean.java:96)
	at tigase.db.beans.DataSourceBean.addRepo(DataSourceBean.java:53)
	at tigase.db.beans.MDPoolConfigBean.setRepository(MDPoolConfigBean.java:259)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1431)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:792)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:623)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:589)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1447)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:628)
	at tigase.kernel.core.Kernel.shutdown(Kernel.java:680)
	at tigase.server.Bootstrap.stop(Bootstrap.java:365)
	at tigase.server.Bootstrap$BootstrapShutdownHook.shutdown(Bootstrap.java:390)
	at tigase.server.monitor.MonitorRuntime$ShutdownHandlerThread.run(MonitorRuntime.java:318)

datasource: tigase.muc.repository.JDBCMucDAO@489e98ba
datasource: tigase.muc.history.JDBCHistoryProvider@559795e
[pool-1-thread-22-1262] Checking version[1], datasource-ID: muc, datasourceClass: class tigase.muc.repository.JDBCMucDAO,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



[pool-1-thread-19-1259] Checking version[1], datasource-ID: muc, datasourceClass: class tigase.muc.history.JDBCHistoryProvider,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



datasource: tigase.server.amp.db.JDBCMsgBroadcastRepository@16e255c4
[pool-1-thread-23-1263] Checking version[1], datasource-ID: server, datasourceClass: class tigase.server.amp.db.JDBCMsgBroadcastRepository,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



datasource: tigase.archive.db.JDBCMessageArchiveRepository@641e495c
[pool-1-thread-25-1265] Checking version[1], datasource-ID: message-archiving, datasourceClass: class tigase.archive.db.JDBCMessageArchiveRepository,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



data source changed fired, bean: tigase.db.beans.DataSourceBean@bf75b5c, domain: default, old: tigase.db.DataRepositoryPool@20d33ea, new: tigase.db.DataRepositoryPool@20d33ea

 ST:
java.lang.Exception
	at tigase.db.beans.DataSourceBean$DataSourceChangedEvent.<init>(DataSourceBean.java:209)
	at tigase.db.beans.DataSourceBean.addRepo(DataSourceBean.java:96)
	at tigase.db.beans.DataSourceBean.addRepo(DataSourceBean.java:53)
	at tigase.db.beans.MDPoolConfigBean.setRepository(MDPoolConfigBean.java:259)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1431)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:792)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:623)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:589)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1447)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:628)
	at tigase.kernel.core.Kernel.shutdown(Kernel.java:680)
	at tigase.server.Bootstrap.stop(Bootstrap.java:365)
	at tigase.server.Bootstrap$BootstrapShutdownHook.shutdown(Bootstrap.java:390)
	at tigase.server.monitor.MonitorRuntime$ShutdownHandlerThread.run(MonitorRuntime.java:318)

datasource: tigase.muc.history.JDBCHistoryProvider@4a2336ee
datasource: tigase.muc.repository.JDBCMucDAO@3d052eae
[pool-1-thread-5-550] Checking version[1], datasource-ID: muc, datasourceClass: class tigase.muc.repository.JDBCMucDAO,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



[pool-1-thread-2-547] Checking version[1], datasource-ID: muc, datasourceClass: class tigase.muc.history.JDBCHistoryProvider,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



datasource: tigase.server.amp.db.JDBCMsgBroadcastRepository@724b2f5b
[pool-1-thread-3-548] Checking version[1], datasource-ID: server, datasourceClass: class tigase.server.amp.db.JDBCMsgBroadcastRepository,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



datasource: tigase.archive.db.JDBCMessageArchiveRepository@5d361bd6
[pool-1-thread-6-553] Checking version[1], datasource-ID: message-archiving, datasourceClass: class tigase.archive.db.JDBCMessageArchiveRepository,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



data source changed fired, bean: tigase.db.beans.DataSourceBean@bf75b5c, domain: default, old: tigase.db.DataRepositoryPool@20d33ea, new: tigase.db.DataRepositoryPool@20d33ea

 ST:
java.lang.Exception
	at tigase.db.beans.DataSourceBean$DataSourceChangedEvent.<init>(DataSourceBean.java:209)
	at tigase.db.beans.DataSourceBean.addRepo(DataSourceBean.java:96)
	at tigase.db.beans.DataSourceBean.addRepo(DataSourceBean.java:53)
	at tigase.db.beans.MDPoolConfigBean.setRepository(MDPoolConfigBean.java:259)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1431)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:792)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:623)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:589)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1447)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:628)
	at tigase.kernel.core.Kernel.shutdown(Kernel.java:680)
	at tigase.server.Bootstrap.stop(Bootstrap.java:365)
	at tigase.server.Bootstrap$BootstrapShutdownHook.shutdown(Bootstrap.java:390)
	at tigase.server.monitor.MonitorRuntime$ShutdownHandlerThread.run(MonitorRuntime.java:318)

datasource: tigase.server.amp.db.JDBCMsgBroadcastRepository@3bd87856
[pool-1-thread-21-1261] Checking version[1], datasource-ID: server, datasourceClass: class tigase.server.amp.db.JDBCMsgBroadcastRepository,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



datasource: tigase.muc.repository.JDBCMucDAO@1ac4bfb6
datasource: tigase.muc.history.JDBCHistoryProvider@602df44c
[pool-1-thread-20-1260] Checking version[1], datasource-ID: muc, datasourceClass: class tigase.muc.repository.JDBCMucDAO,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



[pool-1-thread-16-1249] Checking version[1], datasource-ID: muc, datasourceClass: class tigase.muc.history.JDBCHistoryProvider,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



datasource: tigase.archive.db.JDBCMessageArchiveRepository@586b978a
[pool-1-thread-8-702] Checking version[1], datasource-ID: message-archiving, datasourceClass: class tigase.archive.db.JDBCMessageArchiveRepository,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



data source changed fired, bean: tigase.db.beans.DataSourceBean@bf75b5c, domain: default, old: tigase.db.DataRepositoryPool@20d33ea, new: tigase.db.DataRepositoryPool@20d33ea

 ST:
java.lang.Exception
	at tigase.db.beans.DataSourceBean$DataSourceChangedEvent.<init>(DataSourceBean.java:209)
	at tigase.db.beans.DataSourceBean.addRepo(DataSourceBean.java:96)
	at tigase.db.beans.DataSourceBean.addRepo(DataSourceBean.java:53)
	at tigase.db.beans.MDPoolConfigBean.setRepository(MDPoolConfigBean.java:259)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1431)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:792)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:623)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:589)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1447)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:628)
	at tigase.kernel.core.Kernel.shutdown(Kernel.java:680)
	at tigase.server.Bootstrap.stop(Bootstrap.java:365)
	at tigase.server.Bootstrap$BootstrapShutdownHook.shutdown(Bootstrap.java:390)
	at tigase.server.monitor.MonitorRuntime$ShutdownHandlerThread.run(MonitorRuntime.java:318)

datasource: tigase.server.amp.db.JDBCMsgBroadcastRepository@7e69e093
datasource: tigase.muc.repository.JDBCMucDAO@2bc1db42
[pool-1-thread-9-703] Checking version[1], datasource-ID: server, datasourceClass: class tigase.server.amp.db.JDBCMsgBroadcastRepository,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at jdk.internal.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



[pool-1-thread-15-1174] Checking version[1], datasource-ID: muc, datasourceClass: class tigase.muc.repository.JDBCMucDAO,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at jdk.internal.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



datasource: tigase.archive.db.JDBCMessageArchiveRepository@77983c7e
datasource: tigase.muc.history.JDBCHistoryProvider@3377fc21
[pool-1-thread-7-558] Checking version[1], datasource-ID: message-archiving, datasourceClass: class tigase.archive.db.JDBCMessageArchiveRepository,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at jdk.internal.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



[pool-1-thread-18-1256] Checking version[1], datasource-ID: muc, datasourceClass: class tigase.muc.history.JDBCHistoryProvider,

 ST:
java.lang.Exception
	at tigase.db.DataSource.checkSchemaVersion(DataSource.java:88)
	at tigase.db.DataRepositoryPool.checkSchemaVersion(DataRepositoryPool.java:107)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.setDataSourceAware(MDRepositoryBean.java:295)
	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.injectDependency(Kernel.java:866)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:880)
	at tigase.kernel.core.Kernel.registerBean(Kernel.java:1101)
	at tigase.kernel.core.BeanConfigBuilder.execWithoutInject(BeanConfigBuilder.java:112)
	at tigase.kernel.core.BeanConfigBuilder.exec(BeanConfigBuilder.java:99)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.beanConfigurationChanged(MDRepositoryBean.java:272)
	at tigase.db.beans.MDRepositoryBean$MDRepositoryConfigBean.onDataSourceChange(MDRepositoryBean.java:361)
	at jdk.internal.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:306)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)



data source changed fired, bean: tigase.db.beans.DataSourceBean@bf75b5c, domain: default, old: tigase.db.DataRepositoryPool@20d33ea, new: null

 ST:
java.lang.Exception
	at tigase.db.beans.DataSourceBean$DataSourceChangedEvent.<init>(DataSourceBean.java:209)
	at tigase.db.beans.DataSourceBean.removeRepo(DataSourceBean.java:109)
	at tigase.db.beans.DataSourceBean.removeRepo(DataSourceBean.java:53)
	at tigase.db.beans.MDPoolConfigBean.setRepository(MDPoolConfigBean.java:261)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1431)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:753)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:623)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:589)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1447)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:628)
	at tigase.kernel.core.Kernel.shutdown(Kernel.java:680)
	at tigase.server.Bootstrap.stop(Bootstrap.java:365)
	at tigase.server.Bootstrap$BootstrapShutdownHook.shutdown(Bootstrap.java:390)
	at tigase.server.monitor.MonitorRuntime$ShutdownHandlerThread.run(MonitorRuntime.java:318)

data source changed fired, bean: tigase.db.beans.DataSourceBean@bf75b5c, domain: default, old: null, new: null

 ST:
java.lang.Exception
	at tigase.db.beans.DataSourceBean$DataSourceChangedEvent.<init>(DataSourceBean.java:209)
	at tigase.db.beans.DataSourceBean.removeRepo(DataSourceBean.java:109)
	at tigase.db.beans.DataSourceBean.removeRepo(DataSourceBean.java:53)
	at tigase.db.beans.MDPoolConfigBean.setRepository(MDPoolConfigBean.java:261)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1431)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:792)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:623)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:589)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1447)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:628)
	at tigase.kernel.core.Kernel.shutdown(Kernel.java:680)
	at tigase.server.Bootstrap.stop(Bootstrap.java:365)
	at tigase.server.Bootstrap$BootstrapShutdownHook.shutdown(Bootstrap.java:390)
	at tigase.server.monitor.MonitorRuntime$ShutdownHandlerThread.run(MonitorRuntime.java:318)

data source changed fired, bean: tigase.db.beans.DataSourceBean@bf75b5c, domain: default, old: null, new: null

 ST:
java.lang.Exception
	at tigase.db.beans.DataSourceBean$DataSourceChangedEvent.<init>(DataSourceBean.java:209)
	at tigase.db.beans.DataSourceBean.removeRepo(DataSourceBean.java:109)
	at tigase.db.beans.DataSourceBean.removeRepo(DataSourceBean.java:53)
	at tigase.db.beans.MDPoolConfigBean.setRepository(MDPoolConfigBean.java:261)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at tigase.kernel.BeanUtils.setValue(BeanUtils.java:172)
	at tigase.kernel.core.Kernel.inject(Kernel.java:1229)
	at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1315)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1431)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:792)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
	at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
	at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
	at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:623)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:589)
	at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1447)
	at tigase.kernel.core.Kernel.setBeanActive(Kernel.java:628)
	at tigase.kernel.core.Kernel.shutdown(Kernel.java:680)
	at tigase.server.Bootstrap.stop(Bootstrap.java:365)
	at tigase.server.Bootstrap$BootstrapShutdownHook.shutdown(Bootstrap.java:390)
	at tigase.server.monitor.MonitorRuntime$ShutdownHandlerThread.run(MonitorRuntime.java:318)

STOPPED Thu May 21 12:51:59 -04 2020

Andrzej Wójcik (Tigase) commented 4 years ago

I've disabled setting value (injecting) dependencies on shutdown. That will fix the issue and speed up shutdown.

Andrzej Wójcik (Tigase) commented 4 years ago

If needed this can be cherrypicked to 8.1.0 as the code is the same.

wojciech.kapcia@tigase.net commented 4 years ago

Tested, indeed seems to be snappier.

Let's keep 8.1.x for major bugfixs only.

issue 1 of 1
Type
Bug
Priority
If you are bored
Assignee
Version
Candidate for next minor release
Spent time
1h 15m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1150
Please wait...
Page is in error, reload to recover