Openfire 3.4.1 doesnt like spark

We have installed openfire 3.4.1 on a windows server, and after the upgrade the user search tool stopped working.

When I enter a user we get “Unable to contact search service”. Investigating further, I think what is happening is when spark asks for the search services, it assumes there is only one jabber:iq:search, but now there are aparently 2, the second one being a search service for conference rooms (which does seem a little odd).

What I have done to fix this is to modify the file: src/java/org/jivesoftware/sparkimpl/search/users/UserSearchService.java

And modified getServices():

if (info.containsFeature(“jabber:iq:search”)) {

searchServices.add(item.getEntityID());

}

to:

if (info.containsFeature(“jabber:iq:search”) && !info.containsFeature(“http://jabber.org/protocol/muc”)) {

searchServices.add(item.getEntityID());

}

Does that make sense?

Sam.

Hey Sam,

We filed this problem as SPARK-874. We will try to make the fix for Spark 2.5.8 to be released soon.

Thanks,

– Gato