Had freshly installed this server a few days ago. It was working fine for 2-3 weeks and then all of sudden an hour or so ago, it crashed.
Thereafter all attempts to start Openfire 3.8.1 fail with this error:
# more /opt/openfire/logs/nohup.out
Openfire 3.8.1 [May 4, 2013 6:14:00 PM]
Admin console listening at: http://openfire.myserver.net:9090 https://openfire.myserver.net:9091
Starting Client Control Plugin
Starting Fastpath Server
Starting Monitoring Plugin
Exception in thread "Update Manager" java.lang.StackOverflowError at org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert(PatternParser.java:441) at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:236) at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.Category.callAppenders(Category.java:203) at org.apache.log4j.Category.forcedLog(Category.java:388) at org.apache.log4j.Category.log(Category.java:853) at org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:479) at org.jivesoftware.util.Log.warn(Log.java:226) at org.kjkoster.zapcat.openfire.OpenfireLog4jAppender.append(OpenfireLog4jAppender.java:56) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.Category.callAppenders(Category.java:203) at org.apache.log4j.Category.forcedLog(Category.java:388) at org.apache.log4j.Category.log(Category.java:853) at org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:479) at org.jivesoftware.util.Log.warn(Log.java:226)
.....this repeats thereafter several times
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.Category.callAppenders(Category.java:203) at org.apache.log4j.Category.forcedLog(Category.java:388) at org.apache.log4j.Category.log(Category.java:853) at org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:479) at org.jivesoftware.util.Log.warn(Log.java:226)
Have tried re-starting the server several times but to no avail. Have even tweaked memory settings to OPENFIRE_OPTS="-Xmx1024m" but nothing works.
Could it be because I am using openjdk java and not Oracle java?
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.9) (rhel-1.36.1.11.9.el5_9-i386)
OpenJDK Server VM (build 20.0-b12, mixed mode)
But then it was running absolutely fine for 2-3 weeks.
I am on a CentOS based OS.
Any help is most welcome and any information requested to help solve this shall be promptly provided.
Thanks.