By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,846 Members | 1,449 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,846 IT Pros & Developers. It's quick & easy.

Download Error in java webstart

P: 35
I am getting a error while downloading application from java webstart

I am using Apache 2.2 http server rnning on port 80
In that in htdocs folder I have placed my jnlp file and my jar file
My jnlp file is like this .

All file are in the folder htdocs/products/

<jnlp spec="1.0+" codebase="" href="/products/note.jnlp">

<title>My Application </title>
<vendor>ABC Pvt Ltd</vendor>
<homepage href=""/>
<description>Sample Test</description>
<menu submenu="My Application 2.0 (web)"/>


<j2se version="1.4+" />
<jar href="/products/Notepad.jar" main="true" download="eager"/>

<application-desc main-class="Notepad">


The error which i am getting is

An error occurred while launching/running the application.

Title: My Application
Vendor: ABC Pvt Ltd
Category: Download Error

Bad MIME type returned from server when accessing resource: - text/plain

JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(U nknown Source)
at com.sun.javaws.cache.DownloadProtocol.isLaunchFile UpdateAvailable(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc (Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unkn own Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at Source)
at Source)

Please help ...
How to solve this issue .
Am I using the correct server . Is there any other server
please let me know

Thank you
Jan 30 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.