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

FXML applications run slowly if launched as web start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8
    • 7u9
    • javafx
    • Win 7 64 bit, Win 7 32 bit, Win Xp 32 bit, Mac OSX 10.7.3 64 bit
      Firefox, Chrome, IE

      Hi,
      running a JavaFx application as web start every time a FXML is loaded or a FXMLLoader.load(...) is called a
      HTTP GET request for javax.xml.stream.XMLInputFactory is made to the web server. This results
      in a HTTP 404 response

      This is the web server log
      [30/Oct/2012:09:47:12 -0400] "GET /applet/META-INF/services/javax.xml.stream.XMLInputFactory HTTP/1.1" 404 18869 "-" "Mozilla/4.0 (Windows 7 6.1) Java/1.7.0_09"

      If the same application (jnlp) is launched locally on the pc the problem does not occur.

      In a complex application that uses many FXML views this makes the application to run slowly till it freezes.

      You can test this by running, as web start, the attached example.

            mkubec Milan Kubec
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: