Bug 1539796

Summary: javaws gives "Not a launchable JNLP file" error on jnlp file that works fine with Oracle javaws
Product: Red Hat Enterprise Linux 7 Reporter: Paul Raines <raines>
Component: icedtea-webAssignee: Deepak Bhole <dbhole>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.4CC: dbhole, jvanek
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-29 16:47:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Raines 2018-01-29 15:58:18 UTC
Description of problem:

Go to https://ndar.nih.gov/data_dictionary.html?type=All&source=All&category=All and go to Tools -> Validation and Upload tool.  Open and use javaws from icedtea-web.  It will fail with an error "Fatal: Application Error: Not a launchable JNLP file..."

Version-Release number of selected component (if applicable):
1.6.2

How reproducible:
100% 

Steps to Reproduce:
1. Go to https://ndar.nih.gov/data_dictionary.html?type=All&source=All&category=All 
2. Go to Tools -> Validation and Upload tool
3. Run with icedtea-web's javaws

Actual results:
Fails with an error "Fatal: Application Error: Not a launchable JNLP file..."

Expected results:
Should run fine and launch the validation tool GUI which it does when run with the Oracle javaws from JDK1.8 Linux x86_64

Additional info:

Comment 2 jiri vanek 2018-01-29 16:13:26 UTC
  <jfx:javafx-desc  width="1024" height="768" main-class="gov.nih.nimhda.ndar.validationtool.ValidationTool"  name="ValidationTool" >
    <fx:param name="validationToolAPI" value="https://ndar.nih.gov/api/validationtool/v2"/>
  </jfx:javafx-desc>
  <update check="background"/>


Hi!

That is javafx application. Its support may be probably added to IceTea-Web out of Rhel cycle, however javafx jar nor javafx nativer binding are not finished for openjdk, and are unlikely to reach rhel.

In interesting case - if implemented to itw - itw would be able to run agaisnt oracle jdk.  

OpenJFX is  product which was released recently, and is just about half an year in latest Fedora. Also It is far from being complete.

Adding Deepak to CC as he may have to say lot for Openjdk x openjdfx x rhel.

Sorry for negative news.

Comment 3 Deepak Bhole 2018-01-29 16:47:43 UTC
There is a JavaFX tracker already. I will mark this as a dupe.

ITW should not link to Oracle JDK imo; besides, OracleJDK's WebStart implementation would already support it.

*** This bug has been marked as a duplicate of bug 1275610 ***

Comment 4 jiri vanek 2018-01-30 12:42:36 UTC
Just note - itw will not support  jfx:javafx-desc  element out of the box. it  have to be implemented on top of javafx general suppor, in itw itself. I have no idea how compelx task it maybe, but guess a lot.

Comment 5 jiri vanek 2018-02-07 12:35:31 UTC
I have implemented javafx-desc support for ITW. It works moreover fine with JavaFX as we have it in fedora. I have posted long info into Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=1145303#c140