Feed aggregator

Installation and maintenance: RE: the --cm-see-other-host use of

Tigase XMPP Server Board - Thu, 09/29/2016 - 04:41

Moffitt tig wrote:

hi !
Use tigase7.1 version ,Add in the init.properties is as follows:
--cm-see-other-host=tigase.server.xmppclient.SeeOtherHostDB

Start the tigase Abnormal as follows:
[...]
This is why?

Thank you for the report - I've corrected the error and pushed the change to the repository.

--cm-see-other-host What is the role of?
Thank you in advance!

Please familiarize yourself with the documentation:
Categories: Tigase Forums

API and development: RE: chat with multi vhosts

Tigase XMPP Server Board - Thu, 09/29/2016 - 04:15

Your configuration looks correct.

Please share full stanza exchange from your clients as well as logs from the server (but please clear logs before starting the server and trying to reproduce the case).

Categories: Tigase Forums

Installation and maintenance: the --cm-see-other-host use of

Tigase XMPP Server Board - Thu, 09/29/2016 - 04:14

hi !
Use tigase7.1 version ,Add in the init.properties is as follows:
--cm-see-other-host=tigase.server.xmppclient.SeeOtherHostDB

Start the tigase Abnormal as follows:
2016-09-29 19:12:41.874 [main] SeeOtherHostDB.setProperties() SEVERE: Cannot initialize connection to database: java.sql.SQLException: Can't create table `tigasedb710`.`tig_see_other_hosts` (errno: 150 "Foreign key constraint is incorrectly formed") at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1072) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3563) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3495) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2687) at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1647) at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1566) at tigase.db.jdbc.DataRepositoryImpl.checkTable(DataRepositoryImpl.java:144) at tigase.db.DataRepositoryPool.checkTable(DataRepositoryPool.java:113) at tigase.server.xmppclient.SeeOtherHostDB.checkDB(SeeOtherHostDB.java:205) at tigase.server.xmppclient.SeeOtherHostDB.initRepository(SeeOtherHostDB.java:180) at tigase.server.xmppclient.SeeOtherHostDB.setProperties(SeeOtherHostDB.java:167) at tigase.server.xmppclient.ClientConnectionManager.setProperties(ClientConnectionManager.java:621) at tigase.server.websocket.WebSocketClientConnectionManager.setProperties(WebSocketClientConnectionManager.java:83) at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:543) at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:179) at tigase.conf.Configurator.componentAdded(Configurator.java:50) at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:1) at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116) at tigase.server.MessageRouter.addComponent(MessageRouter.java:108) at tigase.server.MessageRouter.addRouter(MessageRouter.java:145) at tigase.server.MessageRouter.setProperties(MessageRouter.java:698) at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:543) at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:179) at tigase.conf.Configurator.componentAdded(Configurator.java:50) at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:1) at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116) at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:131) at tigase.server.MessageRouter.setConfig(MessageRouter.java:597) at tigase.server.XMPPServer.start(XMPPServer.java:142) at tigase.server.XMPPServer.main(XMPPServer.java:112) Loading component: ws2s :: componentInfo{Class=tigase.cluster.WebSocketClientConnectionClustered}
This is why?
--cm-see-other-host What is the role of?
Thank you in advance!

Categories: Tigase Forums

API and development: RE: Hello, I would like to ask how to achieve XMPP similar to the QQ of the ...

Tigase XMPP Server Board - Thu, 09/29/2016 - 04:12

This is not entirely server-side question - how you manage your picture (or file for that matter) is entirely to the client.

When it comes to transferring it to your contact, you can use:
  • in-band transfer
  • jingle protocol
  • SOCKS5 proxy

And all above are supported by Tigase server.

Categories: Tigase Forums

API and development: RE: How to get user online state ?

Tigase XMPP Server Board - Wed, 09/28/2016 - 20:39

thank you for your reply.

Categories: Tigase Forums

API and development: RE: chat with multi vhosts

Tigase XMPP Server Board - Wed, 09/28/2016 - 19:59

Hi,
I tried again ,but also failed ,I use two clients of spark,one regist user t1 with tigmsgstore.test.com vhsot domain,another regist user t2 with tigsendtochatroom.test.com vhost domain, when t1 add friend t2,it shows t2 not online ,t2 can not recive message from t1, there must be some wrong configuration,could you help me find it out please,thank you.

Categories: Tigase Forums

API and development: RE: Hello, I would like to ask how to achieve XMPP similar to the QQ of the ...

Tigase XMPP Server Board - Wed, 09/28/2016 - 17:34

Thank you for your reply to my question, Kapcia Wojciech, and the workflow of sending text messages to me is like this.
First, the sender user will copy pictures to send a message to the paste in a text box, it can paste picture at any position and can edit the text in the picture and expression and then sent to each other, each other after receiving the message and then display

Categories: Tigase Forums

API and development: How to set room's admins and owners ?

Tigase XMPP Server Board - Wed, 09/28/2016 - 17:29

I would like to set up room admins and owners, but I can not find muc#roomconfig_roomowners and muc#roomconfig_roomoadmins, please help me !Thanks all !My version is 5.2.3.

Categories: Tigase Forums

Installation and maintenance: RE: Tigase cluster Configuration problem

Tigase XMPP Server Board - Wed, 09/28/2016 - 04:37

Moffitt tig wrote:

They all started successfully, Using psi client login user.
1.Add two admin account in psi, Admin account can log on to the two servers at the same time, is this why ,I think one of the users is forced to offline ?
2. The logged in user after a few minutes, appear the following abnormalities , is this why ?

You can't have two users with same JID and same resource connected at the same time - making a new connection with the same resource name will disconnect old connection. Psi by default uses same resource names so you have to either use server-generated resources or change configuration in Psi to use distinct resources.

Categories: Tigase Forums

API and development: RE: chat with multi vhosts

Tigase XMPP Server Board - Wed, 09/28/2016 - 04:28

hurry wang wrote:

Hi,
I ran my program in cluster mode with two vhosts, I use spark to regist users with different vhost and try to chat with each other ,but I failed ,could you show me how it can be impleted,,I upload my attachment of the configration of my tigase,thanks a lot.

You should be able to chat (sending direct messages) just fine between different configured vhosts.

It will fail for MUC chat, as you are using non-clustered version of the component (and clustered version requires ACS clustering):
--comp-name-5 = muc --comp-class-5 = tigase.muc.MUCComponent

Categories: Tigase Forums

API and development: RE: Hello, I would like to ask how to achieve XMPP similar to the QQ of the ...

Tigase XMPP Server Board - Wed, 09/28/2016 - 04:25

We are not familiar neither with QQ nor with multi image information transmission functionality - please describe in detail (possibly using screenshots) what would be the the result / how it should work.

Categories: Tigase Forums

Installation and maintenance: Tigase cluster Configuration problem

Tigase XMPP Server Board - Tue, 09/27/2016 - 23:48

hello! team

I have two servers respectively service 1 and service 2 ,Their configuration in /etc/init.properties as follows:
service 1:
--cluster-mode = true
--sm-cluster-strategy-class= tigase.server.cluster.strategy.OnlineUsersCachingStrategy
--cluster-nodes = nodel.example.com,node2.example.com
--cluster-connect-all = true

service 2:
--cluster-mode = true
--sm-cluster-strategy-class= tigase.server.cluster.strategy.OnlineUsersCachingStrategy
--cluster-nodes = nodel.example.com,node2.example.com
--cluster-connect-all = true

They all started successfully, Using psi client login user.
1.Add two admin account in psi, Admin account can log on to the two servers at the same time, is this why ,I think one of the users is forced to offline ?
2. The logged in user after a few minutes, appear the following abnormalities , is this why ?
2016-09-28 13:38:12.651 [ResultsListener-socketReadThread-11] SocketThread$ResultsListener.run() WARNING: Protocol execution exception.
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at tigase.net.SocketThread$ResultsListener.run(SocketThread.java:568)
Caused by: java.lang.NullPointerException
at tigase.cluster.ClusterConnectionManager.processSocketData(ClusterConnectionManager.java:441)
at tigase.server.ConnectionManager.packetsReady(ConnectionManager.java:424)
at tigase.server.ConnectionManager.packetsReady(ConnectionManager.java:1)
at tigase.net.IOService.call(IOService.java:245)
at tigase.xmpp.XMPPIOService.call(XMPPIOService.java:216)
at tigase.net.IOService.call(IOService.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2016-09-28 13:38:12.653 [pool-21-thread-8] ConnectionManager.serviceStopped() FINER: cl-comp Connection stopped: null, type: connect, Socket: nullSocket[unconnected], jid: null

Thank you in advance!

Categories: Tigase Forums

API and development: chat with multi vhosts

Tigase XMPP Server Board - Tue, 09/27/2016 - 20:18

Hi,
I ran my program in cluster mode with two vhosts, I use spark to regist users with different vhost and try to chat with each other ,but I failed ,could you show me how it can be impleted,,I upload my attachment of the configration of my tigase,thanks a lot.

Categories: Tigase Forums

API and development: Hello, I would like to ask how to achieve XMPP similar to the QQ of the mult...

Tigase XMPP Server Board - Tue, 09/27/2016 - 17:33

Hello, I would like to ask how to achieve XMPP similar to the QQ of the multi image information transmission, we now realize that a single picture can not be sent to send a single picture

Categories: Tigase Forums

API and development: RE: How to get user online state ?

Tigase XMPP Server Board - Tue, 09/27/2016 - 04:14

jeff shaw wrote:

Hi All, can some one tell me how to get user's online state ? send an iq or other wise?

You can use Admin Ad-Hoc commands to get information about given JID:
<iq type="set" to="sess-man@{VHost}" id="get-info-1"> <command xmlns="http://jabber.org/protocol/commands" node="get-user-info"> <x xmlns="jabber:x:data" type="submit"> <field type="hidden" var="FORM_TYPE"> <value>http://jabber.org/protocol/admin</value> </field> <field type="jid-single" var="accountjid"> <value>{UserJID}</value> </field> <field type="boolean" var="Show connected resources in table"> <value>1</value> </field> </x> </command> </iq> However, it will only list connected resources and information to which cluster node the user is connected. It won't include current presence of the given connection.

Categories: Tigase Forums

API and development: RE: How to get user online state ?

Tigase XMPP Server Board - Mon, 09/26/2016 - 08:39

one or more user's state.

Categories: Tigase Forums

API and development: RE: How to get user online state ?

Tigase XMPP Server Board - Mon, 09/26/2016 - 08:38

I have a jid list and I want to get online stats.

Categories: Tigase Forums

API and development: How to get user online state ?

Tigase XMPP Server Board - Mon, 09/26/2016 - 08:36

Hi All, can some one tell me how to get user's online state ? send an iq or other wise?

thanks alot.

Categories: Tigase Forums

Installation and maintenance: RE: BOSH connection

Tigase XMPP Server Board - Sun, 09/25/2016 - 09:48

I solved the issue by using the tigase JaXMPP library :)

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

Back to Top