MUC and Derby don't match...
I am sorry to say this. We have found a bug in the MUC component which breaks it for the Derby database. So at the moment MUC component won't work on installations using Derby database. A fix is already ready and will be released later today. I am sorry for all the inconvenience.
35, kobit//tigase.org, 2008-11-13 12:19
The first bug report for the new release...
Just received the first bug report:
#99. If anybody else experienced problems like this please send me the report immediately. Ideally with as much information as possible. Have a look at the comments to this ticket for details what information are useful to me. And also please send me your contact info so I could respond directly.
34, kobit//tigase.org, 2008-11-13 10:31
300 page views in an hour!
New version of the Tigase server has been released. Article published and within an hour the article read counter turned 300 views...
33, kobit//tigase.org, 2008-11-12 22:16
XMPP/Jabber service restarts
We are planing the XMPP server upgare works in coming days to the most recent version. Therefore please be adviced there might be service disruptions in coming days.
32, kobit//tigase.org, 2008-10-03 13:57
Minis from XMPP are back
Due to a significant code rework and changes in many places of the Tigase server short-news were temporarly not working.
This was mainly related to clustering implementation in the Tigase server and need for major code cleanup. The implementation has been finished and slowly all parts of the system are back....
31, kobit//tigase.org, 2008-07-02 10:27
This is exactly what I am working on right now. Some code is already implemented and waiting in SVN repository the rest of the implementation should be ready soon.
If you are interested in details please have a look at the project roadmap.
thank you for your help and time
It works fine now i have created a local and distant cs as well as a single SM and everyone communicates fine, the port was what stopped me yesterday.
On a slightly different topic, is it possible to cluster SM servers, having two or more answering for the same domain, and thus sharing the load. I have read the "Two or more SessionManagers" but it seems to only work for the case where you would want to reroute packets according to domain name, and as such different domain names. Could you have for example a Sm manager and a backup that share same domain name and maybe same user database with multiple distant C2s's, in the same way you can cluster the client part.
Connection between SM and CS is done through "--ext-comp" pair. For each SM-CS pair you need corresponding --ext-comp pair (one in accept mode and the second in connect mode).
Ext-comp accepts only one connection so even if you have a single SM and 2 CS you have 2 connections SM-CS1 and SM-CS2, therefore you need 2 pairs of ext-comp. So for example on your SM the configuration should look like:
Note! Each ext-comp listens on a different port. Similarly in your CSes configurations each one has to point to proper, corresponding port.
Alternatively if you put
connectconnection type in your SM configuration you can use the same port as listening side is on a different machine. (Hopefully I haven't confused you too much. But if you have some TCP/IP knowledge you should know what I am talking about.)The next version of ext-comp will support multiple connections by a single component.
hello again
I have tried a creating 2 cs conf one local and one distant if i look at the Sm logs it seems he switches from one to the other but does not maintain both C2s alive a the same time. On my CS logs they say disconnected from sm server and reconnecting.
I have added a second ext-comp in the sm initial.properties file:
--ext-comp=sm.yoono-crawl,cs2.yoono-crawl,5768,very-secret,plain,accept
Lines:
Should add MSN transport to your server already. Just browser service discovery to see if it is there. It might temporary not work however as I have done lots of changes to the code already.
I am now working on getting MSN transport to work correctly so it should work again very soon.
Regarding your question "Where?"
In theory it doesn't really matter where, it should work on CS or on SM equally well. The decision where to put it depends on your particular case. MSN gateway needs to make network connections to the MSN server so if SM is in location without direct access to the internet then you could put it in CS. This also makes more sense as CS is generally considered a connectivity part with s2s, c2s and possible msn component.
Putting MSN on SM however could be simpler to configure maybe.
hello
thanks a bunch for your help i am slowly catching on but it works fine.
How and where do you add the msn transport when using a seperated CS,SM configuration.
The CS tries to establish connection with SM and it attempts to connect to sm.yoono-crawl host on port 5678. Apparently it can not resolve the hostname: sm.yoono-crawl.
All the hostnames you use must be resolvable by your DNS system. The simplest way to make them resolvable in your local testing environment is to put them in
hostsfile.thank you for your help
I have added the ext-comp definition
and on my cs server log get the following error:
service c2s
2008-05-20 18:09:19 ConnectionManager$1.run() FINE: Reconnecting
service ext-comp
2008-05-20 18:09:19 ConnectionManager$1.run() FINE: Reconnecting
service s2s
2008-05-20 18:09:22 ConnectionOpenThread.run() SEVERE: Other service
exception.java.nio.channels.UnresolvedAddressException
at sun.nio.ch.Net.checkAddress(Unknown Source)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at tigase.net.ConnectionOpenThread.addISA(ConnectionOpenThread.java:145)
at tigase.net.ConnectionOpenThread.addPort(ConnectionOpenThread.java:123
)
at tigase.net.ConnectionOpenThread.addAllWaiting(ConnectionOpenThread.ja
va:159)
at tigase.net.ConnectionOpenThread.run(ConnectionOpenThread.java:208)
at java.lang.Thread.run(Unknown Source)
both my initial files are:
SM:
config-type=--gen-config-sm
--admins=admin@localhost
--virt-hosts = yoono-crawl,sm.yoono-crawl
--debug=server
--comp-name-1=msn
--comp-class-1=tigase.server.gateways.Gateway
--ext-comp=sm.yoono-crawl,cs.yoono-crawl,5678,very-secret,plain,accept
and CS:
config-type=--gen-config-cs
--admins=admin@localhost
--virt-hosts = cs.yoono-crawl,yoono-crawl,sm.yoono-crawl
--debug=server
--ext-comp=cs.yoono-crawl,sm.yoono-crawl,5678,very-secret,plain,connect
thanking you again for your time
If you look at the configuration wizards guide, at the bottom of the page you can see 2 example configs. One for SM and another for CS.
If you scroll the content of the example config right you will see what is missing in your property files:
This part is responsible for connectivity between both elements. As this is missing in your files both nodes can not communicate.
My 2 initial.properties file:
config-type=--gen-config-sm
--admins=admin@localhost
--virt-hosts = sm-server
--debug=server
--comp-name-1=msn
--comp-class-1=tigase.server.gateways.Gateway
and
config-type=--gen-config-cs
--admins=admin@localhost
--virt-hosts = localhost
--debug=server
I am guessing i was a little hasty and should change admin@ to admin@server1 admin@server2
and change the second virt-hosts=server2
In order to make it works like this, both servers must be available under a different domain name, even if they work on the same machine.
Could you please post here or to via contact form your configuration files (the files you used as configuration wizards) for me to look at them?
I would be able then to replicate your system here to find out what is wrong.