I am using monitoring plugin 1.6.0 with openfire 4.2.0.
Following is the screenshot of archive settings on openfire admin Console.
also following is the
openfire do not support urn:xmpp:mam:2 you have to use urn:xmpp:mam:1 instead.
you have to change it in XMPPMessageArchiveManagemnt class.
just go to XMPPMessageArchiveManagement class .in line of 20 it said
/** 'urn:xmpp:mam:2' */ extern NSString *const XMLNS_XMPP_MAM;.
just hold command and click on XMLNS_XMPP_MAM after that change urn:xmpp:mam:2 to urn:xmpp:mam:1