Hi
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="http://127.0.0.1/" href="/products/note.jnlp">
<information>
<title>My Application </title>
<vendor>ABC Pvt Ltd</vendor>
<homepage href="http://127.0.0.1/products/"/>
<description>Sample Test</description>
<shortcut>
<desktop/>
<menu submenu="My Application 2.0 (web)"/>
</shortcut>
</information>
<security><all-permissions/></security>
<resources>
<j2se version="1.4+" />
<jar href="/products/Notepad.jar" main="true" download="eager"/>
</resources>
<application-desc main-class="Notepad">
</application-desc>
</jnlp>
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: http://127.0.0.1/products/note.jnlp - 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 com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown 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
Prakash