JYTHON classpath disappears

Tags: #<Tag:0x00007f61687e80d0> #<Tag:0x00007f61687eff10>

Some time ago, I’ve setup Jython in openhab2.5
When updating my openhab system, the openhab2 file with the classpath in it, is reset to it’s original state.
And yesterday, I was testing a rule with a timer in it… and after a while, I had to restart openhab.
After the restart, again, the classpath in the openhab2 file was reset!
Anyone has the same problem?

I do not know what is causing the issue, but if you use the beta bundle, you do not need to set anything in your EXTRA_JAVA_OPTS.

The issue is not that terrible, but annoying,…
But, at the other hand, I guess it’s a good moment to try your beta bundle.
so I can, In stead of asking questions, help you a bit too :slight_smile:

1 Like

The fist case is expected. The file where you set EXTRA_JAVA_OPTS is blindly replaced but the install/upgrade.

The second is not. The correct approach is to sidestep the problem and use the beta bundle. But also keep your eye open for other strange behaviors like this. Files that revert back to their original state on a reboot is one of the subtle signs of a failing SD card. I’m not saying this is the case for you, just that it is a sign to be vigilant for other similar odd behaviors.

using the beta bundle now… :slight_smile:

1 Like

playing around with jython… and the beta bundle. No problems so far…

1 Like