# Corruption in Stardog 5.3.2 - OpenJDK

**URL:** <https://community.stardog.com/t/corruption-in-stardog-5-3-2-openjdk/1312>\
**Category:** Bug\
**Created:** [September 27, 2018, 1:50pm UTC](https://community.stardog.com/t/corruption-in-stardog-5-3-2-openjdk/1312 "2018-09-27T13:50:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmottestad](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/hmottestad/32/19_2.png) [@hmottestad](https://community.stardog.com/u/hmottestad)\
**Post date:** [September 27, 2018, 1:50pm UTC](https://community.stardog.com/t/corruption-in-stardog-5-3-2-openjdk/1312/1 "2018-09-27T13:50:13Z")

</div>

Hi,

After a restart og stardog, INT was sent to the stardog process and we can see in the log that it shutdown. When it came back up again the base docker image was using openjdk 8 jdk, instead of an older version of openjdk 8 jre (not sure how old). When it started up it complained that the databse was corrupt, tried to repair it but failed after a few percent.

Is Stardog tested heavily against OpenJDK? Anyone else using OpenJDK? Should we switch to Oracle's JDK?

We are also seeing weekly hangs with Stardog.

Cheers.  
Håvard

PS: This was in our test environment.

---

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [October 2, 2018, 11:34am UTC](https://community.stardog.com/t/corruption-in-stardog-5-3-2-openjdk/1312/2 "2018-10-02T11:34:32Z")

</div>

We've seen plenty of people using openjdk with no issues. I'm guessing that the corruption is more likely to do with the INT that was sent versus a proper shutdown of the server.

We'd also welcome more details of the weekly hangs you're seeing (version, load, environment, etc.)

---

<div class="post-metadata">

**Author:** ![hmottestad](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/hmottestad/32/19_2.png) [@hmottestad](https://community.stardog.com/u/hmottestad)\
**Post date:** [October 2, 2018, 1:20pm UTC](https://community.stardog.com/t/corruption-in-stardog-5-3-2-openjdk/1312/3 "2018-10-02T13:20:12Z")

</div>

The INT gets picked up by Stardog. Says shutdown in the logs. We thought, since the logs are identical, that INT and stardog-admin server stop, did the same thing?

---

<div class="post-metadata">

**Author:** ![hmottestad](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/hmottestad/32/19_2.png) [@hmottestad](https://community.stardog.com/u/hmottestad)\
**Post date:** [October 2, 2018, 1:21pm UTC](https://community.stardog.com/t/corruption-in-stardog-5-3-2-openjdk/1312/4 "2018-10-02T13:21:38Z")

</div>

Our OpenJDK version is 1.8.0\_171.
