# Upgrading elasticsearch from 5.6.5 to 7.4.0

**URL:** <https://discuss.elastic.co/t/upgrading-elasticsearch-from-5-6-5-to-7-4-0/206599>\
**Category:** Elasticsearch\
**Created:** [November 5, 2019, 12:01pm UTC](https://discuss.elastic.co/t/upgrading-elasticsearch-from-5-6-5-to-7-4-0/206599 "2019-11-05T12:01:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajanikanta](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@Rajanikanta](https://discuss.elastic.co/u/Rajanikanta)\
**Post date:** [November 5, 2019, 12:01pm UTC](https://discuss.elastic.co/t/upgrading-elasticsearch-from-5-6-5-to-7-4-0/206599/1 "2019-11-05T12:01:06Z")

</div>

I have upgraded the rest high level client from 5.6.5 to 7.4.0 , seeing the below exceptions:

Caused by: org.apache.openejb.OpenEJBException: Unable to create annotation scanner for web module oi: null  
at org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:844)  
at org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:216)  
at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2148)  
... 17 more  
Caused by: java.lang.IllegalArgumentException  
at org.apache.xbean.asm5.ClassReader.(Unknown Source)  
at org.apache.xbean.asm5.ClassReader.(Unknown Source)  
at org.apache.xbean.asm5.ClassReader.(Unknown Source)  
at org.apache.xbean.finder.AnnotationFinder.readClassDef(AnnotationFinder.java:1148)  
at org.apache.xbean.finder.AnnotationFinder.(AnnotationFinder.java:139)  
at org.apache.xbean.finder.AnnotationFinder.(AnnotationFinder.java:152)  
at org.apache.openejb.config.FinderFactory$OpenEJBAnnotationFinder.(FinderFactory.java:514)  
at org.apache.openejb.config.FinderFactory.newFinder(FinderFactory.java:259)  
at org.apache.openejb.config.FinderFactory.create(FinderFactory.java:77)  
at org.apache.openejb.config.FinderFactory.createFinder(FinderFactory.java:66)  
at org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:836)  
... 19 more

It works perfectly fine when i tried with 6.1\* .  
Can anyone help me finding the root cause of this issue.

tomee 1.7.1  
elasticsearch 7.4.0

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [November 8, 2019, 11:53pm UTC](https://discuss.elastic.co/t/upgrading-elasticsearch-from-5-6-5-to-7-4-0/206599/2 "2019-11-08T23:53:28Z")

</div>

This type of upgrades is not supported. I am not sure if you saw our [Upgrade Documentations](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html) that describes supported upgrade paths and modes.

---

<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:** [December 6, 2019, 11:53pm UTC](https://discuss.elastic.co/t/upgrading-elasticsearch-from-5-6-5-to-7-4-0/206599/3 "2019-12-06T23:53:28Z")

</div>

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