Configuring MUC to run as external component

Submitted by Anonymous on Wed, 2009-04-08 10:39

Hi,

I'd like to perform some interoperability tests between xmpp servers (Openfire, ejabberd, Tigase) and external component implementations. I am trying to find out how to run Tigase MUC as an external component (XEP-0114) connecting to another XMPP server, but cannot find any documentation on how to set this up. Can anyone point me in the right direction?

Of course, I will be more than happy to share my results.

Regards,

Lars

Artur Hefczyc's picture

I am not against XML file.

I am not against XML file.

I am against manually editing and changing the XML file as this is very error prone. However, right now there are not proper tools to deal with the Tigase configuration stored in the XML file and as a temporary solution the init.properties file has been introduced.

We are getting closer to the offering convenient tools for managing the Tigase server configuration. When they are ready the support for init.properties file will be probably dropped.

More details about all the config files, how one maps to the other, etc. are in the online documentation.

Ok then. I think i bumped

Ok then. I think i bumped into some sample code somewhere of how to setup a TigaseServer with only MUC component configured.. or something like that..

Though I've always wondered, if you're sooo against the XML file, why don't you just "ditch" it and make it go away? Or if it's a good thing, then just make it better and easier to deal with.. Because it just makes it harder to have to learn two configuration languages/syntaxes and I'm not even sure how one maps to the other.. etc etc.. :)

alright, back to codin. :)

Artur Hefczyc's picture

This is correct. Basically

This is correct. Basically everything in the Tigase server is either a component or a plugin: http://www.tigase.org/en/devel-basic-info . Any component can be deployed as a part of the main the Tigase server instance or as an external component. This is just a consequence of the server architecture, and has nothing to do with the particular component implementation.
However, the bad news is that right now configuration to setup MUC, PubSub, Bosh or any other component as an external component is not simple and straightforward, hence it is not documented well and is not recommended. It involves a manual editing XML configuration file.
I am going to look at simplifying it soon and then I publish more details.

I keep seeing that we can

I keep seeing that we can setup Tigase-Bosh, Tigase-Muc, Tigase-PubSub as "external components", but I have yet to see how to actually do this.

Any pointers on how we could go about this?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.