# Problem with Installing SiteWhere Persistence

**URL:** <https://community.openhab.org/t/problem-with-installing-sitewhere-persistence/58244>\
**Category:** Persistence Services\
**Created:** [November 29, 2018, 1:16pm UTC](https://community.openhab.org/t/problem-with-installing-sitewhere-persistence/58244 "2018-11-29T13:16:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bibbele77](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/258eb7/32.png) [@bibbele77](https://community.openhab.org/u/bibbele77)\
**Post date:** [November 29, 2018, 1:16pm UTC](https://community.openhab.org/t/problem-with-installing-sitewhere-persistence/58244/1 "2018-11-29T13:16:36Z")

</div>

I’m trying to run the addon SiteWhere Persistence because I’d like to use it’s CEP-Capabilities.  
I downloaded the .jar form [SiteWhere Tutorial](http://documentation.sitewhere.io/integration/openhab.html) and copied it into usr/share/openhab2/addons. Then I tried to start it via the Karaf Console but I’m getting an error:

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/3/a/3ab06a21254b570acb61b789e85a7a690135798d.png)

Can anybody tell me how to get this to work?

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [November 29, 2018, 1:38pm UTC](https://community.openhab.org/t/problem-with-installing-sitewhere-persistence/58244/2 "2018-11-29T13:38:00Z")

</div>

As you can see, your jar is 3 years old.  
This likely won’t work, you would need an up to date binding jar, and preferrably one for openHAB 2.

---

<div class="post-metadata">

**Author:** ![bibbele77](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/258eb7/32.png) [@bibbele77](https://community.openhab.org/u/bibbele77)\
**Post date:** [November 29, 2018, 1:55pm UTC](https://community.openhab.org/t/problem-with-installing-sitewhere-persistence/58244/3 "2018-11-29T13:55:23Z")

</div>

Thanks for your reply 🙂 I found a newer version of the SiteWhere Binding but it’s still not working:

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/1/e/1eb883036be9517cd377360aa142f95ce74d5823.png)

Do you have an idea where I could find the latest version of that Binding? Or is it possible that SiteWhere is not usable with OpenHAB2 ?

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [November 29, 2018, 2:07pm UTC](https://community.openhab.org/t/problem-with-installing-sitewhere-persistence/58244/4 "2018-11-29T14:07:21Z")

</div>

It’s obviously an openHAB1 addon. You could try setting legacy = true in /etc/openhab2/services/addons.cfg but I doubt it helps, and if it does not then sorry no it won’t work.

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [November 30, 2018, 8:58am UTC](https://community.openhab.org/t/problem-with-installing-sitewhere-persistence/58244/5 "2018-11-30T08:58:56Z")

</div>

does tagging my post as the solution mean it works with that legacy setting ?

---

<div class="post-metadata">

**Author:** ![bibbele77](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/258eb7/32.png) [@bibbele77](https://community.openhab.org/u/bibbele77)\
**Post date:** [November 30, 2018, 9:38am UTC](https://community.openhab.org/t/problem-with-installing-sitewhere-persistence/58244/6 "2018-11-30T09:38:22Z")

</div>

No unfortuneatly it means that I tried to change the legacy setting but it’s still not working so I guess the second part of your answer is the solution: it’s not working anymore 😅

---

<div class="post-metadata">

**Author:** ![once4all](https://community.openhab.org/letter_avatar_proxy/v4/letter/o/dfb087/32.png) [@once4all](https://community.openhab.org/u/once4all)\
**Post date:** [January 7, 2019, 7:45am UTC](https://community.openhab.org/t/problem-with-installing-sitewhere-persistence/58244/7 "2019-01-07T07:45:26Z")

</div>

Hi, I’m the newbie to openHab.  
I’m trying to modify this StieWhere Persistence using the org.openhab.core.compat1x-2.4.0 jar.  
But I’m getting this error

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/0/2/02a8cbeea38a1ff30c9df45c2b1f0935f5ef3bb4.png)

Can you tell me how to get this work?Thanks!
