Project

General

Profile

The tigase can not load plugin , when the version of tigase is 7.2.0-SNAPSHOT. Can anybody help me ? thanks

Wei Sun
Added almost 2 years ago

init.properties file like this:

--sm-plugins=+processPacketPlugin

the tigase-console.log:

Loading plugin: jabber:iq:version=8:58 ... 
Loading plugin: urn:ietf:params:xml:ns:xmpp-session=8:58 ... 
Loading plugin: jabber:iq:privacy=8:58 ... 
Loading plugin: starttls=8:58 ... 
Loading plugin: vcard-temp=8:58 ... 
Loading plugin: vcard-xep-0292=8:58 ... 
Loading plugin: presence-subscription=32:14 ... 
Loading plugin: jabber:iq:roster=32:14 ... 
Loading plugin: urn:xmpp:csi:0=8:58 ... 
Loading plugin: urn:xmpp:time=8:58 ... 
Loading plugin: jabber:iq:private=8:58 ... 
Loading plugin: jabber:iq:register=8:58 ... 
Loading plugin: urn:ietf:params:xml:ns:xmpp-bind=8:58 ... 
Loading plugin: session-open=16:29 ... 
Loading plugin: http://jabber.org/protocol/stats=8:58 ... 
Loading plugin: disco=8:58 ... 
Loading plugin: message-carbons=8:58 ... 
Loading plugin: default-handler=32:14 ... 
Loading plugin: zlib=8:58 ... 
Loading plugin: presence-state=32:14 ... 
Loading plugin: urn:xmpp:blocking=8:58 ... 
Loading plugin: session-close=32:14 ... 
Loading plugin: amp=8:58 ... 
Loading plugin: urn:xmpp:ping=8:58 ... 
Loading plugin: urn:ietf:params:xml:ns:xmpp-sasl=32:14 ... 
Loading plugin: jabber:iq:auth=8:58 ... 
Loading plugin: http://jabber.org/protocol/commands=8:58 ... 

plugin ID is "processPacketPlugin", and the ProcessPacketPlugin file:


Replies (3)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam almost 2 years ago

In Tigase XMPP Server 7.2.0-SNAPSHOT we changed format of configuration file and --sm-plugins is not a valid way to configure enabled processors.

Please check our documentation of Tigase XMPP Server 7.2.0-SNAPSHOT related to configuration of Tigase XMPP Server and SessionManager processors for more informations about currently use configuration file format.

Added by Wei Sun almost 2 years ago

Thank you for your quick reply, but I can not find the documentation of Tigase XMPP Server 7.2.0-SNAPSHOT related to configuration of Plugin, can you offer me a link?

Added by Wei Sun almost 2 years ago

I have already solved the problem refering to the file config-dump.properties,

the init.properties file like this:

sess-man (class: tigase.server.xmppsession.SessionManager) {
    processPacketPlugin (class: testsun.plugin.ProcessPacketPlugin) {}
  }

thanks a lot

    (1-3/3)