Modify

Opened 3 years ago

Closed 3 years ago

#21354 closed defect (othersoftware)

OpenWebStart - problem

Reported by: konrad.philipp@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. open JOSM --> Window appears "Please install OpenWebStart"
  2. install OpenWebStart like displayed
  3. restart JOSM --> window appears again

What is the expected result?

Bevause I installed OpenWebStart, the window should never show up again

What happens instead?

The window appears again. It seems, as if JOSM does not use the installed OenWebStart.

Please provide any additional information below. Attach a screenshot if possible.

The whole dialogue is very confusing. You beg for installing OWS, but I have to choose between "Yes" and "Install OpenWebStart".
What does this mean? You should explain it!

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-09-03 03:12:33 +0200 (Fri, 03 Sep 2021)
Build-Date:2021-09-03 01:31:19
Revision:18193
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18193 de) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 109 MB / 247 MB (41 MB allocated, but free)
Java version: 1.8.0_301-b09, Oracle Corporation, Java HotSpot(TM) Client VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-19f55f36, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=51521, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]

Plugins:
+ imagery_offset_db (35640)
+ turnrestrictions (35640)

Last errors/warnings:
- 00003.807 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00004.950 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl

Attachments (4)

Screenshot (4).png (604.3 KB ) - added by anonymous 3 years ago.
Screenshot (3).png (263.7 KB ) - added by anonymous 3 years ago.
Screenshot (5).png (635.1 KB ) - added by konrad.philipp@… 3 years ago.
Screenshot (8).png (268.3 KB ) - added by konrad.philipp@… 3 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 by taylor.smock, 3 years ago

You are still starting JOSM with Oracle Java 8 Webstart. OpenWebStart does not (by default) override pre-existing file associations.

So you probably want to change the defaults.

OpenWebStart has instructions here: https://openwebstart.com/docs/OWSGuide.html#_jnlp_file_association

by anonymous, 3 years ago

Attachment: Screenshot (4).png added

by anonymous, 3 years ago

Attachment: Screenshot (3).png added

comment:2 by konrad.philipp@…, 3 years ago

Thank you!

But it seems as if it doesn't work.
None of the applications for the .jnlp file association is called OpenWebStart. I just tried the only one choice "Java Web Launcher" with the folloing success:

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-09-03 03:12:33 +0200 (Fri, 03 Sep 2021)
Build-Date:2021-09-03 01:31:19
Revision:18193
Relative:URL: /trunk

Identification: JOSM/1.5 (18193 de) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 111 MB / 247 MB (33 MB allocated, but free)
Java version: 1.8.0_301-b09, Oracle Corporation, Java HotSpot(TM) Client VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-19f55f36, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=64840, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]

Plugins:
+ imagery_offset_db (35640)
+ turnrestrictions (35640)

Last errors/warnings:

}}}

comment:3 by taylor.smock, 3 years ago

It looks like you probably want "Launcher for .jnlp applications according to JSR-56". The icon matches the branding for OpenWebStart.

It also looks like you used a different route than the link I pasted. But it should work anyway.

comment:4 by anonymous, 3 years ago

I didn't find the route suggested by your link. Maybe it is not the Win10-route?

This "Launcher for .jnlp applications according to JSR-56" was the pre-installed one. I now switched it back to it with the following success:

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-09-03 03:12:33 +0200 (Fri, 03 Sep 2021)
Build-Date:2021-09-03 01:31:19
Revision:18193
Relative:URL: /trunk

Identification: JOSM/1.5 (18193 de) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 150 MB / 247 MB (77 MB allocated, but free)
Java version: 1.8.0_301-b09, Oracle Corporation, Java HotSpot(TM) Client VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-19f55f36, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=65021, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]

Plugins:
+ imagery_offset_db (35640)
+ turnrestrictions (35640)

Last errors/warnings:

}}}

comment:5 by taylor.smock, 3 years ago

Are you starting JOSM from the JNLP or from a shortcut generated after starting the JNLP?

If you don't know:

1) Delete the shortcut/file you are using to launch JOSM (this will not delete your preferences or plugins)
2) Redownload the JNLP from https://josm.openstreetmap.de/download/josm.jnlp
3) Follow the instructions in https://openwebstart.com/docs/OWSGuide.html#_jnlp_file_association
4) Start JOSM

comment:6 by konrad.philipp@…, 3 years ago

What is the JNLP?

I started JOSM from the point I will try to show you in the next screenshot.

by konrad.philipp@…, 3 years ago

Attachment: Screenshot (5).png added

comment:7 by konrad.philipp@…, 3 years ago

Next problem: There is no OpenWebStart in C>Programme. But it is installed as you could see in Screenshot (4).

comment:8 by anonymous, 3 years ago

I now used the search function of the Explorer. Which of these OpenWebStarts should I use? (see Screenshot)

by konrad.philipp@…, 3 years ago

Attachment: Screenshot (8).png added

in reply to:  6 comment:9 by taylor.smock, 3 years ago

Replying to konrad.philipp@…:

What is the JNLP?

I started JOSM from the point I will try to show you in the next screenshot.

It looks like you are using a shortcut added by Oracle Java WebStart. Remove that shortcut (IIRC, right-click + remove, but its been awhile since I used Windows).

After that, download https://josm.openstreetmap.de/download/josm.jnlp (this is the aforementioned JNLP), and run that. It will ask to put shortcuts on the desktop/start menu (whether or not you add them is up to you), and Oracle Java Webstart probably asked the same question.

If you add the shortcuts, you can delete the downloaded file.

comment:10 by konrad.philipp@…, 3 years ago

Yes!
That worked!

Thank you very much!

And I can change background pictures again!

comment:11 by taylor.smock, 3 years ago

Resolution: othersoftware
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.