Home Blog Installing Tigase Jabber Server using console installer
Nov 18
2009

Installing Tigase Jabber Server using console installer

Posted by: Marko Tomic

Tagged in: xmpp , Tigase , Jabber

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

Trackback(0)
Comments (3)add comment

Artur Hefczyc said:

0
Tigase problems...
Hi,
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.
November 18, 2009 | url

Marko Tomic said:

Marko Tomic
Tigase problems
Thanks 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
November 18, 2009 | url

Xicom Technologies said:

0
...
Thank you Marko for sharing this. This is really very helpful to me.
January 15, 2010 | url

Write comment
smaller | bigger

security image
Write the displayed characters


busy

Stalk Me

Facebook: marko.tomic Twitter: mtomic Twitter: SydneyScuba YouTube: migonyourtail Linked In: tomicmarko MySpace: markomedia Google Wave: marko2009 blip.fm: markotomic Flickr: markotomic FeedBurner: markomedia

Site Login

Tag Cloud

Browser Poll

What browser do you use?