Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092623

JavaFX doesn't work properly as a Windows service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4 P4
    • None
    • 7u15
    • javafx
    • windows server 2003, win xp prof sp3

      I added my java application (using JavaFX for the GUI) as a windows service to let it keep running after logoffs. However, if I logoff once and login again, the content of the GUI is gone, I only see an empty window. The rest of the threads for processing datas still remains and works properly as I can see it from the console. The AWT tray icon is also still reactive. So I think it's a JavaFX thing.

      edit1: for the gui i used a fxml file
      edit2: the service was added using instsrv.exe and srvany.exe from the Microsoft Resource Kit
      edit3: i called the application by using java -jar -Xrs app.jar to ignore logoff flags produced by windows which could lead the vm to exit

            kcr Kevin Rushforth
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: