Projects tigase _server server-core Issues #969
WARNING: Resolving default host name (#969)
Bill Alibaba opened 6 years ago
Due Date
2018-08-29

I used spark to client the server,But it didn't work.

STARTED Tigase Wed Aug 29 05:10:06 CST 2018
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.xml.XMLUtils}
componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.util.ClassUtil}
componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.server.XMPPServer}
2018-08-29 05:10:06.557 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Setting defaults: --property-file = etc/init.properties
2018-08-29 05:10:06.593 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Loading initial properties from property file: etc/init.properties
2018-08-29 05:10:06.594 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (--comp-class-1=tigase.http.HttpMessageReceiver)
2018-08-29 05:10:06.595 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (--virt-hosts=xzdlhost.autodone.com)
2018-08-29 05:10:06.595 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (--user-db-uri=jdbc:mysql://47.93.56.136:3306/tigase?user=tigase&password=Xin381216&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull)
2018-08-29 05:10:06.595 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (--user-db=mysql)
2018-08-29 05:10:06.595 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (--admins=admin@xzdlhost.autodone.com)
2018-08-29 05:10:06.595 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (config-type=--gen-config-def)
2018-08-29 05:10:06.596 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (--comp-name-2=message-archive)
2018-08-29 05:10:06.596 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (--comp-name-1=http)
2018-08-29 05:10:06.596 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (--sm-plugins=+urn:xmpp:receipts,+message-push,+message-archive-xep-0136)
2018-08-29 05:10:06.596 [main]             ConfiguratorAbstract.parseArgs()   CONFIG:   Added default config parameter: (--comp-class-2=tigase.archive.MessageArchiveComponent)
2018-08-29 05:10:06.611 [main]             DNSResolverDefault.<init>()        WARNING:  Resolving default host name: xzdlhost took: 7
2018-08-29 05:10:06.642 [main]             AbstractMessageReceiver.setMaxQueueSize()  FINEST: message-router maxQueueSize: 466, maxInQueueSize: 116, maxOutQueueSize: 932
2018-08-29 05:10:06.645 [main]             MessageRouter.addRegistrator()     INFO:     Adding registrator: Configurator
2018-08-29 05:10:06.645 [main]             MessageRouter.addComponent()       INFO:     Adding component: 
2018-08-29 05:10:06.646 [main]             ConfiguratorAbstract.componentAdded()  CONFIG:  component: basic-conf
2018-08-29 05:10:06.646 [main]             ConfiguratorAbstract.setup()       CONFIG:   Setting up component: basic-conf
2018-08-29 05:10:08.009 [main]             ConfiguratorAbstract.setup()       CONFIG:   Component basic-conf defaults: {component-id=basic-conf@xzdlhost, def-hostname=xzdlhost, admins=[Ljava.lang.String;@216914, scripts-dir=scripts/admin, command/ALL=ADMIN, logging/.level=CONFIG, logging/handlers=java.util.logging.ConsoleHandler java.util.logging.FileHandler, logging/java.util.logging.ConsoleHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.ConsoleHandler.level=WARNING, logging/java.util.logging.FileHandler.append=true, logging/java.util.logging.FileHandler.count=5, logging/java.util.logging.FileHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.FileHandler.limit=10000000, logging/java.util.logging.FileHandler.pattern=logs/tigase.log, logging/tigase.useParentHandlers=true, logging/java.util.logging.FileHandler.level=ALL, user-domain-repo-pool=tigase.db.UserRepositoryMDImpl, auth-domain-repo-pool=tigase.db.AuthRepositoryMDImpl, user-repo-pool-size=10, data-repo-pool-size=10, user-repo-class=mysql, user-repo-url=jdbc:mysql://47.93.56.136:3306/tigase?user=tigase&password=Xin381216&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull, auth-repo-class=tigase.db.jdbc.TigaseCustomAuth, auth-repo-url=jdbc:mysql://47.93.56.136:3306/tigase?user=tigase&password=Xin381216&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull, ssl-container-class=tigase.io.jdk18.SNISSLContextContainer, ssl-certs-location=certs/, ssl-def-cert-domain=default, config-dump-file=etc/config-dump.properties}
2018-08-29 05:10:08.009 [main]             ConfiguratorAbstract.setup()       CONFIG:   Component basic-conf configuration: {logging/tigase.http.level=FINEST, logging/tigase.xmpp.impl.level=FINE, logging/tigase.muc.level=FINE, logging/tigase.apns.level=FINE, logging/tigase.db.jdbc.level=FINER, component-id=basic-conf@xzdlhost, def-hostname=xzdlhost, admins=[Ljava.lang.String;@216914, scripts-dir=scripts/admin, command/ALL=ADMIN, logging/.level=CONFIG, logging/handlers=java.util.logging.ConsoleHandler java.util.logging.FileHandler, logging/java.util.logging.ConsoleHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.ConsoleHandler.level=WARNING, logging/java.util.logging.FileHandler.append=true, logging/java.util.logging.FileHandler.count=5, logging/java.util.logging.FileHandler.formatter=tigase.util.LogFormatter, logging/java.util.logging.FileHandler.limit=10000000, logging/java.util.logging.FileHandler.pattern=logs/tigase.log, logging/tigase.useParentHandlers=true, logging/java.util.logging.FileHandler.level=ALL, user-domain-repo-pool=tigase.db.UserRepositoryMDImpl, auth-domain-repo-pool=tigase.db.AuthRepositoryMDImpl, user-repo-pool-size=10, data-repo-pool-size=10, user-repo-class=mysql, user-repo-url=jdbc:mysql://47.93.56.136:3306/tigase?user=tigase&password=Xin381216&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull, auth-repo-class=tigase.db.jdbc.TigaseCustomAuth, auth-repo-url=jdbc:mysql://47.93.56.136:3306/tigase?user=tigase&password=Xin381216&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull, ssl-container-class=tigase.io.jdk18.SNISSLContextContainer, ssl-certs-location=certs/, ssl-def-cert-domain=default, config-dump-file=etc/config-dump.properties}
2018-08-29 05:10:08.010 [main]             ConfiguratorAbstract.itemUpdated()  INFO:    Updating configuration item: basic-conf/logging/tigase.http.level=FINEST
2018-08-29 05:10:08.010 [main]             ConfiguratorAbstract.setProperties()  INFO:  Propeties size is 1, and here are all propeties: {logging/tigase.http.level=FINEST}
2018-08-29 05:10:10.861 [main]             VHostManager.setProperties()       WARNING:  {xzdlhost.autodone.com=Domain: xzdlhost.autodone.com, enabled: true, anonym: true, register: true, maxusers: 0, tls: false, s2sSecret: 6cef1251-1e2b-4a99-8a95-3dbfb125213b, domainFilter: ALL, domainFilterDomains: null, c2sPortsAllowed: null, saslAllowedMechanisms: null}
Loading component: amp :: componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.server.amp.AmpComponent}
2018-08-29 05:10:11.178 [main]             ConnectionManager.setProperties()  WARNING:  bosh last_minute_packets_limit = 2500
2018-08-29 05:10:11.179 [main]             ConnectionManager.setProperties()  WARNING:  bosh total_packets_limit = 0
2018-08-29 05:10:11.179 [main]             ConnectionManager.setProperties()  WARNING:  bosh last_minute_bin_limit = 20971520
2018-08-29 05:10:11.179 [main]             ConnectionManager.setProperties()  WARNING:  bosh total_bin_limit = 0
Loading component: bosh :: componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.server.bosh.BoshConnectionManager}
2018-08-29 05:10:11.253 [main]             ConnectionManager.setProperties()  WARNING:  c2s last_minute_packets_limit = 2500
2018-08-29 05:10:11.253 [main]             ConnectionManager.setProperties()  WARNING:  c2s total_packets_limit = 0
2018-08-29 05:10:11.255 [main]             ConnectionManager.setProperties()  WARNING:  c2s last_minute_bin_limit = 20971520
2018-08-29 05:10:11.255 [main]             ConnectionManager.setProperties()  WARNING:  c2s total_bin_limit = 0
Loading component: c2s :: componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.server.xmppclient.ClientConnectionManager}
Loading component: eventbus :: componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.disteventbus.component.EventBusComponent}
Loading component: http :: componentInfo{Title=Tigase HTTP API component: Tigase HTTP API component, Version=1.2.0-b/${buildNumber}-7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.http.HttpMessageReceiver}
Loading component: message-archive :: componentInfo{Title=Tigase Message Archiving Component, Version=1.2.0-b122/dded3368-7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.archive.MessageArchiveComponent}
2018-08-29 05:10:14.631 [main]             ConfigRepository.setProperties()   WARNING:  Items list is not set in the configuration file!!
2018-08-29 05:10:14.660 [main]             MonitorComponent.setProperties()   WARNING:  Monitoring Tasks: {} with items: {}
Loading component: monitor :: componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.monitor.MonitorComponent}
2018-08-29 05:10:15.076 [main]             ConnectionManager.setProperties()  WARNING:  s2s last_minute_packets_limit = 15360
2018-08-29 05:10:15.076 [main]             ConnectionManager.setProperties()  WARNING:  s2s total_packets_limit = 0
2018-08-29 05:10:15.076 [main]             ConnectionManager.setProperties()  WARNING:  s2s last_minute_bin_limit = 125829120
2018-08-29 05:10:15.076 [main]             ConnectionManager.setProperties()  WARNING:  s2s total_bin_limit = 0
Loading component: s2s :: componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.server.xmppserver.S2SConnectionManager}
Loading plugin: session-close=8:582 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: session-open=4:1165 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: default-handler=8:582 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: jabber:iq:register=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: jabber:iq:auth=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: urn:ietf:params:xml:ns:xmpp-sasl=8:582 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: urn:ietf:params:xml:ns:xmpp-bind=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: urn:ietf:params:xml:ns:xmpp-session=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: jabber:iq:roster=8:582 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: jabber:iq:privacy=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: jabber:iq:version=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: http://jabber.org/protocol/stats=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: starttls=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: vcard-temp=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: http://jabber.org/protocol/commands=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: jabber:iq:private=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: urn:xmpp:ping=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: presence-state=8:582 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: presence-subscription=8:582 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: disco=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: zlib=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: amp=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: message-carbons=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: vcard-xep-0292=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: urn:xmpp:time=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: urn:xmpp:csi:0=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
Loading plugin: message-archive-xep-0136=2:2330 ... 	, version: 7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59)
MA LOADED = message-archive@xzdlhost
Loading component: sess-man :: componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.server.xmppsession.SessionManager}
2018-08-29 05:10:15.733 [main]             ConnectionManager.setProperties()  WARNING:  ws2s last_minute_packets_limit = 2500
2018-08-29 05:10:15.734 [main]             ConnectionManager.setProperties()  WARNING:  ws2s total_packets_limit = 0
2018-08-29 05:10:15.734 [main]             ConnectionManager.setProperties()  WARNING:  ws2s last_minute_bin_limit = 20971520
2018-08-29 05:10:15.734 [main]             ConnectionManager.setProperties()  WARNING:  ws2s total_bin_limit = 0
Loading component: ws2s :: componentInfo{Title=Tigase XMPP Server, Version=7.1.0-b4379/8ed39c0c (2017-01-30/19:29:59), Class=tigase.server.websocket.WebSocketClientConnectionManager}
2018-08-29 05:10:15.748 [main]             ConfigurationCache.store()         WARNING:  Dumping server configuration to: etc/config-dump.properties
== Wed Aug 29 05:10:15 CST 2018 Server finished starting up and (if there wasn't any error) is ready to use

thx a lot.

logs.log init (2).properties

w xy commented 6 years ago

--virt-hosts=xzdlhost.autodone.com, the hosts must be found in the pc of spark, it is a xmpp Entrance. You can test the default port of 5222,such as : telnet hosts 5222, the port is used by xmpp.

Bill Alibaba commented 6 years ago

The problem is solved now,thx alot

wojciech.kapcia@tigase.net commented 6 years ago

For general questions please use Forums: https://tigase.tech/projects/tigase-server/boards

issue 1 of 1
Type
Task
Priority
Major
Assignee
RedmineID
8109
Version
tigase-server-7.1.2
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#969
Please wait...
Page is in error, reload to recover