powered by Jive Software

Error in Run OpenFire

After running ant and Run in Eclipse leaves the following error:

Could not locate home

java.io.FileNotFoundException

at org.jivesoftware.openfire.XMPPServer.locateOpenfire(XMPPServer.java:874)

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

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

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

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

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

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

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

18:35:12,110 ERROR XMPPServer:510 -

java.io.FileNotFoundException

at org.jivesoftware.openfire.XMPPServer.locateOpenfire(XMPPServer.java:874)

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

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

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

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

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

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

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

Hello,

This is with svn trunk version of openfire?

daryl

not downloads from office site

version 3.7.1

I got this problem too, but i debugged the openfire src and found that the “private void locateOpenfire() throws FileNotFoundException” method is used to locate “openfire.xml”,so to make sure your openfire.xml is under openfire_src\target\openfire\conf ,and in right name. I found my openfire.xml file was changed to openfire.xml.tmp for unkown reason, i just deleted the .tmp suffix, and resolved this problem. I hope this solution works for the others,good luck