# Hibernate search in standalone jars

**URL:** <https://discourse.hibernate.org/t/hibernate-search-in-standalone-jars/3626>\
**Category:** Hibernate Search\
**Created:** [January 13, 2020, 5:44am UTC](https://discourse.hibernate.org/t/hibernate-search-in-standalone-jars/3626 "2020-01-13T05:44:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishek\_Jha](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/abhishek_jha/32/923_2.png) [@Abhishek\_Jha](https://discourse.hibernate.org/u/Abhishek_Jha)\
**Post date:** [January 13, 2020, 5:44am UTC](https://discourse.hibernate.org/t/hibernate-search-in-standalone-jars/3626/1 "2020-01-13T05:44:06Z")

</div>

I am using hibernate-search version 5.9.3.Final. When i use hibernate-search through my app-server i.e tomcat , I am able to observe that hibernate indices are getting updated after every insert/update/delete statements . However, when i execute similar steps through my standalone jar indices are not getting updated.I observed in my jar, hibernate search libraries are packaged just fine.

Any pointer would be helpful.

---

<div class="post-metadata">

**Author:** ![yrodiere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/yrodiere/32/1760_2.png) [@yrodiere](https://discourse.hibernate.org/u/yrodiere)\
**Post date:** [January 13, 2020, 5:43pm UTC](https://discourse.hibernate.org/t/hibernate-search-in-standalone-jars/3626/2 "2020-01-13T17:43:58Z")

</div>

Enable logs for `org.hibernate.search`, and look for logs similar to `Hibernate Search version {5.9.3.Final}` on startup.  
If you don’t get that, then Hibernate Search is not starting, which means Hibernate ORM did not find it, which means Hibernate Search is not packaged correctly.

As to the reason: maybe you forgot to add hibernate-search-orm, maybe your “standalone JAR” generation tool messed up the META-INF directories inside the JARs; I cannot possibly know, since I do not know how you generate your “standalone JAR”.
