Problem running JNLP using IIS
843802Dec 18 2003 — edited Nov 25 2005Hi,
I want to run a java appliacation through Java Web Start.
I have configured my IIS to support MIME type and followed the instructions on java tutorials.
I have created a jnlp file.
But when I try and start the application a dialog box appears asking for an Authentication.
Server is requesting authentication for
Username:
Password:
I tried giving password but after giving the password it asks again and again for password.
after all it gives error that
An error occurred while launching/running the application.
Unable to load resource: http://wxp46/downloads/scheduler/JNLP.jnlp
JNLPException[category: Download Error : Exception: java.io.IOException : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
My JNLP file is as follows
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SwingSet2 Demo Application -->
<jnlp
spec="1.0+"
codebase="http://wxp46/downloads/scheduler"
href="JNLP.jnlp">
<information>
<title>Scheduler Application</title>
<vendor>Compulink Systems, Inc.</vendor>
<homepage href="http://wxp46/downloads/scheduler/JNLP.html"/>
<description>Demo Application</description>
<description kind="short">A demo which actually schedules an application for you.</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.4"/>
<jar href="SampleScheduler.jar"/>
</resources>
<application-desc main-class="javacron.scheduler.JobSelection"/>
</jnlp>
I also tried setting windows IIS security. But nothing works.
Please help me in this regards.
Thanks in advance,
Prasanna.