# Openfire customisation with elasticsearch

**URL:** <https://discuss.elastic.co/t/openfire-customisation-with-elasticsearch/98887>\
**Category:** Elasticsearch\
**Created:** [August 30, 2017, 4:16pm UTC](https://discuss.elastic.co/t/openfire-customisation-with-elasticsearch/98887 "2017-08-30T16:16:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdul](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Abdul](https://discuss.elastic.co/u/Abdul)\
**Post date:** [August 30, 2017, 4:16pm UTC](https://discuss.elastic.co/t/openfire-customisation-with-elasticsearch/98887/1 "2017-08-30T16:16:50Z")

</div>

Dear all ,

I am customizing the openfire and moving the openfire archive messages to elasticsearch instead of db but My build is failing due to monitoring plugin of openfire(Using Lucene.jar) and elasticaearch using Lucene.jar have contradiction . Kindly advise how I can proceed further in this case .

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [August 31, 2017, 2:02am UTC](https://discuss.elastic.co/t/openfire-customisation-with-elasticsearch/98887/2 "2017-08-31T02:02:05Z")

</div>

If I am understand correctly you have a dependency collision on the Lucene jar coming from both openfire and Elasticsearch transport client.

If this is correct, then I suggest that you drop the Elasticsearch transport client from your code and connect to the cluster using the REST API (the transport client will be deprecated anyway).

Until 6.0 is not released, you can use a third-party library like [Jest](https://github.com/searchbox-io/Jest)

---

<div class="post-metadata">

**Author:** ![Abdul](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Abdul](https://discuss.elastic.co/u/Abdul)\
**Post date:** [August 31, 2017, 5:22am UTC](https://discuss.elastic.co/t/openfire-customisation-with-elasticsearch/98887/3 "2017-08-31T05:22:24Z")

</div>

Noted. Thanks a lot for your Suggestion .

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 28, 2017, 5:22am UTC](https://discuss.elastic.co/t/openfire-customisation-with-elasticsearch/98887/4 "2017-09-28T05:22:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
