Project

General

Profile

7.2.0 and init.properties

kellogs .
Added over 1 year ago

Hello,

I have noticed the init.properties format has changed quite a bit. Tigase 7.2.0 nightly build has attempted to automatically convert my old file to the new format. It had some success, but not 100%. Are there any documents available on properly configuring the server yet ?

Issues seen:

  • Unable to configure MUC component.

  • Tigase cache is off

  • Unknown class null for bean basic-filter

  • Pubsub will try to initialize although the init.properties makes no mention to it

Original init.properties:

#config-type = --gen-config-all
#--debug = xmpp.XMPPIOService unknown class null for bean basic-filter
--debug = server.amp,server,xmpp.impl,db,muc,xmpp.XMPPIOService
--cluster-mode = false
--virt-hosts = domain.com
--user-db-uri = UriString
--user-db = mysql
--admins = admin@domain.com
--comp-name-5 = message-archive
#--comp-name-4 = rest
#--comp-name-3 = proxy
#--comp-name-2 = pubsub
--comp-name-1 = muc
--sm-plugins = -msgoffline,-message,+amp,+message-archive-xep-0136,+jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,-jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,-zlib
--comp-class-5 = tigase.archive.MessageArchiveComponent
#--comp-class-4 = tigase.http.rest.RestMessageReceiver
#--comp-class-3 = tigase.socks5.Socks5ProxyComponent
#--comp-class-2 = tigase.pubsub.PubSubComponent
--comp-class-1 = tigase.muc.MUCComponent
--watchdog_delay=60000
--watchdog_timeout=70000
--watchdog_ping_type=xmpp
c2s/processors[s]=urn:xmpp:sm:3
muc/message-filter-enabled[B]=false
muc/muc-lock-new-room[B]=false
muc/default_room_config/muc#maxhistoryfetch=50
muc/default_room_config/muc#roomconfig_persistentroom=true
muc/default_room_config/muc#roomconfig_changesubject=true
muc/default_room_config/muc#roomconfig_publicroom=true
muc/default_room_config/muc#roomconfig_moderatedroom=false
muc/default_room_config/muc#roomconfig_membersonly=false
imuc/default_room_config/muc#roomconfig_moderatedroom=false
sess-man/plugins-conf/message-archive-xep-0136/default-store-method=message
sess-man/plugins-conf/message-archive-xep-0136/required-store-method=message
message-archive/archive-repo-uri=UriString
#--debug = server.amp,muc
basic-conf/logging/tigase.server.level=FINEST
basic-conf/logging/tigase.xmpp.impl.level=FINEST
basic-conf/logging/tigase.xmpp.XMPPIOService.level=FINEST
basic-conf/logging/tigase.db.level=INFO
basic-conf/logging/tigase.muc.level=FINEST
basic-conf/logging/tigase.server.amp.level=FINEST
sess-man/plugins-conf/amp/store-limit[L]=100
sess-man/plugins-conf/amp/quota-exceeded=drop
amp/store-limit[L]=100
--amp-security-level=PERFORMANCE

transforme init.properties and log

STARTED Tigase Thu May 25 12:04:15 UTC 2017 using:
    ./scripts/tigase.sh start ./etc/tigase.conf
==========
componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.xml.XMLUtils}
componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.util.ClassUtil}
componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.server.XMPPServer}
2017-05-25 12:04:16.259 [main]             ConfiguratorAbstract.parseArgs()        CONFIG:   Setting defaults: --property-file = etc/init.properties
2017-05-25 12:04:16.293 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Loading initial properties from property file: etc/init.properties
2017-05-25 12:04:16.294 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--watchdog_delay=60000)
2017-05-25 12:04:16.295 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--comp-class-5=tigase.archive.MessageArchiveComponent)
2017-05-25 12:04:16.295 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--cluster-mode=false)
2017-05-25 12:04:16.296 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--comp-class-1=tigase.muc.MUCComponent)
2017-05-25 12:04:16.296 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--user-db-uri=uriString)
2017-05-25 12:04:16.296 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--virt-hosts=domain.com)
2017-05-25 12:04:16.297 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--watchdog_ping_type=xmpp)
2017-05-25 12:04:16.297 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--comp-name-5=message-archive)
2017-05-25 12:04:16.298 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--comp-name-1=muc)
2017-05-25 12:04:16.298 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--user-db=mysql)
2017-05-25 12:04:16.298 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--sm-plugins=-msgoffline,-message,+amp,+message-archive-xep-0136,+jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,-jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,-zlib)
2017-05-25 12:04:16.299 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--amp-security-level=PERFORMANCE)
2017-05-25 12:04:16.299 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--watchdog_timeout=70000)
2017-05-25 12:04:16.299 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--admins=admin@domain.com)
2017-05-25 12:04:16.300 [main]             ConfiguratorAbstract.loadFromPropertiesFiles()  CONFIG: Added default config parameter: (--debug=server.amp,server,xmpp.impl,db,muc,xmpp.XMPPIOService)
2017-05-25 12:04:18.788 [main]             DNSResolverDefault.<init>()             WARNING:  Resolving default host name: domain.com took: 39
2017-05-25 12:04:18.845 [main]             TokenBucketPool.<init>()                FINE:     TokenBucketPool Created. Auto purge task created.
2017-05-25 12:04:18.897 [main]             ConfigHolder$PropertiesConfigReader.convertFromOldFormat()  WARNING: could not find class for processor basic-filter
2017-05-25 12:04:18.987 [main]             ConfigHolder.loadConfiguration()        WARNING:  Configuration file etc/init.properties was a properties file and was converted to new DSL configuration format. Previous version of configuration file was saved at etc/init.properties.old
2017-05-25 12:04:18.988 [main]             ConfigHolder.loadConfiguration()        CONFIG:   Loaded configuration:
--amp-security-level = PERFORMANCE
--cluster-mode = false
--debug = 'server.amp,server,xmpp.impl,db,muc,xmpp.XMPPIOService'
--test = false
--virt-hosts = domain.com
--watchdog_delay = 60000
--watchdog_ping_type = xmpp
--watchdog_timeout = 70000
admins = [ 'admin@domain.com' ]
'config-type' = '--gen-config-default'
dataSource {
    default () {
        uri = 'uriString'
    }
}
userRepository {
    default () {}
}
authRepository {
    default () {}
}
amp {
    'store-limit' = 100L
}
'basic-conf' {
    logging {
        tigase.db.level = 'INFO'
        tigase.muc.level = 'FINEST'
        tigase.server.amp.level = 'FINEST'
        tigase.server.level = 'FINEST'
        tigase.xmpp.XMPPIOService.level = 'FINEST'
        tigase.xmpp.impl.level = 'FINEST'
    }
}
c2s {
    beans = [ 'urn:xmpp:sm:3' ]
}
imuc {
    default_room_config {
        'muc#roomconfig_moderatedroom' = 'false'
    }
}
'message-archive' (class: tigase.archive.MessageArchiveComponent) {
    'archive-repo-uri' = 'uriString'
}
muc (class: tigase.muc.MUCComponent) {
    'message-filter-enabled' = false
    'muc-lock-new-room' = false
    default_room_config {
        'muc#maxhistoryfetch' = '50'
        'muc#roomconfig_changesubject' = 'true'
        'muc#roomconfig_membersonly' = 'false'
        'muc#roomconfig_moderatedroom' = 'false'
        'muc#roomconfig_persistentroom' = 'true'
        'muc#roomconfig_publicroom' = 'true'
    }
}
'sess-man' {
    beans = '-msgoffline,-message,+amp,+message-archive-xep-0136,+jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,-jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,-zlib'
    amp {
        'quota-exceeded' = 'drop'
        'store-limit' = 100L
    }
    'message-archive-xep-0136' {
        'default-store-method' = 'message'
        'required-store-method' = 'message'
    }
}

2017-05-25 12:04:20.238 [main]             SimpleCache.<init>()                    WARNING:  Tigase cache turned off.
Loading component: vhost-man :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.vhosts.VHostManager}
Loading component: amp :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.server.amp.AmpComponent}
Loading component: bosh :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.server.bosh.BoshConnectionManager}
Loading component: stats :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.stats.StatisticsCollector}
2017-05-25 12:04:23.734 [main]             AbstractBeanConfigurator.registerBeans()  WARNING: unknown class null for bean basic-filter, skipping registration of a bean
Loading plugin: urn:xmpp:time=2:2325 ...        , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: urn:xmpp:mam:1=2:2325 ...       , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: disco=2:2325 ...        , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: message-carbons=2:2325 ...      , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: urn:ietf:params:xml:ns:xmpp-session=2:2325 ...  , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: jabber:iq:version=2:2325 ...    , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: presence=8:581 ...      , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: default-handler=8:581 ...       , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: jabber:iq:private=2:2325 ...    , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: urn:ietf:params:xml:ns:xmpp-bind=2:2325 ...     , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: starttls=2:2325 ...     , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: urn:xmpp:blocking=2:2325 ...    , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: session-close=8:581 ...         , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: urn:ietf:params:xml:ns:xmpp-sasl=8:581 ...      , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: presence-subscription=8:581 ...         , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: amp=2:2325 ...  , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: jabber:iq:auth=2:2325 ...       , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: session-open=4:1162 ...         , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: urn:xmpp:ping=2:2325 ...        , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: urn:xmpp:csi:0=2:2325 ...       , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: message-archive=2:2325 ...      , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: jabber:iq:privacy=2:2325 ...    , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: message-archive-xep-0136=2:2325 ...     , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: vcard-xep-0292=2:2325 ...       , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: pep=4:1162 ...  , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: presence-state=8:581 ...        , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: vcard-temp=2:2325 ...   , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: jabber:iq:roster=8:581 ...      , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: http://jabber.org/protocol/stats=2:2325 ...     , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: http://jabber.org/protocol/commands=2:2325 ...  , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading plugin: message-archive=2:2325 ...      , version: 7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24)
Loading component: sess-man :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.server.xmppsession.SessionManager}
2017-05-25 12:04:27.695 [main]             PubSubConfig.initialize()               WARNING:  Configurator was not injected!
2017-05-25 12:04:28.261 [main]             SimpleCache.<init>()                    WARNING:  Tigase cache turned off.
2017-05-25 12:04:28.267 [main]             SimpleCache.<init>()                    WARNING:  Tigase cache turned off.
Loading component: pubsub :: componentInfo{Title=Tigase PubSub, Version=3.3.0-SNAPSHOT-b602/e29e048c-7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.pubsub.PubSubComponent}
Loading component: c2s :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.server.xmppclient.ClientConnectionManager}
2017-05-25 12:04:30.356 [main]             SimpleCache.<init>()                    WARNING:  Tigase cache turned off.
2017-05-25 12:04:30.357 [main]             SimpleCache.<init>()                    WARNING:  Tigase cache turned off.
2017-05-25 12:04:30.375 [main]             SimpleCache.<init>()                    WARNING:  Tigase cache turned off.
Loading component: monitor :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.monitor.MonitorComponent}
Loading component: ws2s :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.server.websocket.WebSocketClientConnectionManager}
Loading component: s2s :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.server.xmppserver.S2SConnectionManager}
2017-05-25 12:04:30.843 [main]             SimpleCache.<init>()                    WARNING:  Tigase cache turned off.
2017-05-25 12:04:30.846 [main]             SimpleCache.<init>()                    WARNING:  Tigase cache turned off.
Loading component: eventbus :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.eventbus.component.EventBusComponent}
Loading component: http :: componentInfo{Title=Tigase HTTP API component: Tigase HTTP API component, Version=1.3.0-SNAPSHOT-b191/2d012536-7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.http.HttpMessageReceiver}
2017-05-25 12:04:32.838 [main]             AbstractBeanConfigurator.configure()    WARNING:  Can't prepare value of property 'defaultRoomConfig' of bean 'muc': '{muc#maxhistoryfetch=50, muc#roomconfig_changesubject=true, muc#roomconfig_persistentroom=true, muc#roomconfig_membersonly=false, muc#roomconfig_publicroom=true, muc#roomconfig_moderatedroom=false}'
java.lang.RuntimeException: Unsupported conversion to interface java.util.Map
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:306)
        at tigase.kernel.beans.config.AbstractBeanConfigurator.configure(AbstractBeanConfigurator.java:116)
        at tigase.component.DSLBeanConfiguratorWithBackwardCompatibility.configure(DSLBeanConfiguratorWithBackwardCompatibility.java:48)
        at tigase.kernel.beans.config.AbstractBeanConfigurator.configure(AbstractBeanConfigurator.java:165)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:142)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:580)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:151)
        at tigase.kernel.core.Kernel.getInstance(Kernel.java:386)
        at tigase.server.Bootstrap.start(Bootstrap.java:129)
        at tigase.server.XMPPServer.start(XMPPServer.java:142)
        at tigase.server.XMPPServer.main(XMPPServer.java:123)
2017-05-25 12:04:32.839 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean muc (class: class tigase.muc.MUCComponent), skipping injection of this bean
Loading component: message-archive :: componentInfo{Title=Tigase Message Archiving Component, Version=1.3.0-SNAPSHOT-b195/e530d841-7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.archive.MessageArchiveComponent}
Loading component: message-router :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4834/26cd4907 (2017-05-24/23:12:24), Class=tigase.server.MessageRouter}
2017-05-25 12:04:33.349 [main]             AbstractBeanConfigurator.configure()    WARNING:  Can't prepare value of property 'defaultRoomConfig' of bean 'muc': '{muc#maxhistoryfetch=50, muc#roomconfig_changesubject=true, muc#roomconfig_persistentroom=true, muc#roomconfig_membersonly=false, muc#roomconfig_publicroom=true, muc#roomconfig_moderatedroom=false}'
java.lang.RuntimeException: Unsupported conversion to interface java.util.Map
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:306)
        at tigase.kernel.beans.config.AbstractBeanConfigurator.configure(AbstractBeanConfigurator.java:116)
        at tigase.component.DSLBeanConfiguratorWithBackwardCompatibility.configure(DSLBeanConfiguratorWithBackwardCompatibility.java:48)
        at tigase.kernel.beans.config.AbstractBeanConfigurator.configure(AbstractBeanConfigurator.java:165)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:142)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:580)
        at tigase.kernel.core.Kernel.injectIfRequired(Kernel.java:730)
        at tigase.kernel.core.Kernel.getInstance(Kernel.java:391)
        at tigase.server.Bootstrap.start(Bootstrap.java:129)
        at tigase.server.XMPPServer.start(XMPPServer.java:142)
        at tigase.server.XMPPServer.main(XMPPServer.java:123)
2017-05-25 12:04:33.350 [main]             Kernel.injectDependencies()             WARNING:  Could not initialize bean muc (class: class tigase.muc.MUCComponent), skipping injection of this bean
2017-05-25 12:04:33.357 [main]             DSLBeanConfigurator.dumpConfiguration()  WARNING: Dumping full server configuration to: etc/config-dump.properties
2017-05-25 12:04:33.379 [main]             SimpleCache.<init>()                    WARNING:  Tigase cache turned off.
== 2017-05-25 12:04:33.410 Server finished starting up and (if there wasn't any error) is ready to use

2017-05-25 12:04:33.690 [ConnectionOpenThread]  SocketThread.<clinit>()            WARNING:  9 socketReadThreads started.
2017-05-25 12:04:33.692 [ConnectionOpenThread]  SocketThread.<clinit>()            WARNING:  9 socketWriteThreads started.

please help!


Replies (6)

Added by kellogs . over 1 year ago

I have noticed in MUC documentation that

default_room_config has changed to @defaultRoomConfig@. Applied this change to init.properties and still getting the

java.lang.RuntimeException: Unsupported conversion to interface java.util.Map

Running Java 1.8

$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

Thank you for reporting this issue. It is possible to use both names default_room_config or defaultRoomConfig to adjust default room configuration.

I created issue #5559 with your bug report and already fixed it. Fix will be part of a next snapshot build of Tigase XMPP Server 7.2.0.

Added by kellogs . over 1 year ago

Great, I'll give it a go later. Any words about those other issues from my first post ?

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

I'm not sure about the cache, but it should be disabled only in cluster mode.

Issues with bean being null is most likely a result of failure to configure MUC component.

PubSub is loaded as we changed which components are loaded by default. To disable it you will need to disable it in a config file.

Added by kellogs . over 1 year ago

Hi,

MUC config issue now gone!

Here is another one:

inside init.properties

--virt-hosts = domain1.com, domain2.com

inside tigase-console.log

--virt-hosts = domain1.com

domain2.com accounts not working

Oh, and

- Unknown class null for bean basic-filter

is still there too.

Thanks!

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

I'm not sure, which build of Tigase XMPP Server you used to update a configuration file from properties to DSL, but for me newest build properly uses:

--virt-hosts = 'domain1.com,domain2.com'

instead of

--virt-hosts = domain1.com, domain2.com

As for error:

it is the result of:
<pre>
,+basic-filter,

within beans property value within sess-man section. I would suggest to remove this entry as I'm not able to find SessionManager processor with basic-filter identifier.

    (1-6/6)