Im completely new to XMPP and m trying to embed the open fire server in my java app, but am not sure how to go about it or even if its possible? So far i grabbed all the jars and added them to my project… but when i execute the following code:
XMPPServer server = new XMPPServer();
//new XMPPServerInfoImpl(“test123”, “127.0.0.1”, “3.7.1”, new Date(), connectionManager);
server.start();
server.stop();
But this fails with :
Could not locate home
java.io.FileNotFoundException
at org.jivesoftware.openfire.XMPPServer.locateOpenfire(XMPPServer.java:874)