ABN 25 173 915 011 markomedia - web development

markomedia - web development

  • Home
  • Contact
  • Blog

November 18, 2009

Installing Tigase Jabber Server using console installer

  • markomedia
    • Jabber
      • Installing Tigase Jabber Server using console installer
Share |
  • Author
    Marko Tomic
    Category
    Jabber
    Tags
    Jaber, Tigase, XMPP
    Comments
    3

    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

  • Previous post
  • Next post
Top

Related posts

  • Compile PHP pcntl module on OS X Lion
  • MySQL cursors in stored procedures
  • IE6, IE7, IE8, & IE9 on OS X in Virtual Machine
  • opendiff and FileMerge on OS X
  • Bandwidth throttling on OS X

Share this post

Author Marko Tomic

Gravatar

Leave a comment

  • GravatarArtur Hefczyc Reply 1 November 18, 2009, 1:46 pm

    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.

    Top
    • GravatarMarko Tomic Reply 2 November 18, 2009, 5:47 pm

      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

      Top
  • GravatarXicom Technologies Reply 3 January 15, 2010, 1:39 pm

    Thank you Marko for sharing this. This is really very helpful to me.

    Top

Search

QR Code

Recent Posts

  • Compile pcntl PHP extension

    Compile PHP pcntl module on OS X Lion

  • Stored Procedures

    MySQL cursors in stored procedures

  • IE 8 and IE6 on OS X VirtualBox

    IE6, IE7, IE8, & IE9 on OS X in Virtual Machine

Popular

  • Verizon Activates 2.2 Million iPhones in First Quarter

  • Amazon Server Trouble, Obama’s Facebook Visit.

  • Best Practices for Android Developers

Comments

  • Ionel Alexandru on Flash to Flex ComponentEvent coercion error solved
  • Marko Tomic on Zen Cart to VirtueMart csv export
  • snake on Zen Cart to VirtueMart csv export
  • Marko Tomic on Flash to Flex ComponentEvent coercion error solved
  • Thomas on Flash to Flex ComponentEvent coercion error solved

Tags

  • Apache6
  • AS36
  • bash2
  • ColdFusion2
  • command1
  • difftool1
  • DVD1
  • filemerge1
  • Flash3
  • Flex6
  • general2
  • Handbreak1
  • HOWTO8
  • IE61
  • IE71
  • IE81
  • IE91
  • iPhone1
  • iTunes1
  • Jaber1
  • java5
  • Linux3
  • MySQL4
  • networking1
  • opendiff1
  • OS X8
  • PHP4
  • Railo4
  • Red52
  • S31
  • shell3
  • SQL1
  • SSH2
  • SSL1
  • SVN1
  • tar1
  • Terminal3
  • Tigase1
  • Tomcat2
  • Ubuntu2
  • utilities1
  • VirtueMart1
  • XMPP1
  • ZenCart2
  • zip1

Contact us

  • Call us

Archive

  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • May 2011
  • December 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009

Navigation

  • Home
  • Contact
  • Blog

Archives

  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • May 2011
  • December 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009

From the blog

  • Compile PHP pcntl module on OS X Lion

  • MySQL cursors in stored procedures

  • IE6, IE7, IE8, & IE9 on OS X in Virtual Machine

  • opendiff and FileMerge on OS X

  • Bandwidth throttling on OS X

About us

Marko Tomic - Web professional and an Adobe Certified Expert with over 10 years of commercial experience using variety of technologies.

Connect

Facebook icon Twitter icon Email icon RSS icon