Skip to content

Java VM keeps running CARepeater after closing Phoebus #494

@pavel-ch

Description

@pavel-ch

Environment: Windows 10 x64, Orace Java:
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

After a correct closing of the main window and shutdown of Phoebus, sometimes (not always, but in a high percentage) the Java VM keeps running. Libs and/or product JAR files are locked by this running instance, making next Maven compile cycle impossible (errors in the cleaning step Cannot delete xxx.jar). The Java instance has to be manually stopped from Task manager.
This behavior is observed for a longer time, also on another (Windows 7 x64 Java 9) setup. The issue thus seems being independent from OS and Java version, at least on Windows, and from my personal setup.
It seems that something in Phoebus does not shut correctly down. It may depend on what applications have been started inside Phoebus, although no closer investigation in this regard has been done.
As I am not any Java specialist, I can not debug this because I do not know how to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions