Broadcast Message Not working

Vinoth Rajendran
Added almost 4 years ago

I have installed Tigase 5.2.3. I want to do send message/notification to all user not from ad-hoc commands(see : Using a code to generate This stanza and sent to server. But I got response 404.

Stanza which I sent :

<iq from="54c24dc0a1bd2a7a09bddb72@" to="" type="set" id="announce-2" xml:lang="en"><command xmlns="" node="" sessionid="announce:20040408T0337Z"><x xmlns="jabber:x:data" type="submit"><field type="hidden" var="FORM_TYPE"><value></value></field><field var="announcement"><value>Attention! This service will be going down for</value><value>maintenance in 2 minutes. Please log off now!</value></field></x></command></iq>

Error Stanza :

<iq id="announce-2" xmlns="jabber:client" from="" type="error" to="admin@" xmlns:stream=""><command sessionid="announce:20040408T0337Z" xmlns="" node=""><x xmlns="jabber:x:data" type="submit"><field var="FORM_TYPE" type="hidden"><value></value></field><field var="announcement"><value>Attention! This service will be going down for</value><value>maintenance in 2 minutes. Please log off now!</value></field></x></command><error code="404" type="wait"><recipient-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xml:lang="en" xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">The recipient is no longer available.</text></error></iq>

What I missed out to get this error and nothing will be printed in log (tigase-console.log)file. Is there any option to print log(for debugging). I have tried adding a single line in (--debug = server,db, archive, xmpp.impl, xmpp) file. But It not working?.

Replies (2)

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Vinoth Rajendran wrote:

When I sent following stanza to Tigase to send notification to all online users.


How can do that?

You should address the command to sess-man@<domain> instead of plain @@.


Added by Vinoth Rajendran almost 4 years ago

I need to send message/notifications from ad-hoc commands.

Here is my file,

--comp-class-1 = tigase.muc.MUCComponent

--comp-class-6 = tigase.muc.MUCComponent

--comp-class-5 = tigase.muc.MUCComponent

--virt-hosts =

--user-db-uri = jdbc:mysql://localhost/tigasedb?user=root&password=root

--user-db = mysql

--admins = admin@

--comp-name-4 = message-archive

--comp-name-3 = proxy

config-type = --gen-config-all

--comp-name-2 = pubsub

--comp-name-6 = conference

--comp-name-5 = channel

--comp-name-1 = muc

--cluster-mode = true

--sm-plugins = +message-archive-xep-0136





  1. To save group chat message.




--debug = server,db, archive, xmpp.impl, xmpp

--comp-class-4 = tigase.archive.MessageArchiveComponent

--comp-class-3 = tigase.socks5.Socks5ProxyComponent

--comp-class-2 = tigase.pubsub.PubSubComponent

  1. To Enabling typing notification for muc







What I want to do furthur?