powered by Jive Software

Openfire dont start after upgrade (3.9.1 to 3.9.2 last nightlybuild)

After the upgrade openfire dont start and I receive the error in log:

2014.04.11 07:21:33 org.jivesoftware.util.JiveGlobals - XML properties file does not exist: security.xml

java.io.FileNotFoundException: XML properties file does not exist: security.xml

at org.jivesoftware.util.XMLProperties.(XMLProperties.java:145)

at org.jivesoftware.util.XMLProperties.(XMLProperties.java:107)

at org.jivesoftware.util.JiveGlobals.loadSecurityProperties(JiveGlobals.java:983)

at org.jivesoftware.util.JiveGlobals.isPropertyEncrypted(JiveGlobals.java:809)

at org.jivesoftware.util.XMLProperties.getProperty(XMLProperties.java:203)

at org.jivesoftware.util.XMLProperties.getProperty(XMLProperties.java:168)

at org.jivesoftware.util.JiveGlobals.getXMLProperty(JiveGlobals.java:325)

at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:350)

at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:467)

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:200)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

at java.lang.Class.newInstance(Class.java:374)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

2014.04.11 07:21:33 org.jivesoftware.openfire.XMPPServer -

java.lang.NullPointerException

at org.jivesoftware.util.JiveGlobals.isPropertyEncrypted(JiveGlobals.java:811)

at org.jivesoftware.util.XMLProperties.getProperty(XMLProperties.java:203)

at org.jivesoftware.util.XMLProperties.getProperty(XMLProperties.java:168)

at org.jivesoftware.util.JiveGlobals.getXMLProperty(JiveGlobals.java:325)

at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:350)

at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:467)

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:200)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

at java.lang.Class.newInstance(Class.java:374)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

Any idea about the problem?

The latest build now supports property encryption. You will need to copy the security.xml file from the repo (or distribution archive) into your $OPENFIRE_HOME/conf/ directory. You can read more in the comments of the secuirty.xml file itself.

Thanks TOM