Tigase Server
vCard not available (503) when requested party is offline
Hi all,
I'm using Tigase-5.0.0-b2135 and smack as clien.
I am trying to retrieve full names of my roster entries by querying each one's vCard (and getting FN field out of it).
What I realize is that when a requested buddy is offline the vCard get request always results with 503 (service not available) but he/she is online - the vCard is received perfectly.
Is it a server configuration issue or a designed (standard?) behavior?
In a latter case can someone advise an alternative approach to retrieve buddies' full names (as those buddies had set them in the first place)?
- 3 comments
- Read more
- 546 reads
Maximum number of client connections to a server node
What is the maximum number of simultaneous client/server connections on an individual Tigase server node that you have seen?
What limits are hit when getting to this maximum number? Is it CPU, memory, or maybe OS limits?
Thanks,
Wayne Weber
- 1 comment
- 387 reads
Using Client Certificates for Authentication?
I am looking at possibly using Tigase XMPP Server for a project, but I have a question about authentication. I plan to have applications which use client certificates to authenticate with the XMPP Server. I've seen examples of other XMPP servers that support this (haven't tried it yet, will soon), but I'm wondering if Tigase supports it? I have been searching around the www.tigase.org site and on the great and wise Google, but haven't found anything yet. Anybody have any information about this?
- 3 comments
- 253 reads
Tigase XMPP Server configuration properties
init.properties is a little bit extended version of the Java properties file with (key, value) pairs.
Comment line has it's first non-white space ASCII character either '#' or '!'.
The key starts with first non-white space ASCII character and ends on either first white space ASCII character or either of '=' or ':'. Therefore if your key contains any of '=', ':' or white space characters you have to escape them with backslash '\': \: or \=.
All of examples below specify 'vhosts' as a key and 'test-a, test-b, test-c' as a value:
vhosts=test-a, test-b, test-c
vhosts : test-a, test-b, test-c
vhosts = test-a, test-b, test-c
There is a bunch of parameters which have broader meaning than just one property. Some of them affect many configuration settings or can generate whole sections in the XML file. Most of them starts with '--' - double hyphen. Please note, each property put in the init.properties file starting with '--' becomes a JVM system property (without '--' at the beginning). Here is a list of all those parameters with description:
Property name: --admins
|
Default value: none
Example: '--admins = admin@domain.com'
Example def: '--admins = none'
Possible values: user1@domain,user2@domain2 Specifies a list of administrator accounts. Possible values: list of admin accounts: Available since Tigase server version: 2.0.0 |
Property name: --auth-db
|
Default value: tigase-custom
Example: --auth-db = db-type
Example def: '--auth-db = tigase-custom'
Possible values: mysql|pgsql|ldap|drupal|tigase-auth|tigase-custom|class name Specifies authentication repository, where 'db-type' can be one of possible values: Available since Tigase server version: 2.0.0 |
Property name: --auth-db-uri
|
Default value: jdbc:mysql://localhost/tigasedb?user=tigase_user&password=mypass
Example: --auth-db-uri = jdbc:mysql://localhost/tigasedb?user=tigase_user&password=mypass
Example def: '--auth-db-uri = jdbc:mysql://localhost/tigasedb?user=tigase_user&password=mypass'
Possible values: db connection-uri 'connection-uri' is a full resource uri for user repository data source. (If omitted Available since Tigase server version: 2.0.0 |
Property name: --auth-domain-repo-pool
|
Default value: tigase.db.AuthRepositoryMDImpl
Example: --auth-domain-repo-pool = tigase.db.AuthRepositoryMDImpl
Example def: '--auth-domain-repo-pool = tigase.db.AuthRepositoryMDImpl'
Possible values: class implementing AuthRepository Allows to specify an implementation for per-domain Available since Tigase server version: 5.1.0 |
Property name: --auth-repo-pool
|
Default value: tigase.db.AuthRepositoryPool
Example: --auth-repo-pool = tigase.db.AuthRepositoryPool
Example def: '--auth-repo-pool = tigase.db.AuthRepositoryPool'
Possible values: class implementing AuthRepository Allows to specify an implementation for the authentication repository connection pool. This is used only if the implementation provided by a default Tigase server package is not sufficient in the particular deployment. The implementation provides a DB (AuthRepository to be more specific) connection pool to improve the data access performance. The repository pool can offer data caching for improved performance or any other features necessary. Available since Tigase server version: 5.1.0 |
Property name: --bind-ext-hostnames
|
Default value: none
Example: --bind-ext-hostnames = pubsub.host.domain
Example def: '--bind-ext-hostnames = none'
Possible values: comma separated list of domains This property allows to set a list of domains to be bound to the external component connection. Let's say we have a Tigase instance with only MUC and PubSub components loaded and we want to connect this instance to the main server via external component protocol. Using --external property we can define a domain (maybe muc.devel.tigase.org), password, TCP/IP port, remote host address, connection type, etc.... This would make one of our component (MUC) visible on the remote server. Available since Tigase server version: 5.0.0 |
Property name: --bosh-close-connection
|
Default value: false
Example: --bosh-close-connection = true
Example def: '--bosh-close-connection = false'
Possible values: true|false The property globally disables Bosh keep-alive support for the Tigase server. It causes the Bosh connection manager to force closed HTTP connection each time data is sent to the Bosh client. To continue communication the client must open a new HTTP connection. This setting is rarely required on some installations where the client cannot control/disable keep-alive Bosh connections and keep-alive does not work correctly for some reason. Available since Tigase server version: 5.1.0 |
Property name: --bosh-extra-headers-file
|
Default value: etc/bosh-extra-headers.txt
Example: --bosh-extra-headers-file = /path/to/file.txt
Example def: '--bosh-extra-headers-file = etc/bosh-extra-headers.txt'
Possible values: path to a file on the filesystem The property allows you to specify a path to a text file with additional HTTP headers which will be sent to a Bosh client with each request. This gives some extra flexibility for Bosh clients running on some systems with special requirements for the HTTP headers and some additional settings.
By default a file distributed with the installation contains following content:
Available since Tigase server version: 5.1.0 |
Property name: --cl-conn-repo-class
|
Default value: tigase.cluster.repo.ClConSQLRepository
Example: --cl-conn-repo-class = tigase.cluster.repo.ClConDirRepository
Example def: '--cl-conn-repo-class = tigase.cluster.repo.ClConSQLRepository'
Possible values: class implementing ComponentRepository This property allows to set class controlling cluster connections repository. The cluster connections repository is responsible for discovering cluster nodes which are part of the installation. Tigase in cluster mode establishes TCP/IP connections between cluster nodes to allow for user communication and exchanging cluster state metadata.
From the Tigase XMPP Server 5.2.0 the server supports cluster auto-configuration so no action, configuring or any maintenance action is required to add a new cluster node. Available since Tigase server version: 5.2.0 |
Property name: --client-access-policy-file
|
Default value: etc/client-access-policy.xml
Example: --client-access-policy-file = /path/to/access-policy-file.xml
Example def: '--client-access-policy-file = etc/client-access-policy.xml'
Possible values: path to a file on the filesystem The property allows to control the cross domain access policy for Silverlight based web applications. The cross domain policy is controlled via XML file which contains the policy and rules. By default Tigase is distributed with an example policy file which allows for full access from all sources to the whole installation. This is generally correct for most Bosh server installations. The configuration through the property and the XML file allows for a very easy and flexible modification of the policy on your installation. Available since Tigase server version: 5.2.0 |
Property name: --cluster-connect-all
|
Default value: false
Example: --cluster-connect-all = true
Example def: '--cluster-connect-all = false'
Possible values: true|false The property is used to open active connections to all nodes listed in the '--cluster-nodes' configuration property. This property should be used only on the node which is added to the live cluster at later time. Normally this new cluster node is not listed in configuration of the existing cluster nodes. This is why they can not open connections the new node. The new node opens connection to all existing nodes instead. False is the default value and you can skip this option if you want to have it switched off. Available since Tigase server version: 4.3.0 |
Property name: --cluster-mode
|
Default value: false
Example: --cluster-mode = true
Example def: '--cluster-mode = false'
Possible values: true|false The property is used to switch cluster mode on. The default value is 'false' so you can normally skip the parameter if you don't want the server to run in the cluster mode. You can run the server in the cluster mode even if there is only one node running. The performance impact is insignificant and you have the opportunity to connect mode cluster nodes at any time without restarting the server. Available since Tigase server version: 4.0.0 |
Property name: --cluster-nodes
|
Default value: none
Example: --cluster-nodes = node1.domain,node2.domain,node3.domain
Example def: '--cluster-nodes = none'
Possible values: a comma separated list of hostnames The property is used to specify a list of cluster nodes running on your installation. Available since Tigase server version: 4.0.0 |
Property name: --cm-ht-traffic-throttling
|
Default value: xmpp:25k:0:disc,bin:200m:0:disc
Example: --cm-ht-traffic-throttling = xmpp:25k:0:disc,bin:200m:0:disc
Example def: '--cm-ht-traffic-throttling = xmpp:25k:0:disc,bin:200m:0:disc'
Possible values: comma separated list of traffic limits settings The property is used to specify traffic limit of non-user connections, that is s2s, external components and other high traffic server connections. Meaning of the property and values encoded are in the same way as for the --cm-traffic-throttling property. Available since Tigase server version: 5.1.3 |
Property name: --cm-traffic-throttling
|
Default value: xmpp:2500:0:disc,bin:20m:0:disc
Example: --cm-traffic-throttling = xmpp:2500:0:disc,bin:20m:0:disc
Example def: '--cm-traffic-throttling = xmpp:2500:0:disc,bin:20m:0:disc'
Possible values: comma separated list of traffic limits settings The property allows you to limit traffic on user connections. These limits are applied to each user connection and if a limit is exceeded then a specified action is applied. Available since Tigase server version: 5.1.3 |
Property name: --cmpname-ports
|
Default value: depends on component
Example: --s2s-ports=5269,5270,5271
Example def: '--cmpname-ports = depends on component'
Possible values: comma separate list of TCP/IP port numbers The property is used to set ports list for a connection manager. 'cmpname' is a component name of the connection manager you want to change ports numbers for. 'list of ports' is a comma separated list of ports numbers. For example for the server to server connection manager named s2s the property would like like the example below:
Available since Tigase server version: 3.0.0 |
Property name: --comp-class
|
Default value: depends on component
Example: --comp-class-1 = tigase.muc.MUCComponent
Example def: '--comp-class = depends on component'
Possible values: class name Property is used to load an extra component to the server. Normally this parameter is used if you want to load a component which is not included in the Available since Tigase server version: 3.0.0 |
Property name: --comp-name
|
Default value: custom string
Example: --comp-name-1 = muc
Example def: '--comp-name = custom string'
Possible values: XMPP localnode string The property is used to assign name 'name' to the non-standard component which is loaded by the server. It is normally used when you want to load component which is not loaded by the Available since Tigase server version: 3.0.0 |
Property name: --cross-domain-policy-file
|
Default value: etc/cross-domain-policy.xml
Example: --cross-domain-policy-file = /path/to/cross-domain-policy.xml
Example def: '--cross-domain-policy-file = etc/cross-domain-policy.xml'
Possible values: path to a file on the filesystem The property allows to set path to a file with cross domain access policy for flash based clients. This is a standard XML file which is sent to the flash client upon request. A default file distributed with the Tigase installation allows for full access for all. This is good enough for most use cases but it can be changed by simply editing the file. Available since Tigase server version: 5.1.0 |
Property name: --debug
|
Default value: none
Example: --debug = server,xmpp.impl
Example def: '--debug = none'
Possible values: comma separated list of Tigase's package names This property is used to turn on debugs log for selected tigase package. For example if you want to turn debug logs on for package: Available since Tigase server version: 2.0.0 |
Property name: --debug-packages
|
Default value: none
Example: --debug-packages = com.company.CustomPlugin,com.company.custom
Example def: '--debug-packages = none'
Possible values: comma separated list of java packages or classes The property is used to turn debugging on for any package not necessarily within tigase packages. Available since Tigase server version: 5.0.0 |
Property name: --domain-filter-policy
|
Default value: ALL
Example: --domain-filter-policy = LOCAL
Example def: '--domain-filter-policy = ALL'
Possible values: ALL|LOCAL|OWN|BLOCK|LIST The property is a global settings for setting communication filtering for vhosts. This function is kind of extension of the same property which could be set on a single user level. However, in many cases it is desired to control users communication not on per user-level but on the domain level. Domain filtering (communication filtering) allows you to specify with whom users can communicate for a particular domain. It allows to restrict communication for a selected domains or for the entire installation. A default value Available since Tigase server version: 5.2.0 |
Property name: --ext-comp
|
Default value: none
Example: --ext-comp = localdomain,remotedomain,port,passwd,plain,accept
Example def: '--ext-comp = none'
Possible values: external connection definition string Deprecated in favor of '--external'. Support for this property is no longer maintained, please update your installation for the new way to connect external components. Available since Tigase server version: 2.0.0 |
Property name: --extcomp-repo-class
|
Default value: tigase.server.ext.CompConfigRepository
Example: --extcomp-repo-class = tigase.server.ext.CompConfigRepository
Example def: '--extcomp-repo-class = tigase.server.ext.CompConfigRepository'
Possible values: a class name implementing tigase.db.comp.ComponentRepository This can be used when '--external' is used to connect external components. The component responsible for maintaining external components connections can be reconfigured at run-time and can store configuration in a separate place, configuration file, database or any other data source. This property specifies implementation for this data source. Available since Tigase server version: 4.3.0 |
Property name: --external
|
Default value: none
Example: --external = muc1.devel.tigase.org:passwd1:connect:5270:devel.tigase.org:accept:lb-class
Example def: '--external = none'
Possible values: external domains parameters list The property defines parameters for external component connections. Available since Tigase server version: 4.3.0 |
Property name: --max-queue-size
|
Default value: depends on RAM size
Example: --max-queue-size = 10000
Example def: '--max-queue-size = depends on RAM size'
Possible values: integer number The property set internal queues maximum size to a specified value. By default the Tigase sets the queue size depending on the maximum available memory to the Tigase server process. It set's 1000 for each 100MB memory assigned for JVM. This is enough for most use cases. If you have, however extremely busy service with Pubsub or MUC component generating huge number of packets (presence or messages) this size should be equal or bigger to the maximum expected number of packets generated by the component in a single request. Otherwise the Tigase may drop packets which it is unable to process. Available since Tigase server version: 5.1.0 |
Property name: --monitoring
|
Default value: none
Example: --monitoring = jmx:9050,http:9080,snmp:9060
Example def: '--monitoring = none'
Possible values: list of monitoring protocols with port numbers The property activates monitoring interfaces through selected protocols on selected TCP/IP port numbers. For more details please refer to the monitoring guide for details. Available since Tigase server version: 4.0.0 |
Property name: --net-buff-high-throughput
|
Default value: 64k
Example: --net-buff-high-throughput = 256k
Example def: '--net-buff-high-throughput = 64k'
Possible values: network buffer size as integer The property sets the network buffer for high traffic connections like s2s or connections between cluster nodes. The default is 64k and is optimal for medium traffic websites. If your cluster installation can not cope with traffic between nodes try to increase this number. Available since Tigase server version: 4.3.0 |
Property name: --net-buff-standard
|
Default value: 2k
Example: --net-buff-standard = 16k
Example def: '--net-buff-standard = 2k'
Possible values: network buffer size as integer The property sets the network buffer for standard (usually c2s) connections, default value is 2k and is optimal for most of cases. Available since Tigase server version: 4.3.0 |
Property name: --new-connections-throttling
|
Default value: 5222:200,5223:50,5269:100,5280:1000
Example: --new-connections-throttling = 5222:100
Example def: '--new-connections-throttling = 5222:200,5223:50,5269:100,5280:1000'
Possible values: a list of port numbers with throttling thresholds as integer The property allows you to limit how many new users' connection per second the server accepts on a particular port. Connections established within the limit are processed normally, all others are simply disconnected. This allows you to avoid server overload in case there is a huge number of users trying to connect at the same time. Mostly this happens after the server restart. Available since Tigase server version: 5.1.0 |
Property name: --nonpriority-queue
|
Default value: false
Example: --nonpriority-queue = true
Example def: '--nonpriority-queue = false'
Possible values: true|false The property can be used to switch to non-priority queues usage in the Tigase server (value set to 'true'). Using non-priority queues prevents packets reordering. By default the Tigase uses priority queues which means that packets with highest priority may take over packets with lower priority (presence updates) which may result in packets arriving out of order. Available since Tigase server version: 5.0.0 |
Property name: --queue-implementation
|
Default value: tigase.util.PriorityQueueRelaxed
Example: --queue-implementation = tigase.util.PriorityQueueStrict
Example def: '--queue-implementation = tigase.util.PriorityQueueRelaxed'
Possible values: class name extending tigase.util.PriorityQueueAbstract The property sets the Tigase internal queue implementation. You can choose between already available and ready to use or you can create own queue implementation and let the Tigase load it instead of the default one. Available since Tigase server version: 5.1.0 |
Property name: --roster-implementation
|
Default value: RosterFlat.class.getCanonicalName()
Example: --roster-implementation=my.pack.CustomRosterImpl
Example def: '--roster-implementation = RosterFlat.class.getCanonicalName()'
Possible values: Class extending tigase.xmpp.impl.roster.RosterAbstract This property allows you to specify a different RosterAbstract implementation. This might be useful for a customized roster storage, or extended roster content or in some cases for some custom logic for certain roster elements. Available since Tigase server version: 5.2.0 |
Property name: --s2s-ejabberd-bug-workaround-active
|
Default value: false
Example: --s2s-ejabberd-bug-workaround-active = true
Example def: '--s2s-ejabberd-bug-workaround-active = false'
Possible values: true|false Property activates a workaround for a bug in EJabberd in it's s2s implementation. EJabberd does not send dialback in stream features after TLS handshaking even if the dialback is expected/needed. This results in unusable connection as EJabberd does not accept any packets on this connection either. The workaround is enabled by default right now until EJabberd version without the bug is popular enough. A disadvantage of the workaround is that dialback is always performed even if the SSL certificate is fully trusted and in theory dialback could be avoided. Available since Tigase server version: 5.1.0 |
Property name: --s2s-secret
|
Default value: <null>
Example: --s2s-secret = some-s2s-secret
Example def: '--s2s-secret = <null>'
Possible values: ascii string The property is a global settings for s2s secrets to generate dialback keys on the Tigase installation. By default it is null, which means the secret is automatically generated for each s2s connection and handshaking. This is a global property which is overridden by settings for particular vhost. A default settings for all virtual hosts for which the configuration is not defined. This settings is useful mostly for installations with many virtual hosts listed in the init.property file for which there is no individual settings specified. It allows to configure a default values for all of them, instead of having to provide individual configuration for each vhost. It is also applied as a default value for all new vhosts added at run-time. Available since Tigase server version: 5.2.0 |
Property name: --s2s-skip-tls-hostnames
|
Default value: none
Example: --s2s-skip-tls-hostnames = domain1,domain2
Example def: '--s2s-skip-tls-hostnames = none'
Possible values: comma separated list of domains The property disables TLS handshaking for s2s connections to selected remote domains. Unfortunately some servers (certain versions of Openfire - [1] or [2]) have problems with TLS handshaking over s2s which prevents establishing usable connection. This completely blocks any communication to these servers. As a workaround you can disable TLS for these domains to get communication back. Available since Tigase server version: 5.1.0 |
Property name: --script-dir
|
Default value: scripts/admin
Example: --script-dir = /opt/admin-scripts
Example def: '--script-dir = scripts/admin'
Possible values: path to a directory on the filesystem The property sets the directory where all administrator scripts for ad-hoc command are stored. Available since Tigase server version: 4.3.0 |
Property name: --sm-plugins
|
Default value: none
Example: --sm-plugins = -jabber:iq:register,+your-plugin
Example def: '--sm-plugins = none'
Possible values: comma separated list of plugins IDs The property allows to specify a list of plugins which should be loaded or disabled on the server. Normally you don't have to specify this. Server loads default list of plugins automatically. The default list contains all available plugins. Sometimes however you might want to load only some plugins. Typical use case is when user accounts are managed on your third-party system the Tigase server is integrated with. Then you might not want to allow users to register new accounts via XMPP service. You can then load a list of plugins without the user registration plugin. Another case when you usually have to use this option is when you have your own plugins which replace function of the Tigase default plugins like vCard, roster management, and so on.... Available since Tigase server version: 3.0.0 |
Property name: --sm-threads-pool
|
Default value: default
Example: --sm-threads-pool = custom:100
Example def: '--sm-threads-pool = default'
Possible values: default|custom:NN The property allows you to fine-tune the SM plugins (processors) thread pool. With the default settings every plugin gets his own thread pool. This guarantees the best performance and optimal resource usage. The downside of this setting is that packets can arrive out of order if they are processed within a different thread pools. Available since Tigase server version: 5.1.0 |
Property name: --ssl-certs-location
|
Default value: certs/
Example: --ssl-certs-location = /etc/vhost-certs
Example def: '--ssl-certs-location = certs/'
Possible values: location of SSL certificates directory on the filesystem The option allows you to specify location where SSL certificates are stored. Meaning of this property depends on the SSL container class implementation. By default it just points to the directory where the server SSL certificates are stored in files in PEM format. Available since Tigase server version: 5.1.0 |
Property name: --ssl-container-class
|
Default value: tigase.io.SSLContextContainer
Example: --ssl-container-class =
Example def: '--ssl-container-class = tigase.io.SSLContextContainer'
Possible values: a class implementing tigase.io.SSLContectContainerIfc The property allows you to specify a class implementing storage for SSL/TLS certificates. The class presented in the example to this description allows for loading certificates from PEM files which is a common storage used on many systems. Available since Tigase server version: 5.0.0 |
Property name: --ssl-def-cert-domain
|
Default value: default
Example: --ssl-def-cert-domain =
Example def: '--ssl-def-cert-domain = default'
Possible values: DNS domain name The property allows you to specify a default alias/domain name for certificate. It is mostly used to load certificate for unknown domain name during SSL negotiation. Unlike in TLS protocol, where the domain name is known at the handshaking time, for SSL domain name is not known, therefore, the server does not know which certificate to use. Specifying domain name in this property allows you to use certificate for specific domain in such case. This property value is also sometimes used if there is no certificate for one of virtual domains and the container does not automatically generate a self-signed certificate, then it can use the default one. Available since Tigase server version: 5.1.0 |
Property name: --stats-history
|
Default value: none
Example: --stats-history=2160,10
Example def: '--stats-history = none'
Possible values: SIZE-NUM,INTERVAL_NUM The Tigase XMPP Server can store server statistics internally for a given period of time. This allows you to connect to a running system and collect all the server metrics along with historic data which are stored on the server. Available since Tigase server version: 5.0.0 |
Property name: --stringprep-processor
|
Default value: simple
Example: --stringprep-processor = libidn
Example def: '--stringprep-processor = simple'
Possible values: simple|libidn|empty The property sets the stringprep processor for all JIDs handled by the Tigase server. The default ' Available since Tigase server version: 5.0.0 |
Property name: --test
|
Default value: false
Example: --test
Example def: '--test = false'
Possible values: true|false|empty-string This property sets the server for a test mode, which means that all loggings are turned off, message offline storage is off and possibly some other changes to the system configuration are being made. Available since Tigase server version: 2.0.0 |
Property name: --tigase-config-repo-class
|
Default value: tigase.conf.ConfigurationCache
Example: --tigase-config-repo-class = tigase.conf.ConfigXMLRepository
Example def: '--tigase-config-repo-class = tigase.conf.ConfigurationCache'
Possible values: name of class implementing tigase.conf.ConfigRepositoryIfc This property is a parameter which allows loading different configuration storage engines. The default one stores configuration in memory only. Other possible are: Available since Tigase server version: 5.0.0 |
Property name: --tigase-config-repo-uri
|
Default value: none
Example: --tigase-config-repo-uri = jdbc:mysql://localhost/tigase?user=root&password=mypass
Example def: '--tigase-config-repo-uri = none'
Possible values: DB connection URI string This property is a parameter which allows to provide database connection string for configuration storage engines which keep server settings in database. Available since Tigase server version: 5.0.0 |
Property name: --tls-jdk-nss-bug-workaround-active
|
Default value: false
Example: --tls-jdk-nss-bug-workaround-active = true
Example def: '--tls-jdk-nss-bug-workaround-active = false'
Possible values: true|false Workaround for TLS/SSL bug in new JDK7 using native library for keys generation and connection encryption used with new version of nss library. Available since Tigase server version: 5.2.0 |
Property name: --trusted
|
Default value: none
Example: --trusted = user@domain.com,user-2@domain2.com
Example def: '--trusted = none'
Possible values: comma separated list of user bare JIDs The property allows to specify a list of accounts which are considered as trusted, thus can perform some specific actions on the server. They can execute some commands, send a broadcast message, set MOTD and so on. The configuration is similar to '--adimins' setting. Available since Tigase server version: 3.0.0 |
Property name: --user-db
|
Default value: mysql
Example: --user-db = ldap
Example def: '--user-db = mysql'
Possible values: UserRepository implementation class name or predefined string The property allows to specify UserRepository implementation - a storage where all users' data are located. Users' data include contact list (roster), privacy lists, vCards, and similar. Everything except user authentication information. The implementation can be defined by one of possible values: Available since Tigase server version: 2.0.0 |
Property name: --user-db-uri
|
Default value: jdbc:mysql://localhost/tigase?user=root&password=mypass
Example: --user-db-uri = jdbc:postgresql://localhost/tigase?user=tigase
Example def: '--user-db-uri = jdbc:mysql://localhost/tigase?user=root&password=mypass'
Possible values: Database connection URI The property specify database connection string - 'connection-uri', where 'connection-uri' is a full resource uri for user repository data source. If you skip this parameter default value is used depending on database type you selected:
Available since Tigase server version: 2.0.0 |
Property name: --user-domain-repo-pool
|
Default value: tigase.db.UserRepositoryMDImpl
Example: --user-domain-repo-pool = tigase.db.UserRepositoryMDImpl
Example def: '--user-domain-repo-pool = tigase.db.UserRepositoryMDImpl'
Possible values: Name of class implementing UserRepository The property allows specify an implementation for per-domain Available since Tigase server version: 5.1.0 |
Property name: --user-repo-pool
|
Default value: tigase.db.UserRepositoryPool
Example: --user-repo-pool = tigase.db.UserRepositoryPool
Example def: '--user-repo-pool = tigase.db.UserRepositoryPool'
Possible values: Name of class implementing UserRepository The property allows to specify an implementation for the repository connection pool. This is used only if the implementation provided by a default Tigase server package is not sufficient in the particular deployment. The implementation provides a DB (UserRepository to be more specific) connection pool to improve the data access performance. The repository pool can offer data caching for improved performance or any other features necessary. Available since Tigase server version: 5.1.0 |
Property name: --user-repo-pool-size
|
Default value: 10
Example: --user-repo-pool-size = 25
Example def: '--user-repo-pool-size = 10'
Possible values: Number of db connections as integer The property allows to set the database connections pool size for the UserRepository. Available since Tigase server version: 4.0.0 |
Property name: --vhost-anonymous-enabled
|
Default value: true
Example: --vhost-anonymous-enabled = false
Example def: '--vhost-anonymous-enabled = true'
Possible values: true|false The property specifies whether anonymous user login is allowed for the installation for all vhosts. This is a global property which is overridden by settings for particular vhost. A default settings for all virtual hosts for which the configuration is not defined. This settings is useful mostly for installations with many virtual hosts listed in the It is also applied as a default value for all new vhosts added at run-time. Available since Tigase server version: 5.2.0 |
Property name: --vhost-max-users
|
Example: --vhost-max-users = 1000
Example def: '--vhost-max-users = 0'
Possible values: integer number The property specifies how many user accounts can be registered on the installations for all vhosts. This is a global property which is overridden by settings for particular vhost. A default settings for all virtual hosts for which the configuration is not defined. This settings is useful mostly for installations with many virtual hosts listed in the It is also applied as a default value for all new vhosts added at run-time. Available since Tigase server version: 5.2.0 |
Property name: --vhost-message-forward-jid
|
Default value: <null>
Example: --vhost-message-forward-jid = archive@domain.com
Example def: '--vhost-message-forward-jid = <null>'
Possible values: valid JID This is a global property for message forwarding for the installation. This property is normally specified on the vhost configuration level, however if you want to forward all messages on your installation and you have many virtual domains this property allows to set message forwarding for all of them. A valid JID must be specified as the forwarding destination. Also a message forwarding plugin must be loaded and activated on the installation for the message forwarding to work. This is a global property which is overridden by settings for particular vhost. A default settings for all virtual hosts for which the configuration is not defined. This settings is useful mostly for installations with many virtual hosts listed in the It is also applied as a default value for all new... Available since Tigase server version: 5.2.0 |
Property name: --vhost-presence-forward-jid
|
Default value: <null>
Example: --vhost-presence-forward-jid = presence-collector@domain.com
Example def: '--vhost-presence-forward-jid = <null>'
Possible values: valid JID This is a global property for presence forwarding function for the installation. All user status presences will be forwarded to given XMPP address which can be a component or any other XMPP entity. If the destination entity is a bot connected via c2s connection it probably should be addressed via full JID (with resource part) or the standard XMPP presence processing would refuse to deliver presences from users who are not in the contact list. This is a global property which is overridden by settings for particular vhost. A default settings for all virtual hosts for which the configuration is not defined. This settings is useful mostly for installations with many virtual hosts listed in the It is also applied as a default value for all new vhosts added at run-time. Available since Tigase server version: 5.2.0 |
Property name: --vhost-register-enabled
|
Default value: true
Example: --vhost-register-enabled = false
Example def: '--vhost-register-enabled = true'
Possible values: true|false This is a global property which allows you to switch on/off user registration on the installation. Setting this property to This is a global property which is overridden by settings for particular vhost. A default settings for all virtual hosts for which the configuration is not defined. This settings is useful mostly for installations with many virtual hosts listed in the It is also applied as a default value for all new vhosts added at run-time. Available since Tigase server version: 5.2.0 |
Property name: --vhost-tls-required
|
Default value: false
Example: --vhost-tls-required = true
Example def: '--vhost-tls-required = false'
Possible values: true|false The property is a global settings to switch on/off TLS required mode on the Tigase installation. Setting this property to This is a global property which is overridden by settings for particular vhost. A default settings for all virtual hosts for which the configuration is not defined. This settings is useful mostly for installations with many virtual hosts listed in the It is also applied as a default value for all new vhosts added at run-time. Available since Tigase server version: 5.2.0 |
Property name: --virt-hosts
|
Default value: hostname
Example: --virt-hosts = domain1,domain2,domain3
Example def: '--virt-hosts = hostname'
Possible values: comma separated list of domains The property allows to set a list of virtual domains served by the installation. This is just a list of virtual domains loaded at the startup time. Domains can be added, removed, disabled or updated at runtime. All the actual domain metadata are stored in the database.
Some metadata for vhosts can be also provided in the Available since Tigase server version: 4.3.0 |
Property name: config-type
|
Default value: --gen-config-def
Example def: 'config-type = --gen-config-def'
Possible values: --gen-config-def|--gen-config-all|--gen-config-sm|--gen-config-cs|--gen-config-comp Probably the only such a property not starting with double hyphen. It sets the server type and determines what components are included in the generated XML file. Possible values are listed below:
Available since Tigase server version: 2.0.0 |
- Add new comment
- 1375 reads





Recent comments
21 hours 12 min ago
3 days 10 min ago
3 days 1 hour ago
3 days 9 hours ago
3 days 19 hours ago
3 days 21 hours ago
3 days 21 hours ago
4 days 20 hours ago
4 days 23 hours ago
4 days 23 hours ago