Project

General

Profile

Some warnings when enable Clustering on Tigase 7.2.0-SNAPSHOT servers?

Added by Wei Sun 8 days ago

My exactly version of tigase-server is 9908af23d8ab8f7b186a5b52fed11d922944e24e.
my init.properties file contain the following:

--cluster-mode = true

When I restart the tigase-server, lots of warnings will appear in tigase-console.log:
warning1:

2017-09-12 20:02:40.447 [main]             Kernel.injectDependencies()        WARNING:  Could not initialize bean presenceCollectorModule, skipping injection of this bean
tigase.kernel.KernelException: Can't inject <null> to field tigase.pubsub.modules.PresenceCollectorModule.capsModule
        at tigase.kernel.core.Kernel.inject(Kernel.java:477)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:571)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:144)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:537)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:703)
        at tigase.kernel.core.Kernel$DelayedDependenciesInjection.inject(Kernel.java:1305)
        at tigase.kernel.core.Kernel.finishDependecyDelayedInjection(Kernel.java:984)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:140)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:537)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:144)
        at tigase.kernel.core.Kernel.getInstance(Kernel.java:357)
        at tigase.server.Bootstrap.start(Bootstrap.java:107)
        at tigase.server.XMPPServer.start(XMPPServer.java:130)
        at tigase.server.XMPPServer.main(XMPPServer.java:111)

warning2:

2017-09-12 20:02:40.450 [main]             Kernel.injectDependencies()        WARNING:  Could not initialize bean manageAffiliationsModule, skipping injection of this bean
tigase.kernel.KernelException: Can't inject <null> to field tigase.pubsub.AbstractPubSubModule.repository
        at tigase.kernel.core.Kernel.inject(Kernel.java:477)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:571)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:144)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:537)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:703)
        at tigase.kernel.core.Kernel$DelayedDependenciesInjection.inject(Kernel.java:1305)
        at tigase.kernel.core.Kernel.finishDependecyDelayedInjection(Kernel.java:984)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:140)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:537)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:144)
        at tigase.kernel.core.Kernel.getInstance(Kernel.java:357)
        at tigase.server.Bootstrap.start(Bootstrap.java:107)
        at tigase.server.XMPPServer.start(XMPPServer.java:130)
        at tigase.server.XMPPServer.main(XMPPServer.java:111)

warning3:

2017-09-12 19:56:41.993 [stats-cache]      StatisticsProvider$StatisticsCache$1.run()  WARNING: Problem retrieving statistics: 
tigase.kernel.KernelException: Can't find bean implementing interface tigase.pubsub.repository.IPubSubRepository
        at tigase.kernel.core.Kernel.getInstance(Kernel.java:317)
        at tigase.kernel.core.Kernel.getInstance(Kernel.java:313)
        at tigase.kernel.core.Kernel.getInstance(Kernel.java:302)
        at tigase.pubsub.PubSubComponent.getStatistics(PubSubComponent.java:143)
        at tigase.stats.StatisticsCollector.getComponentStats(StatisticsCollector.java:375)
        at tigase.stats.StatisticsCollector.getAllStats(StatisticsCollector.java:351)
        at tigase.stats.StatisticsProvider$StatisticsCache.update(StatisticsProvider.java:711)
        at tigase.stats.StatisticsProvider$StatisticsCache.access$3500(StatisticsProvider.java:571)
        at tigase.stats.StatisticsProvider$StatisticsCache$1.run(StatisticsProvider.java:670)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)

and so on.

Does it matter? How to solve the problems? thanks


Replies (1)

RE: Some warnings when enable Clustering on Tigase 7.2.0-SNAPSHOT servers? - Added by Wojciech Kapcia 7 days ago

Wei Sun wrote:

My exactly version of tigase-server is 9908af23d8ab8f7b186a5b52fed11d922944e24e.
my init.properties file contain the following:

Providing complete configuration would be very helpful.

Does it matter? How to solve the problems? thanks

It looks like you are using some sort of custom build (vide commit details) - please:
  • verify that your config works with binaries provided by us;
  • verify that your custom build has all required dependencies.
    (1-1/1)