T
tobleron
Hi,
I tried to make a link in my web page to run ECG Viewer from PixelMed.
I run them in my local PC with IP of 140.135.100.179. Here is the jnlp
file :
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for ECGViewer -->
<jnlp
spec="1.5+"
codebase="http://140.135.100.179/dicom"
href="ECGViewer.jnlp">
<information>
<title>ECGViewer</title>
<vendor>PixelMed Publishing</vendor>
<homepage href="javadoc/index.html"/>
<description>ECGViewer Application</description>
<description kind="short">A simple DICOM and SCP ECG viewer.</
description>
//<icon href="icons/ECGViewer.png"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
//<jar href="pixelmed.jar"/>
<jar href="ecgviewer.exe"/>
</resources>
<application-desc main-class="com.pixelmed.displaywave.ECGViewer"/>
//<application-desc main-class="displaywave.ECGViewer"/>
</jnlp>
The .exe file, the .jnlp file, also files and directory of
com.pixelmed.display.ECGViewer are on their place. But when the link
has been clicked, there is an error occurs :
MissingFieldException[ The following required field is missing from
the launch file: <jnlp>(<application-desc>|<applet-desc>|<installer-
desc>|<component-desc>)]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
What should I do to solve this problem ? Thank you for your comments
and helps.
I tried to make a link in my web page to run ECG Viewer from PixelMed.
I run them in my local PC with IP of 140.135.100.179. Here is the jnlp
file :
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for ECGViewer -->
<jnlp
spec="1.5+"
codebase="http://140.135.100.179/dicom"
href="ECGViewer.jnlp">
<information>
<title>ECGViewer</title>
<vendor>PixelMed Publishing</vendor>
<homepage href="javadoc/index.html"/>
<description>ECGViewer Application</description>
<description kind="short">A simple DICOM and SCP ECG viewer.</
description>
//<icon href="icons/ECGViewer.png"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
//<jar href="pixelmed.jar"/>
<jar href="ecgviewer.exe"/>
</resources>
<application-desc main-class="com.pixelmed.displaywave.ECGViewer"/>
//<application-desc main-class="displaywave.ECGViewer"/>
</jnlp>
The .exe file, the .jnlp file, also files and directory of
com.pixelmed.display.ECGViewer are on their place. But when the link
has been clicked, there is an error occurs :
MissingFieldException[ The following required field is missing from
the launch file: <jnlp>(<application-desc>|<applet-desc>|<installer-
desc>|<component-desc>)]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
What should I do to solve this problem ? Thank you for your comments
and helps.