Projects tigase _server server-core Issues #837
Kernel.injectDependencies() WARNING: Could not initialize bean ownerModule (class: class tigase.muc.modules.RoomConfigurationModule), skipping injection of this bean (#837)
来恩 周 opened 7 years ago
Due Date
2017-06-05

componentInfo{Class=tigase.xml.XMLUtils}

componentInfo{Class=tigase.util.ClassUtil}

componentInfo{Class=tigase.server.XMPPServer}

2017-06-05 16:46:26.800 [main] ConfiguratorAbstract.parseArgs() CONFIG: Setting defaults: --property-file = etc/init.properties

2017-06-05 16:46:26.995 [main] ConfigHolder.loadConfiguration() CONFIG: Loaded configuration:

--debug = server

--test = true

--vhost-anonymous-enabled = false

--vhost-register-enabled = true

--vhost-tls-required = false

--virt-hosts = localhost

admins = [ 'admin@localhost' ]

'config-type' = '--gen-config-def'

dataSource (class: tigase.db.beans.DataSourceBean,

exportable: true) {

default (class: tigase.db.beans.DataSourceBean.DataSourceMDConfigBean) {

    'repo-class' = 'tigase.mongodb.MongoDataSource'

    'repo-uri' = 'mongodb://root:123456@127.0.0.1:27017/qqt_im_db?authSource=qqt_im_db'

    instance (class: tigase.mongodb.MongoDataSource) {}

}

}

userRepository (class: tigase.db.beans.UserRepositoryMDPoolBean,

exportable: true) {

userRepositoryConfigBean (class: tigase.db.beans.UserRepositoryMDPoolBean.UserRepositoryConfigBean) {

    'repo-class' = 'tigase.mongodb.MongoRepository'

    'repo-uri' = 'mongodb://root:123456@127.0.0.1:27017/qqt_im_db?authSource=qqt_im_db'

    instance (class: tigase.mongodb.MongoRepository) {}

}

}

authRepository (class: tigase.db.beans.AuthRepositoryMDPoolBean,

exportable: true) {

authRepositoryConfigBean (class: tigase.db.beans.AuthRepositoryMDPoolBean.AuthRepositoryConfigBean) {

    'data-source' = 'dataSource'

    'repo-class' = 'tigase.mongodb.MongoRepository'

    'repo-uri' = 'mongodb://root:123456@127.0.0.1:27017/qqt_im_db?authSource=qqt_im_db'

    instance (class: tigase.mongodb.MongoRepository) {}

}

}

'message-archive' (class: tigase.archive.MessageArchiveComponent) {

repositoryPool (class: tigase.archive.db.MessageArchiveRepositoryPool) {

    default (class: tigase.archive.db.MessageArchiveRepositoryPool.MessageArchiveRepositoryConfigBean) {

        name = 'messageArchiveRepo'

        'repo-class' = 'tigase.mongodb.archive.MongoMessageArchiveRepository'

        instance (class: tigase.mongodb.archive.MongoMessageArchiveRepository) {}

    }

}

}

muc (class: tigase.muc.MUCComponent) {

admin (class: tigase.muc.modules.ModeratorModule3) {}

disco (class: tigase.muc.modules.DiscoveryModule3) {}

groupchat (class: tigase.muc.modules.GroupchatMessageModule4) {}

historyProviderPool (class: tigase.muc.history.HistoryProviderMDBean) {

    default (class: tigase.muc.history.HistoryProviderMDBean.HistoryProviderConfigBean) {

        name = 'mucHistoryProvider'

        'repo-class' = 'tigase.mongodb.muc.MongoHistoryProvider'

        instance (class: tigase.mongodb.muc.MongoHistoryProvider) {}

    }

}

'muc-dao' (class: tigase.muc.repository.MucDAOMDBean) {

    default (class: tigase.muc.repository.MucDAOMDBean.MucDAOProviderConfigBean) {

        instance (class: tigase.mongodb.muc.MongoMucDAO) {}

    }

}

presences (class: tigase.muc.modules.PresenceModuleImpl3) {}

}

pubsub (class: tigase.pubsub.PubSubComponent) {

'auto-subscribe-node-creator' = false

'persistent-pep' = true

'pubsub-repository-cache-size' = 4000

'send-last-published-item-on-presence' = false

dao (class: tigase.pubsub.repository.PubSubDAOPool) {

    default (class: tigase.pubsub.repository.PubSubDAOPool.PubSubDAOConfigBean) {

        name = 'pubSubDaoMongo'

        'repo-class' = 'tigase.mongodb.pubsub.PubSubDAOMongo'

        instance (class: tigase.mongodb.pubsub.PubSubDAOMongo) {}

    }

}

}

'sess-man' (class: tigase.server.xmppsession.SessionManager) {

amp (class: tigase.xmpp.impl.MessageAmp) {

    message (class: tigase.xmpp.impl.Message) {}

    msgoffline (class: tigase.xmpp.impl.OfflineMessages) {}

}

'sasl-provider' (class: tigase.auth.TigaseSaslProvider) {

    'callback-handler-factory' (class: tigase.auth.ThirdAuthCallbackHandlerFactory) {}

    customSaslServerFactory (class: tigase.auth.mechanisms.ThirdAuthSaslServerFactory) {}

    'mechanism-selector' (class: tigase.auth.ThirdAuthMechanismSelector) {}

    tigaseSaslServerFactory (class: tigase.auth.mechanisms.TigaseSaslServerFactory,

        active: false) {}

}

}

2017-06-05 16:46:30.405 [main] DNSResolverDefault.() WARNING: Resolving default host name: bogon took: 15

Loading component: vhost-man :: componentInfo{Class=tigase.vhosts.VHostManager}

Loading component: amp :: componentInfo{Class=tigase.server.amp.AmpComponent}

Loading component: bosh :: componentInfo{Class=tigase.server.bosh.BoshConnectionManager}

Loading component: stats :: componentInfo{Class=tigase.stats.StatisticsCollector}

Loading plugin: jabber:iq:auth=4:1193 ...

Loading plugin: presence-state=16:298 ...

Loading plugin: vcard-xep-0292=4:1193 ...

Loading plugin: urn:xmpp:mam:1=4:1193 ...

Loading plugin: urn:xmpp:blocking=4:1193 ...

Loading plugin: urn:xmpp:csi:0=4:1193 ...

Loading plugin: amp=4:1193 ...

Loading plugin: jabber:iq:register=4:1193 ...

Loading plugin: urn:ietf:params:xml:ns:xmpp-bind=4:1193 ...

Loading plugin: zlib=4:1193 ...

Loading plugin: message-carbons=4:1193 ...

Loading plugin: default-handler=16:298 ...

Loading plugin: http://jabber.org/protocol/commands=4:1193 ...

Loading plugin: urn:xmpp:ping=4:1193 ...

Loading plugin: presence-subscription=16:298 ...

Loading plugin: urn:xmpp:time=4:1193 ...

Loading plugin: starttls=4:1193 ...

Loading plugin: jabber:iq:privacy=4:1193 ...

Loading plugin: disco=4:1193 ...

Loading plugin: urn:ietf:params:xml:ns:xmpp-sasl=16:298 ...

Loading plugin: urn:ietf:params:xml:ns:xmpp-session=4:1193 ...

Loading plugin: message-archive-xep-0136=4:1193 ...

Loading plugin: session-close=16:298 ...

Loading plugin: pep=8:596 ...

Loading plugin: jabber:iq:private=4:1193 ...

Loading plugin: session-open=8:596 ...

Loading plugin: http://jabber.org/protocol/stats=4:1193 ...

Loading plugin: jabber:iq:roster=16:298 ...

Loading plugin: message-archive=4:1193 ...

Loading plugin: vcard-temp=4:1193 ...

Loading plugin: jabber:iq:version=4:1193 ...

Loading plugin: message-archive=4:1193 ...

Loading component: sess-man :: componentInfo{Class=tigase.server.xmppsession.SessionManager}

2017-06-05 16:46:31.935 [main] PubSubConfig.initialize() WARNING: Configurator was not injected!

Loading component: pubsub :: componentInfo{Title=Tigase PubSub, Version=3.3.0-b${gitVersion}/54303118, Class=tigase.pubsub.PubSubComponent}

Loading component: c2s :: componentInfo{Class=tigase.server.xmppclient.ClientConnectionManager}

Loading component: ws2s :: componentInfo{Class=tigase.server.websocket.WebSocketClientConnectionManager}

Loading component: monitor :: componentInfo{Class=tigase.monitor.MonitorComponent}

Loading component: eventbus :: componentInfo{Class=tigase.eventbus.component.EventBusComponent}

Loading component: s2s :: componentInfo{Class=tigase.server.xmppserver.S2SConnectionManager}

2017-06-05 16:46:32.936 [main] Kernel.injectDependencies() WARNING: Could not initialize bean ownerModule (class: class tigase.muc.modules.RoomConfigurationModule), skipping injection of this bean

RootCause:

2017-06-05 16:46:32.941 [main] Kernel.injectDependencies() WARNING: Could not initialize bean ownerModule (class: class tigase.muc.modules.RoomConfigurationModule), skipping injection of this bean

RootCause:

2017-06-05 16:46:32.946 [main] Kernel.injectDependencies() WARNING: Could not initialize bean ownerModule (class: class tigase.muc.modules.RoomConfigurationModule), skipping injection of this bean

RootCause:

2017-06-05 16:46:32.952 [main] Kernel.injectDependencies() WARNING: Could not initialize bean ownerModule (class: class tigase.muc.modules.RoomConfigurationModule), skipping injection of this bean

RootCause:

2017-06-05 16:46:32.955 [main] Kernel.injectDependencies() WARNING: Could not initialize bean ownerModule (class: class tigase.muc.modules.RoomConfigurationModule), skipping injection of this bean

RootCause:

2017-06-05 16:46:32.959 [main] Kernel.injectDependencies() WARNING: Could not initialize bean ownerModule (class: class tigase.muc.modules.RoomConfigurationModule), skipping injection of this bean

RootCause:

2017-06-05 16:46:32.962 [main] Kernel.injectDependencies() WARNING: Could not initialize bean ownerModule (class: class tigase.muc.modules.RoomConfigurationModule), skipping injection of this bean

RootCause:

Loading component: muc :: componentInfo{Title=Tigase MUC, Version=2.5.0-b${gitVersion}/96354b49, Class=tigase.muc.MUCComponent}

Loading component: message-archive :: componentInfo{Title=Tigase Message Archiving Component, Version=1.3.0-b${gitVersion}/9593ca17, Class=tigase.archive.MessageArchiveComponent}

Loading component: message-router :: componentInfo{Class=tigase.server.MessageRouter}

2017-06-05 16:46:33.470 [main] DSLBeanConfigurator.dumpConfiguration() WARNING: Dumping full server configuration to: etc/config-dump.properties

== 2017-06-05 16:46:33.605 Server finished starting up and (if there wasn't any error) is ready to use

when I start the server, it have this warning, if there affect to use muc module?

Andrzej Wójcik (Tigase) commented 7 years ago

Yes, there will be an impact on a server and MUC as one of MUC modules was unable to load and will not work properly.

来恩 周 commented 7 years ago

okay, thank you!

I know what cause this issue.

because I use a custom module of groupchat 'tigase.muc.modules.GroupchatMessageModule4', but the RoomConfigurationModule hard code a GroupchatMessageModule in java file.

when I change

'@Inject(nullAllowed = false)

private GroupchatMessageModule messageModule;'

to

'

@Inject(nullAllowed = false)

private GroupchatMessageModule4 messageModule;

'

then the warning disappear.

来恩 周 commented 7 years ago

Andrzej Wójcik wrote:

Yes, there will be an impact on a server and MUC as one of MUC modules was unable to load and will not work properly.

ok, Thank you!

来恩 周 commented 7 years ago

ok, I see. Thank you!

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
5628
Version
tigase-server-8.0.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#837
Please wait...
Page is in error, reload to recover