Download Error in java webstart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 123456prakash
    New Member
    • Jan 2007
    • 35

    #1

    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>Sa mple Test</description>
    <shortcut>
    <desktop/>
    <menu submenu="My Application 2.0 (web)"/>
    </shortcut>
    </information>

    <security><al l-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.DownloadP rotocol.doDownl oad(Unknown Source)
    at com.sun.javaws. cache.DownloadP rotocol.isLaunc hFileUpdateAvai lable(Unknown Source)
    at com.sun.javaws. LaunchDownload. getUpdatedLaunc hDesc(Unknown Source)
    at com.sun.javaws. Launcher.downlo adResources(Unk nown Source)
    at com.sun.javaws. Launcher.handle ApplicationDesc (Unknown Source)
    at com.sun.javaws. Launcher.handle LaunchFile(Unkn own Source)
    at com.sun.javaws. Launcher.run(Un known Source)
    at java.lang.Threa d.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
Working...