Tigase Component is not showup in Service Discovery

raghul ram
Added almost 5 years ago

I followed the example given at

--comp-class-1 = tigase.muc.MUCComponent
--virt-hosts = localhost
--user-db-uri = jdbc:mysql://localhost/tigasedb?user=root&password=sql123
--user-db = mysql
--admins = admin
--comp-name-6 = test
--comp-name-7 = message-archive
--comp-name-5 = rest
--comp-name-4 = stun
--comp-name-3 = proxy
config-type = --gen-config-def
--comp-name-2 = pubsub
--comp-name-1 = muc
--cluster-mode = false
--sm-plugins = +message-archive-xep-0136,+jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,+jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,-,+starttls,+msgoffline,+vcard-temp,-,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,+zlib
--comp-class-6 = TestComponent
--comp-class-7 = tigase.archive.MessageArchiveComponent
--debug = server,xmpp.impl,db
--comp-class-5 =
--comp-class-4 = tigase.stun.StunComponent
--comp-class-3 = tigase.socks5.Socks5ProxyComponent
--comp-class-2 = tigase.pubsub.PubSubComponent

I Can see component loading in Console succesffully

Loading component: stun :: componentInfo{Title=Tigase STUN Component, Version=1.1.0-b27/6ecf2656, Class=tigase.stun.StunComponent}
Loading component: test :: componentInfo{Title=Tigase XMPP Server, Version=5.2.0-b3447/48635d0a (2014-02-12/17:29:15), Class=TestComponent}
Loading component: ws2s :: componentInfo{Title=Tigase XMPP Server, Version=5.2.0-b3447/48635d0a (2014-02-12/17:29:15), Class=tigase.server.w

But, as shown in example, the Component is not listed in Service Discovery of PSI client, nor the Log messages are not appearing in Tigase.console.log

I had changed Logger from , log.finest to

Replies (1)


Added by Artur Hefczyc TigaseTeam almost 5 years ago

Go to lesson 4 to see how to make your component visible in service discovery. Also, make sure you login as admin to see all the server components. To make the component visible for normal user you need to modify some parameters in the component code.

Also, to make the component log something you need to generate some traffic to the component and set a correct logger.