Feed aggregator

Installation and maintenance: RE: Would tigase 7.1.0 support emojies storage in archived tables?

Tigase XMPP Server Board - Mon, 04/24/2017 - 15:02

You could switch to the latest nightlies releases of Tigase, but those are development version.

You could try back-porting changes related to the support of emoji (no, we don't plan to backport it).

Categories: Tigase Forums

Installation and maintenance: RE: Long connection time with TLS

Tigase XMPP Server Board - Mon, 04/24/2017 - 15:00

Well, it would be better to investigate why it's slow in the first place.

Have you checked what causes the delay? At what point exactly? Have you investigated Tigase logs?

Categories: Tigase Forums

Installation and maintenance: RE: Tigase rest server does not return any response after some time

Tigase XMPP Server Board - Tue, 04/18/2017 - 03:13

This data is from my local machine and I agree the db connection might be slow in that case.

But on production we have a dedicated amazon ec2 node for tigase server. There it happened after a very long time (may be 2 3 months).

I would try to user jetty and collect more information. Will get back to you.

Thanks for your support.

Categories: Tigase Forums

Installation and maintenance: RE: Tigase rest server does not return any response after some time

Tigase XMPP Server Board - Tue, 04/18/2017 - 02:31

Between following lines:
2017-04-18 11:23:24.805* [Thread-89] java_util_logging_Logger$finest.call() FINEST: found handler 2017-04-18 11:25:40.245* [Thread-89] java_util_logging_Logger$finest.call() FINEST: received content = {"command":{"node":"http://jabber.org/protocol/admin#send-iq","fields":[{"var":"from-jid","label":"jid-single","value":"red@localhost"},{"var":"to-jid","label":"jid-single","value":"pink@localhost"},{"var":"iq-type","label":"list-single","value":"set"},{"var":"inner-stanza","label":"text-multi","value":"<gram xmlns=\"http://abc.com/protocol/ABCEXT\" type=\"text\" ><text>Some text</text></gram>"}],"jid":null}}of type = application/json

server does:
  • authorization of a requests
    In case of /adhoc requests user needs to be authorized as an admin to be able to execute command. To do so we are authorizing user by verification of provided username and password. During this operation server retrieves user password from database, so it may happen that over time access to database is slowing down.
  • reads data from input stream
    It is possible that over time it is harder and harded to connect to server (ie. due to increasing traffic) and as a result read of data from a network stream is slowed leading to delays.

I would suggest to check if any of situations described above are happening and if not, then I would check size of allocated memory for Tigase XMPP Server as garbage collection may also lead to hang ups.

How many requests is executed per second?
Maybe JVM embedded HTTP server is to slow and not as performant as you would expect?

In this case I would recommend to try Jetty as a HTTP server as described on our wiki page.

Categories: Tigase Forums

Installation and maintenance: RE: Tigase rest server does not return any response after some time

Tigase XMPP Server Board - Mon, 04/17/2017 - 23:02

I have enabled the log to FINEST level.
2017-04-18 11:23:24.804 [Thread-89] java_util_logging_Logger$finest.call() FINEST: checking routings = [tigase.rest.adhoc.AdHocHandler@6c455804] for prefix = /rest/adhoc and uri = /sess-man@localhost 2017-04-18 11:23:24.805 [Thread-89] java_util_logging_Logger$finest.call() FINEST: checking localUri = /sess-man@localhost, prefix = /rest/adhoc, regex = /(?:([^@/]+)@){0,1}([^@/]+) *2017-04-18 11:23:24.805* [Thread-89] java_util_logging_Logger$finest.call() FINEST: found handler *2017-04-18 11:25:40.245* [Thread-89] java_util_logging_Logger$finest.call() FINEST: received content = {"command":{"node":"http://jabber.org/protocol/admin#send-iq","fields":[{"var":"from-jid","label":"jid-single","value":"red@localhost"},{"var":"to-jid","label":"jid-single","value":"pink@localhost"},{"var":"iq-type","label":"list-single","value":"set"},{"var":"inner-stanza","label":"text-multi","value":"<gram xmlns=\"http://abc.com/protocol/ABCEXT\" type=\"text\" ><text>Some text</text></gram>"}],"jid":null}}of type = application/json 2017-04-18 11:25:40.247 [Thread-89] java_util_logging_Logger$finest.call() FINEST: parsed received content = [command:[node:http://jabber.org/protocol/admin#send-iq, jid:null, fields:[[var:from-jid, value:red@localhost, label:jid-single], [var:to-jid, value:pink@localhost, label:jid-single], [var:iq-type, value:set, label:list-single], [var:inner-stanza, value:<gram xmlns="http://abc.com/protocol/ABCEXT" type="text"><text>Some text.</text></gram>, label:text-multi]]]]

When the server is started, the response to a REST call is very fast (<1000ms). After sometime, it starts taking more time and eventually hangs up.

Please note the time difference b/w found handler and the next line which is more than 2 minutes.

2017-04-18 11:23:24.805
2017-04-18 11:25:40.245

Can you please let me know what is the issue here.

Below is my configuration

--comp-name-3=http --comp-class-3=tigase.http.HttpMessageReceiver http/rest/api-keys[s]=open_access

Tigase version 7.0.2
Tigase HTTP API version 1.1.0

Categories: Tigase Forums

Installation and maintenance: RE: Tigase rest server does not return any response after some time

Tigase XMPP Server Board - Sun, 04/16/2017 - 23:20

We are using built-in http server. I encountered this problem again.

Categories: Tigase Forums

Installation and maintenance: Long connection time with TLS

Tigase XMPP Server Board - Thu, 04/13/2017 - 05:02

Hello
I configure my own tigase server to authorization with TLS.
All working. But connection time is long, some a few seconds.
Can i configure my client or server to do connect faster?

Categories: Tigase Forums

Installation and maintenance: RE: Tigase 7.2 DSL (HOWTO)

Tigase XMPP Server Board - Tue, 04/11/2017 - 03:10

Tryed!
Installation was finish with schema problem at this moment.
So i think, the build is VERY raw at this moment. There many simple issues, mistakes e.t.c
So, i will waiting. I hope you update this topic when we can try new build with new services.

Categories: Tigase Forums

Installation and maintenance: RE: Tigase 7.2 DSL (HOWTO)

Tigase XMPP Server Board - Tue, 04/11/2017 - 02:33

You can try it. You need to use config which I provided to you and manually apply schema to your database (schema files are available here: https://projects.tigase.org/projects/tigase-http-api/repository/revisions/master/show/database)

Categories: Tigase Forums

Installation and maintenance: RE: Tigase 7.2 DSL (HOWTO)

Tigase XMPP Server Board - Mon, 04/10/2017 - 23:14
You need to keep in mind that Tigase XMPP Server 7.2.0-SNAPSHOT is still our development version and it is not stable yet (there are some issues which we need to fix) and installer for this version is still work in progress, ie. it is not able to load database schema for additional components (like HTTP File Upload Component).
So, i can't use this functional at this moment, before you add installer ? I am waiting this very long. When we can try it?
Categories: Tigase Forums

Installation and maintenance: RE: Tigase 7.2 DSL (HOWTO)

Tigase XMPP Server Board - Mon, 04/10/2017 - 08:38

Alex Kobzar wrote:

Hello.
I'm very sorry.
But i'm stuck.

Many time i ask you about HTTP user storage for receive files with web link interface.
So, at the moment you answered about it in another post.

I was start reading documentation. And as i understand - i must use Tigase 7.2 version.
Because i must setup my @upload section in init.properties file.

Yes, you are correct.

In the official doc i found next:
"From Tigase XMPP Server 7.2.0 release it will be possible to use new DSL based configuration file format"
So, i downloaded 7.2 version from nightly build, unpack it and copy it to my working directory (/etc/tigase)
After this i just run my new tigase installation and connect to web interface http://chat.myserver.com:8080/setup/ and finish setup.
After this steps i already have this config:

[...]
But after installation was finish and restart the server i have a lot of errors in my LOG file.And server isn't work properly.

I reviewed log which you attached and found issues in installed which caused generation of invalid config file. Tomorrows snapshot build will have proper fixes for this issues (#5290, #5292).

You need to keep in mind that Tigase XMPP Server 7.2.0-SNAPSHOT is still our development version and it is not stable yet (there are some issues which we need to fix) and installer for this version is still work in progress, ie. it is not able to load database schema for additional components (like HTTP File Upload Component).

Another question - all settings in DOCUMENT for old type. Where we can find actual info and examples for FULL DSL server config ?

I'm not sure what do you have in mind. We are currently in progress of updating our documentation, so it will contain DSL examples instead of old configuration format examples. Some documentations are already converted but main part (core Tigase XMPP Server documentation) is not finished yet.

You configuration file should look like this:
--debug = server --virt-hosts = chat.myserver.com admin = [ 'kobzar@chat.myserver.com' ] 'config-type' = 'default' dataSource () { default () { uri = 'jdbc:postgresql://localhost/tigdb?user=tigu&password=PASS' } } http () { setup () { 'admin-password' = 'PASSWORD' 'admin-user' = 'kobzar' } } 'sess-man' () { 'http://jabber.org/protocol/jingle' () {} 'http://jabber.org/protocol/offline' () {} 'jingle-archive' () {} 'login-history' () {} presence () {} 'presence-offline' () {} zlib (active: false) {} } upload () {}

Categories: Tigase Forums

Installation and maintenance: Tigase 7.2 DSL (HOWTO)

Tigase XMPP Server Board - Mon, 04/10/2017 - 06:27

Hello.
I'm very sorry.
But i'm stuck.

Many time i ask you about HTTP user storage for receive files with web link interface.
So, at the moment you answered about it in another post.

I was start reading documentation. And as i understand - i must use Tigase 7.2 version.
Because i must setup my @upload section in init.properties file.

In the official doc i found next:
"From Tigase XMPP Server 7.2.0 release it will be possible to use new DSL based configuration file format"
So, i downloaded 7.2 version from nightly build, unpack it and copy it to my working directory (/etc/tigase)
After this i just run my new tigase installation and connect to web interface http://chat.myserver.com:8080/setup/ and finish setup.
After this steps i already have this config:

--debug = server --virtual-hosts = chat.myserver.com admin = [ 'kobzar@chat.myserver.com' ] 'config-type' = 'default' default () { uri = 'jdbc:postgresql://localhost/tigdb?user=tigu&password=PASS' } http () { setup () { 'admin-password' = 'PASSWORD' 'admin-user' = 'kobzar' } } 'sess-man' () { 'http://jabber.org/protocol/jingle' () {} 'http://jabber.org/protocol/offline' () {} 'jingle-archive' () {} 'login-history' () {} presence () {} 'presence-offline' () {} zlib (active: false) {} } upload () {}
But after installation was finish and restart the server i have a lot of errors in my LOG file.And server isn't work properly.
Another question - all settings in DOCUMENT for old type. Where we can find actual info and examples for FULL DSL server config ?

(My log)

componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.xml.XMLUtils} componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.util.ClassUtil} componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.XMPPServer} 2017-04-10 12:41:58.001 [main] ConfiguratorAbstract.parseArgs() CONFIG: Setting defaults: --property-file = etc/init.properties 2017-04-10 12:41:59.919 [main] AbstractBeanConfigurator.registerBeans() WARNING: unknown class null for bean default, skipping registration of a bean 2017-04-10 12:41:59.954 [main] DNSResolverDefault.<init>() WARNING: Resolving default host name: chat.domain.com took: 20 2017-04-10 12:42:00.068 [main] Kernel.injectDependencies() WARNING: Could not initialize bean instance (class: interface tigase.db.UserRepository), skipping injection of this bean 2017-04-10 12:42:00.070 [main] Kernel.injectDependencies() WARNING: Can't inject dependency to bean default (class: class tigase.db.beans.UserRepositoryMDPoolBean$UserRepositoryConfigBean) unloading bean default 2017-04-10 12:42:00.098 [main] Kernel.injectDependencies() WARNING: Could not initialize bean default (class: class tigase.server.amp.db.MsgRepository$MsgRepositoryMDBean$MsgRepositoryConfigBean), skipping injection of this bean 2017-04-10 12:42:00.152 [main] Kernel.injectDependencies() WARNING: Could not initialize bean default (class: class tigase.server.amp.db.MsgBroadcastRepository$MsgBroadcastRepositoryBean$MsgBroadcastRepositoryConfigBean), skipping injection of this bean 2017-04-10 12:42:00.172 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:00.173 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: amp :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.amp.AmpComponent} 2017-04-10 12:42:01.072 [main] Kernel.injectDependencies() WARNING: Could not initialize bean default (class: class tigase.http.upload.db.FileUploadRepositoryPool$FileUploadRepositoryConfigBean), skipping injection of this bean 2017-04-10 12:42:01.094 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:01.095 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean 2017-04-10 12:42:01.103 [main] Kernel.injectDependencies() WARNING: Could not initialize bean logic (class: class tigase.http.upload.logic.DefaultLogic), skipping injection of this bean 2017-04-10 12:42:01.103 [main] Kernel.injectDependencies() WARNING: Could not initialize bean fileServletContext (class: class tigase.http.upload.FileServlet$FileServletContext), skipping injection of this bean 2017-04-10 12:42:01.104 [main] Kernel.injectDependencies() WARNING: Could not initialize bean httpModule (class: class tigase.http.upload.HttpModule), skipping injection of this bean 2017-04-10 12:42:01.105 [main] Kernel.injectDependencies() WARNING: Could not initialize bean upload (class: class tigase.http.upload.FileUploadComponent), skipping injection of this bean 2017-04-10 12:42:01.151 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:01.152 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean 2017-04-10 12:42:01.155 [main] Kernel.injectDependencies() WARNING: Could not initialize bean seeOtherHost (class: class tigase.server.xmppclient.SeeOtherHost), skipping injection of this bean 2017-04-10 12:42:01.177 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:01.178 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: bosh :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.bosh.BoshConnectionManager} 2017-04-10 12:42:01.481 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:01.482 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: stats :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.stats.StatisticsCollector} 2017-04-10 12:42:01.755 [main] UserRepositoryMDImpl.getData() WARNING: Couldn't obtain user repository for domain: sess-man, not even default one! 2017-04-10 12:42:01.793 [main] Kernel.injectDependencies() WARNING: Could not initialize bean http://jabber.org/protocol/offline (class: class tigase.xmpp.impl.FlexibleOfflineMessageRetrieval), skipping injection of this bean Loading plugin: http://jabber.org/protocol/stats=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: jabber:iq:version=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: urn:ietf:params:xml:ns:xmpp-sasl=128:292 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: default-handler=128:292 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: jabber:iq:roster=128:292 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: presence-offline=128:292 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: starttls=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: jabber:iq:auth=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: message-archive-xep-0136=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: session-close=128:292 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: presence-subscription=128:292 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: pep=64:584 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: urn:xmpp:time=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: message-carbons=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: urn:xmpp:mam:1=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: jabber:iq:private=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: jingle-archive=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: jabber:iq:privacy=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: vcard-temp=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: http://jabber.org/protocol/commands=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: urn:xmpp:csi:0=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: jabber:iq:register=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: disco=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: presence-state=128:292 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: urn:xmpp:ping=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: urn:xmpp:blocking=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: session-open=64:584 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: urn:ietf:params:xml:ns:xmpp-bind=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: vcard-xep-0292=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: presence=128:292 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: urn:ietf:params:xml:ns:xmpp-session=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: amp=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) Loading plugin: http://jabber.org/protocol/jingle=32:1169 ... , version: 7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12) 2017-04-10 12:42:02.230 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:02.231 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: sess-man :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.xmppsession.SessionManager} 2017-04-10 12:42:05.654 [main] PubSubConfig.initialize() WARNING: Configurator was not injected! 2017-04-10 12:42:05.689 [main] Kernel.injectDependencies() WARNING: Could not initialize bean default (class: class tigase.pubsub.repository.PubSubDAOPool$PubSubDAOConfigBean), skipping injection of this bean 2017-04-10 12:42:05.898 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:05.899 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: pubsub :: componentInfo{Title=Tigase PubSub, Version=3.3.0-SNAPSHOT-b600/afaad04e-7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.pubsub.PubSubComponent} 2017-04-10 12:42:06.914 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:06.915 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean 2017-04-10 12:42:06.931 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:06.931 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean 2017-04-10 12:42:06.934 [main] Kernel.injectDependencies() WARNING: Could not initialize bean seeOtherHost (class: class tigase.server.xmppclient.SeeOtherHost), skipping injection of this bean 2017-04-10 12:42:06.950 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:06.951 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: c2s :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.xmppclient.ClientConnectionManager} 2017-04-10 12:42:07.128 [main] UserRepositoryMDImpl.userExists() WARNING: Couldn't obtain user repository for domain: tigase-monitor, not even default one! 2017-04-10 12:42:07.128 [main] UserRepositoryMDImpl.addUser() WARNING: Couldn't obtain user repository for domain: tigase-monitor, not even default one! 2017-04-10 12:42:07.128 [main] UserRepositoryMDImpl.getData() WARNING: Couldn't obtain user repository for domain: tigase-monitor, not even default one! 2017-04-10 12:42:07.157 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:07.157 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: monitor :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.monitor.MonitorComponent} 2017-04-10 12:42:07.257 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:07.258 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean 2017-04-10 12:42:07.261 [main] Kernel.injectDependencies() WARNING: Could not initialize bean seeOtherHost (class: class tigase.server.xmppclient.SeeOtherHost), skipping injection of this bean 2017-04-10 12:42:07.278 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:07.279 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: ws2s :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.websocket.WebSocketClientConnectionManager} 2017-04-10 12:42:07.426 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:07.427 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: s2s :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.xmppserver.S2SConnectionManager} 2017-04-10 12:42:07.640 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:07.641 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: eventbus :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.eventbus.component.EventBusComponent} 2017-04-10 12:42:07.801 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:07.801 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: http :: componentInfo{Title=Tigase HTTP API component: Tigase HTTP API component, Version=1.3.0-SNAPSHOT-b181/07311ea4-7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.http.HttpMessageReceiver} 2017-04-10 12:42:07.948 [main] Kernel.injectDependencies() WARNING: Could not initialize bean default (class: class tigase.muc.repository.MucDAOMDBean$MucDAOProviderConfigBean), skipping injection of this bean 2017-04-10 12:42:07.990 [main] Kernel.injectDependencies() WARNING: Could not initialize bean default (class: class tigase.muc.history.HistoryProviderMDBean$HistoryProviderConfigBean), skipping injection of this bean 2017-04-10 12:42:08.041 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:08.042 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: muc :: componentInfo{Title=Tigase MUC, Version=2.5.0-SNAPSHOT-b503/7695f8f6-7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.muc.MUCComponent} 2017-04-10 12:42:08.229 [main] Kernel.injectDependencies() WARNING: Could not initialize bean default (class: class tigase.archive.db.MessageArchiveRepositoryPool$MessageArchiveRepositoryConfigBean), skipping injection of this bean 2017-04-10 12:42:08.301 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:08.302 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: message-archive :: componentInfo{Title=Tigase Message Archiving Component, Version=1.3.0-SNAPSHOT-b190/ab02cc19-7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.archive.MessageArchiveComponent} 2017-04-10 12:42:08.885 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:08.886 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean Loading component: message-router :: componentInfo{Title=Tigase XMPP Server, Version=7.2.0-SNAPSHOT-b4768/37114a57 (2017-04-09/23:10:12), Class=tigase.server.MessageRouter} 2017-04-10 12:42:08.972 [main] Kernel.injectDependencies() WARNING: Could not initialize bean default (class: class tigase.http.upload.db.FileUploadRepositoryPool$FileUploadRepositoryConfigBean), skipping injection of this bean 2017-04-10 12:42:08.978 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:08.978 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean 2017-04-10 12:42:08.983 [main] Kernel.injectDependencies() WARNING: Could not initialize bean logic (class: class tigase.http.upload.logic.DefaultLogic), skipping injection of this bean 2017-04-10 12:42:08.984 [main] Kernel.injectDependencies() WARNING: Could not initialize bean fileServletContext (class: class tigase.http.upload.FileServlet$FileServletContext), skipping injection of this bean 2017-04-10 12:42:08.984 [main] Kernel.injectDependencies() WARNING: Could not initialize bean httpModule (class: class tigase.http.upload.HttpModule), skipping injection of this bean 2017-04-10 12:42:08.984 [main] Kernel.injectDependencies() WARNING: Could not initialize bean upload (class: class tigase.http.upload.FileUploadComponent), skipping injection of this bean 2017-04-10 12:42:08.993 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhostRepository (class: class tigase.vhosts.VHostManager$DefVHostRepositoryBean), skipping injection of this bean 2017-04-10 12:42:08.993 [main] Kernel.injectDependencies() WARNING: Could not initialize bean vhost-man (class: class tigase.vhosts.VHostManager), skipping injection of this bean 2017-04-10 12:42:08.998 [main] DSLBeanConfigurator.dumpConfiguration() WARNING: Dumping full server configuration to: etc/config-dump.properties == 2017-04-10 12:42:09.036 Server finished starting up and (if there wasn't any error) is ready to use
Categories: Tigase Forums

Installation and maintenance: RE: SSL issue while connecting to Tigase XMPP Server through client

Tigase XMPP Server Board - Mon, 04/10/2017 - 04:09

It seems your server has certificate signed by CA what is not included into VM trusted certs.

You have to write own implementation of javax.net.ssl.TrustManager and put it into jaxmpp:
TrustManager[] managers = … jaxmpp.getSessionObject().setUserProperty(Connector.TRUST_MANAGERS_KEY, managers);

Categories: Tigase Forums

Installation and maintenance: RE: Would tigase 7.1.0 support emojies storage in archived tables?

Tigase XMPP Server Board - Sat, 04/08/2017 - 02:18

Thank you very much. I see the issue with emojis have been out for awhile and thought it would have been resolved. Would you please advise what I could for for the current Mysql database to support emojis?

Categories: Tigase Forums

Installation and maintenance: RE: Upgrade to tigase 7.1.0 from 7.0.2 without upgrading database (...

Tigase XMPP Server Board - Sat, 04/08/2017 - 02:16

Thank you very much. This does help me decide whether I need to upgrade and how to do it.

Categories: Tigase Forums

Installation and maintenance: SSL issue while connecting to Tigase XMPP Server through client

Tigase XMPP Server Board - Fri, 04/07/2017 - 00:43

Hi,

I have installed and configured Tigase Server on our own server. It is configured correctly. But when I login to credentials through android client I am getting SSL Trust Certificate path file not found and not able to connect. Can you Please help me out this issue.

Here is the screenshot attached what i am getting it. In web, it is logged in but through client not connection error (i.e) trust certficate path file not found.

Thanks,
Raviteja

Categories: Tigase Forums

API and development: RE: Confusing problem debugging server in Eclipse

Tigase XMPP Server Board - Thu, 04/06/2017 - 17:21

There seems to be some problem with the paths. I was finally able to get the server to run in the debugger using some brute force on the location of the jars. At least I can move forward now and figure out the problem later. Thank you for your help on this!

Categories: Tigase Forums

Installation and maintenance: RE: see-other-host

Tigase XMPP Server Board - Thu, 04/06/2017 - 11:13

Is it disabled with above switch?

Categories: Tigase Forums

Installation and maintenance: RE: see-other-host

Tigase XMPP Server Board - Thu, 04/06/2017 - 11:00

Yes, Tigase has a built-in load balancer which is active by default. You can switch it off if you prefer your won load balancer.

Categories: Tigase Forums

Installation and maintenance: see-other-host

Tigase XMPP Server Board - Thu, 04/06/2017 - 08:14

Hi guys,

We are running a cluster of 3 Tigase servers. In front of that we have a F5 loadbalancer with persistence for 6 hours per connection and will make sure it always connects to node that has the least connections.

We are beginning to see this on the clients:

<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='tigase-error-tigase' from='xmpp.yousee.tv' version='1.0' xml:lang='en'><stream:error><see-other-host xmlns="urn:ietf:params:xml:ns:xmpp-streams">p-xmpp01.yousee.idk</see-other-host></stream:error></stream:stream>

But the hostname is an internal hostname, and can only be access from the inside of the F5, how can we fix this.

Should all nodes be accessible on the internet? Do Tigase / ACS load balance by it self, so we don't need F5?

I have added this to the init.properties file for now.

--cm-see-other-host=none

to see if it fixes it. Still testing on this.

/Tue

Categories: Tigase Forums

Pages

Get in touch

We provide software products, consulting and custom development services

Tigase, Inc.
100 Pine Street, Suite 1250
San Francisco, CA 94111, USA
Phone: (415) 315 9771

Follow us on:

Twitter

  • New Blog post: experiences with Tigase Messenger for iOS: https://t.co/0iP7bTfjCX 3 days 21 hours ago
  • Trying out our new iOS application and have questions? Check out documentation if you need help. https://t.co/omsDijTW1k 6 days 5 hours ago
Back to Top