powered by Jive Software

Upgrade from Wildfire 3.2.4 to Openfire 3.3.2

Folks,

I have Wildfire 3.2.4 running with JAVA 1.5.0_06 and I’d like to upgrade to Openfire 3.3.2. Is it necessary to upgrade JAVA to version 1.6.0 or not?

Regards,

Eduardo

Hola Eduardo,

It’s not necessary but recommended. Openfire will work just fine with Java 5 although with Java 6 it will perform much better and scale even more.

Saludos,

– Gato

Hola Gato,

Thanks for the explanation!

Saludos,

Eduardo

Gato,

Does the openfire-3.3.2-1.i386.rpm file contain Java 6?

Saludos,

Eduardo

Oi Eduardo,

Yes, we are including Java 6 in the RPM file.

Regards,

– Gato

Oi Gato,

Thanks a lot!

Un cordial saludo,

Eduardo

Gato,

2 questions about Openfire 3.3.2:

  1. How do I increase Java memory in Openfire 3.3.2?

  2. How do I Start/Stop the Openfire service manually?

Regards,

Oi eduardo,

Check out this guide that answers both of your questions: http://wiki.igniterealtime.org/display/WILDFIRE/Openfire3.3.0toOpenfire3.3.1UpgradeGuide.

Regards,

– Gato

Gato,

I only have found the response to the second question about starting/stopping service manually. My Openfire server is installed at /opt/openfire.

Which file do I have to edit and Which command do I have to add in order to increase Java memory?

In my Wildfire 3.2.4, I’ve just add the following command listed below:

INSTALL4J_ADD_VM_PARAMS="-Xms128m -Xmx256m"

Regards,

Eduardo

Add a line like this in /etc/sysconfig/openfire

OPENFIRE_OPTS="-Xms128m -Xmx256m"

– Gato

Gato,

I added the line as you said before but the java memory didn’t increased.

— /etc/sysconfig/openfire CONFIGURATION —

  1. Set this to the path where openfire lives.

  2. If this is not set the script will look for /usr/local/openfire, then

  3. /opt/openfire.

OPENFIRE_HOME="/opt/openfire"

OPENFIRE_OPTS="-Xms128m -Xmx256m"

  1. If there is a different user you would like to run openfire as,

  2. change the following line.

#OPENFIRE_USER=“daemon”

  1. If you wish to change the location of the openfire pid file,

  2. change the following line.

OPENFIRE_PIDFILE="/var/run/openfire.pid"

  1. If you wish to explictly specific the location of the log directory,

  2. you can set it here. Note that this applies to the logs generated outside

  3. openfire itself. If you want to change the location of openfire’s own

  4. logs, see the system property ‘log.directory’. If this is not set,

  5. it will default to $OPENFIRE_HOME/logs.

#OPENFIRE_LOGDIR="/some/where/logs"

  1. If you wish to override the auto-detected JAVA_HOME variable, uncomment

  2. and change the following line.

#JAVA_HOME=/usr/java/default

— /etc/sysconfig/Openfire Permission —

-rwxr-xr-x 1 daemon daemon 960 Sep 14 21:23 openfire

I also noticed that if I start the service manually, the server doesn’t start as it should do.

ganimedes:/ # /opt/openfire/bin/openfire.sh

Openfire 3.3.2

65536, 5085, 122, 122, -226

avail_out=-226

Admin console listening at:

http://jabber.intranet:9090

https://jabber.intranet:9091

It should go back to the command line after starting the service, but it shouldn’t. It only comes back to the command line if I do CTRL + C.

Then, It appears SERVER HALTED

Regards,

Eduardo