Issue 303 in openwonderland: Java7 on Windows7 does not support JNLP URLs containing query string

1 view
Skip to first unread message

openwon...@googlecode.com

unread,
Sep 21, 2012, 4:30:26 AM9/21/12
to openwonder...@googlegroups.com
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&amp;y=1.0250003&amp;z=-4.724328&amp;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

openwon...@googlecode.com

unread,
Oct 24, 2012, 2:59:34 PM10/24/12
to openwonder...@googlegroups.com

Comment #1 on issue 303 by nicole.m...@gmail.com: Java7 on Windows7 does
not support JNLP URLs containing query string
http://code.google.com/p/openwonderland/issues/detail?id=303

This may be relevant:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7191616

openwon...@googlecode.com

unread,
Jan 31, 2014, 4:13:02 PM1/31/14
to openwonder...@googlegroups.com

Comment #2 on issue 303 by crrami...@gmail.com: Java7 on Windows7 does not
support JNLP URLs containing query string
http://code.google.com/p/openwonderland/issues/detail?id=303

Hello,

The problem indeed happens since Java 7u45 in Java 7u40 or below it works
correctly. Maybe when the issue was reported it didn't work. Currently it
stills write the href like in the issue body but works.

Since Java 7u45 it happens due to the mandatory change that every property
to Java WS must begin with jnlp.

Since Java 7u45 it enters in the default location regardless the url
parameters

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

openwon...@googlecode.com

unread,
Feb 6, 2014, 10:48:20 AM2/6/14
to openwonder...@googlegroups.com

Comment #3 on issue 303 by crrami...@gmail.com: Java7 on Windows7 does not
support JNLP URLs containing query string
http://code.google.com/p/openwonderland/issues/detail?id=303

Here the patch. With it the location problem is solved in Java 1.7_u45 and
51

Attachments:
location.patch 2.6 KB
Reply all
Reply to author
Forward
0 new messages