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

Vanoc: failure to start should be reported to the user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • fx1.2.3
    • None
    • deploy

      If applet fails to start this is not visible to the end user.

      We need to provide a way for deployer of FX apps to detect failures and be able to notify users appropriately.

      Type of failures to support:
          1) no suitable JRE (this is done)
          2) not supported OS (js check)
          3) not supported broswer (js check)
          4) blocked by firewall (optional)
          5) security permissions were not given (in the applet launcher)
          6) failed to start for some other reason

      We should also hide overlay of start takes too long. It could be error behind the app window.
      Depending on what will be typical start it could be 90 or 120s by default. May be overridable as javafx() parameter?

      Apparently Vanoc app needs to support English & French and this seems to be applicable to error messages too.
      We need to provide simple (unadvertised?) way to customize them. Perhaps pass "messages" map as part of the parameters. It is set them use messages from this map instead of hardcoded english messages.

            ngthomas Thomas Ng (Inactive)
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: