Seeing below error in the VSE logs:
2025-02-04T00:54:33,870Z (19:54) [Event Sink Thread Pool Thread 1] ERROR com.itko.lisa.gui.LisaPrefs - Failed to save persistent preferences...
java.nio.file.FileSystemException: {DEVTEST_HOME}\lisatmp_10.7.2\devtestprefs_8: The process cannot access the file because it is being used by another process.
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) ~[?:1.8.0_352]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:1.8.0_352]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[?:1.8.0_352]
at sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:165) ~[?:1.8.0_352]
at sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:278) ~[?:1.8.0_352]
at java.nio.file.Files.copy(Files.java:1274) ~[?:1.8.0_352]
at com.itko.lisa.gui.LisaPrefs.savePersistentPrefs(LisaPrefs.java:513) [lisa-core-10.7.2.jar:?]
at com.itko.lisa.vse.stateful.LicenseEnforcer$1.pulse(LicenseEnforcer.java:81) [lisa-virtualize-10.7.2.jar:?]
at com.itko.util.Pulse.execPulse(Pulse.java:521) [lisa-util-10.7.2.jar:?]
at com.itko.util.Pulse.eventReceipt(Pulse.java:491) [lisa-util-10.7.2.jar:?]
at com.itko.util.EventThread.execEvents(ThreadedEventSink.java:80) [lisa-util-10.7.2.jar:?]
at com.itko.util.EventThread.run(ThreadedEventSink.java:60) [lisa-util-10.7.2.jar:?]
Noticed virtual services stopped responding intermittently and it works fine after restarting the VSE, so trying to identify the root cause for the failures.
All supported DevTest releases.
Cache data in lisatmp_x.x.x folder causing these errors.
x.x.x = DevTest release number
Instead of just restarting the VSE, doing the below steps will resolve this issue:
1. Stop all the DevTest services running on the VSE machine.
2. Delete the entire DEVTEST_HOME\lisatmp_x.x.x folder.
3. Start all of the DevTest services running on the VSE machine.