0 Replies Latest reply on Feb 19, 2020 4:06 AM by 4b57197a-79c4-45b0-a095-3bc1c4af2b00

    Web start application is not launch when System is locked mode(Window+L Key)


      I have Java Web Start application & tried to restart application using java scheduler (calling Jnlp file ) .its working fine with JRE 6 both condition when system is locked mode (Window+l) Or not locked but when i tried to restart application (calling Jnlp file) using JRE 7,its not working when windows system is Locked mode.

      Is there any JRE 7 security policy for java web start (System Locked time calling Jnlp) ?

      Code ref-

      ScheduledExecutorService scheduledExecutorService;
      = Executors.newSingleThreadScheduledExecutor();
      .schedule(new Runnable() {
      public void run() {
      try {
      Runtime.getRuntime().exec(path + "javaws.exe -system http://localhost:8081/common/app.jnlp");
      } catch (IOException e){
      System.err.println("Error while trying to restart the application at midnight.\n"+e.getMessage());
      }, delay, TimeUnit.SECONDS);