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.
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.
- duplicates
-
JDK-8117608 Unnecessary network roundtrips, when loading FXMLs
-
- Closed
-