Status: Accepted
Owner:
bernho...@gmail.com
Labels: Type-Defect Priority-High OpSys-Windows Component-Client
New issue 303 by
bernho...@gmail.com: Java7 on Windows7 does not support
JNLP URLs containing query string
http://code.google.com/p/openwonderland/issues/detail?id=303
What steps will reproduce the problem?
1. Construct a URL containing a JNLP + a query string, such as
http://owf1.virtualnorthstar.org:8080/wonderland-web-front/app/Wonderland.jnlp?foo=bar
2. Using IE or Firefox on Win7 using Java7, download the document
referenced by the URL to give a JNLP file named Wonderland.jnlp (example
given in attachment).
3. Try executing the file using javaws Wonderland.jnlp
What is the expected output? What do you see instead?
I expect the JNLP file to be read and executed. Instead it fails silently.
The problem appears to be that the <jnlp> section of the JNLP file contains
an href
to "Wonderland.jnlp?x=0.0&y=1.0250003&z=-4.724328&look=0.0",
which Java7 balks at (it is expecting an href of "Wonderland.jnlp"). This
is inserted into the JNLP file via class JnlpFileHandler, as part of the
JNLP substition mechanism. See [1] for the code, which we don't have.
Apparently, Java6 doesn't have this problem.
Suggested fix? Not really sure, other than getting the JnlpFileHandler
source and hacking it.
This is a showstopper for our project, as we can no longer pass in the
location of cells in the URL for users to jump straight to the cell from a
URL.
[1]
http://java.net/nonav/projects/deployment/lists/commits/archive/2011-04/message/5
Attachments:
Wonderland(2).jnlp 3.6 KB