powered by Jive Software

Automatically start Messenger

Hi there

What would I have to put in the web.xml to have messenger fire up automatically when the servlet engine is started / restarted

ie:

Jive Messenger

com.jivesoftware.xmpp.XMPPServer

20

+

Thanks

Colin

Hi,

We don’‘t have a servlet made to auto-start messenger. However it’'s pretty easy to make one. Just create a servlet and import:

import com.jivesoftware.container.ServiceLookupFactory;

Then in your servlet simply make the call to:

try {
  ServiceLookupFactory.getLookup();
} catch (Exception e){
  // log the exception
}

-iain

Thanks Lain

Worked perfectly! BTW got the book from Amazon, excellent stuff.

Regards

Colin

Great!

-iain