473,386 Members | 1,962 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Download Error in java webstart

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
Jan 30 '07 #1
0 1503

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

Similar topics

1
by: Krist | last post by:
Hi All, Our customer has just decided to choose as development standard. The application is HR application with report. While many like Web client, Java application/thick client is still...
14
by: Wolfgang Keller | last post by:
Hello, as a non-developer I am currently participating in an industrial "research" project to develop a so-called "web application". This application serves at the same time as middleware to...
24
by: huy | last post by:
Hi, Just wondering if there were any plans (or existing projects) similar to Java webstart for Python. I think this would be a boon for python. I would love to start my new project using Python...
1
by: Niklas | last post by:
H What is Java Webstart counterpart in .NET Regard /Niklas
2
by: Mark Richards | last post by:
An applet on one of my pages uses a big picture as background. I want to load it before the applet and the rest of the html source. By doing this I want to avoid that the pane of the applet is...
10
by: Nic Bar | last post by:
Hi everybody, I want to develop a WEB based Python user appication that nees to be downloaded and started grom a web server using a browser. Does anybody know if there is an equivalent of Java...
2
by: 123456prakash | last post by:
Hi all I have a requirment that i have to deploy an application using java webstart Actually i don't know much about java webstart. Can any one suggest me some good website ..where i can get...
14
by: Keith McCutcheon | last post by:
I've got a jar file that I'm loading with Java's Web Start. When I load the ..jnlp file from a browser, the application installs and runs properly the first time. If I close the application and...
0
by: Banibrata Dutta | last post by:
Hi, I've tried searching this list & googling around a bit -- trying to see if there is a Java-Webstart like alternative for Python, the closest approximate I've found is something suggested in...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.