Installing Tigase Jabber Server using console installer
Couple of months ago I installed Tigase server on my laptop and it was working beautifully until this morning. I’ve installed quite a few major OS updates on my laptop since then and I must’ve done something to upset Tigase. I visited Tigase Website to download a fresh copy of the server and see what the command is to install it using console. The Website seems to be in the middle of some sort of upgrade and many links appear to be broken. Thanks to Google cached search results I managed to find what I wanted.
Here’s the magic command to install Tigase using consile installer:
java -jar nameOfTheDownloadedJarFile.jar -console
and follow the prompts. It’s pretty simple, but my brain refuses to memorise it.
By the way, I was getting the following error when I started the server:
etc/tigase.xml: line 1: syntax error near unexpected token `newline' etc/tigase.xml: line 1: `<!--?xml version='1.0' encoding='UTF-8'?-->` JAVA_HOME is not set.
tigase.xml is identical to the one on our staging server which works perfectly. And my JAVA_HOME is definitely set in tigase.conf. I’ve also noticed that Tigase likes to insert some whitespace in tigase.xml file upon every startup on a Mac. I’ve got the feeling that this is what’s causing the server to eventually barf. I could be wrong though.
UPDATE: Tigase Website, is back online and installation instructions can be found here.
You can download Tigase server from Tigase Website.Marko

-
Artur Hefczyc 1 November 18, 2009, 1:46 pm
TopHi,
I am the Tigase project maintainer. I have received google alert about your blog post so here I am.
Tigase server actually needs only Java to run. So usually when you upgrade system a path to Java may change as well. You just have to make sure it is set correctly. No need for the Tigase re-installation.
You can check what the Tigase see at startup time by executing command:
./scripts/tigase.sh check etc/tigase.conf
and make sure that JAVA variable points to JAVA executable, if not, modify JAVA_HOME accordingly.
And, yes, I am now moving all Tigase services to a new machine and upgrading website to Drupal-6. Unfortunately the upgrade messed up most of the documentation links which I am now trying to fix.
I will look at the problem with whitespace added to tigase.xml, you mention, for now, please remove the file from time to time and allow Tigase to recreate it.
I hope this help. If you have any problems please report them on the Tigase website, this way I can know about them and fix them.
-
Marko Tomic 2 November 18, 2009, 5:47 pm
TopThanks for that Artur. I’ll definitely be using “./scripts/tigase.sh check etc/tigase.conf”
The whitespace problem is a tricky one, because I registered some custom extensions in tigase.xml. I guess I’ll have to modify the xml file every time I regenerate it, but I can live with that for the time being. I’ll keep an eye on your updates.
I appreciate your feedback.
Marko
-
Xicom Technologies 3 January 15, 2010, 1:39 pm
TopThank you Marko for sharing this. This is really very helpful to me.