Unable to launch application with webstart

Hi all, hope someone can help
I recently installed j2se 5.0 update 1 and uninstalled my earlier version of 1.4.2_06.
Since uninstalling the earlier version I am unable to run my application, I get the following error:
An error occurred while launching/running the application.
Title: Uploader
Vendor: Me
Category: Launch File Error
Could not parse launch file. Error at line 0.
This is from the exception tab:
JNLParseException[ Could not parse launch file. Error at line 0.]
     at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(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)
Here is a copy of my jnlp file
<?php
header('Content-type: application/x-java-jnlp-file');
echo '<?xml version="1.0" encoding="UTF-8"?>';
echo '<jnlp spec="1.0+" codebase="http://www.******.com.au/uploader/fileuploader" href="fileuploader_jnlp.php">';
echo ' <information>';
echo ' <title>Uploader</title>';
echo ' <vendor>Me</vendor>';
echo ' <homepage href="index.html" />';
echo ' <description></description>';
echo ' </information>';
echo ' <resources>';
echo ' <j2se version="1.4"/>';
echo ' <jar href="fileuploader.jar" main="true" />';
echo ' <jar href="JimiProClasses.jar" />';
echo ' </resources>';
echo ' <application-desc main-class="fileuploader.FileUploader">';
echo ' <argument>http://www.********.com.au/uploader/fileuploader/upload.php</argument>';
echo ' <argument>25/</argument>';
//echo ' <argument>100000</argument>';
//echo ' <argument>thomas:test</argument>';
echo ' </application>';
echo ' <security>';
echo ' <all-permissions/>';
echo ' </security>';
echo '</jnlp>';
?>
The application runs fine if I uninstall version 5.0 and revert to 1.4.2_06
but I would like it to be compatible with newer versions of java.
P.S. Im not a programer so if you could explain to me in simple terms what Im doing wrong it would be great.
Thanks in advance
Dean

I'm a programming illiterate having the same problem with the latest java.
Unable to Launch Application
Exception:
JNLParseException[ Could not parse launch file. Error at line 0.]
     at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
     at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
     at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
     at com.sun.javaws.Launcher.launch(Unknown Source)
     at com.sun.javaws.Main.launchApp(Unknown Source)
     at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
     at com.sun.javaws.Main$1.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
java.io.EOFException: encoding.error.not.xml
     at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
     at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
     at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
     at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
     at com.sun.javaws.Launcher.launch(Unknown Source)
     at com.sun.javaws.Main.launchApp(Unknown Source)
     at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
     at com.sun.javaws.Main$1.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
What am I supposed to do? Java Web Start is supposed to be dummy friendly :(
Edit: Problem solved! It seems the file wasn't completely removed and parts of it were corrupted under the java viewer-resources (old cache messing it up). Once removed the problems were gone, so anyone having this problem should check that out :D
Edited by: Mr.O on Jul 21, 2008 10:32 PM

Similar Messages

  • Unable to launch application with java web start (OILOM)

    I'm connecting to a remote Oracle console from a server, using "oracle integrated lights out manager". I go to "Remote Control" and click on "Launch Console". After that, it download a JNLP file, called "jnlpgenerator-16". I open it with Java7 -web starter- update 5.
    After a while hanging I get this error:
    Error: Unable to load resource: https://XXX.XXX.XXX.XX:443/Java/JavaRConsole.jar.
    In Exception:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: https://XXX.XXX.XXX.XXX:443/Java/JavaRConsole.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    In Wrapped Exception:
    java.net.SocketException: SOCKS server general failure
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
         at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    It happens the same under Windows 7 and Linux -using openJRE and icedtea as substitution of Java Web Start-.
    I'm behind a proxy. In my browser -Chrome, IE and FF- putted the info of the proxy and I can browse. Aldo tried to put the info in the Java "Network Settings". It did not work -the launching of the console-.
    I installed the last Java Web Start in Windows 7 -Java7 Update5-. I disabled my anti-virus and firewall. Always the same result.
    Could you help me please. I don't have idea of what is going on.
    Greetings.
    PD: I tested from other machines of the company and it works. So, I guess is my laptop. I exported the oracle certificates from those machine and imported them into mine.

    AndrewThompson64 wrote:
    I am not used to seeing references to a local server that do not include a port number.
    E.G. http://localhost:8080/LottoMadness/
    I have deployed the following HTML (HelpMe.html) to the web server:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    Help Me!
    </body>
    </html>When I attempt to render the URL in IE, I see the page just fine. The URL is use is:
    http://localhost/LottoMadness/HelpMe.htmlSo, I think my web server setup and usage is ok.
    >
    As an aside, what happens if (your MS IIS is running and) you click a direct link to..
    [http://localhost/LottoMadness/LottoMadness.jnlp|http://localhost/LottoMadness/LottoMadness.jnlp]
    When I click this link I get the error and exception I cited in my previous post.

  • 'Unable to Launch Application Error' - Java Web Start Running Under MS IIS.

    I am attempting to render the following .jnlp in MS IE:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for LottoMadness Application -->
    <jnlp
       codebase="http://localhost/LottoMadness/"
       href="LottoMadness.jnlp">
       <information>
         <title>LottoMadness Application</title>
         <vendor>Rogers Cadenhead</vendor>
         <homepage href="http://localhost/LottoMadness/"/>
         <icon href="lottobigicon.gif"/>
       </information>
       <resources>
         <j2se version="1.5"/>
         <jar href="LottoMadness.jar"/>
       </resources>
       <application-desc main-class="LottoMadness"/>
    </jnlp>I've deployed the .jnlp, .gif, and .jar to MS IIS, running locally on my PC.
    When I attempt to render the .jnlp in IE I obtain an 'Application Error' window stating 'Unable to Launch Application'. Clicking details gives me:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost/LottoMadness/LottoMadness.jnlp
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)I have configured MS IIS for Web Start, by setting the Extension/Content Type fields to .jnlp and application/x-java-jnlp-file.
    (The .jnlp is basically from 'Programming with Java in 24 Hours', as this is the book I am learning Java from.)

    AndrewThompson64 wrote:
    I am not used to seeing references to a local server that do not include a port number.
    E.G. http://localhost:8080/LottoMadness/
    I have deployed the following HTML (HelpMe.html) to the web server:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    Help Me!
    </body>
    </html>When I attempt to render the URL in IE, I see the page just fine. The URL is use is:
    http://localhost/LottoMadness/HelpMe.htmlSo, I think my web server setup and usage is ok.
    >
    As an aside, what happens if (your MS IIS is running and) you click a direct link to..
    [http://localhost/LottoMadness/LottoMadness.jnlp|http://localhost/LottoMadness/LottoMadness.jnlp]
    When I click this link I get the error and exception I cited in my previous post.

  • Java - Unable to launch application

    The problem: When I try to run ASDM on my Cisco 5550, I'm getting the dialog box "Unable to launch application". When I click on "Details", I see the error: "The application has requested a version of the JRE (1.5+) that is not installed".
    The system I'm running this on is a Mac Pro with OS X Lion 10.7.5, and the latest Java version 7u13.
    The initial lines of "show ver" on the firewall are:
    # show ver
    Cisco Adaptive Security Appliance Software Version 8.2(2)
    Device Manager Version 6.3(3)
    This is a relatively new problem; as recently as two weeks ago I was able to run ASDM with no problem. I suspect that the latest security-related Java updates have caused something to break.
    Any ideas?

    Solved this one on my own: The solution was to install the latest ASDM, 7.1.1_52. (This had occurred to me, but I didn't know if was compatible with the older ASA 8.2(2). It looks like it is!)

  • Unable to launch application error

    Everytime I try to open a jnlp file i get the Unable to launch application error. I have no clue how to fix this and would like to know a solution. I currently have JRE 6 Update 6. Here is the error info.
    java.lang.Exception: cache failed forhttp://pokeglobal.sourceforge.net/game/beta.jnlp
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Java Web Start 1.6.0_06
    Using JRE version 1.6.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\MILTON
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    #### Java Web Start Error:
    #### cache failed forhttp://pokeglobal.sourceforge.net/game/beta.jnlp

    I see, you found a solution for this problem. Can you share it with me please, because i am having the same error right now.

  • Unable to Launch Application error while starting IR

    Dear friends
    I am not a BASIS trained person, but wearing different caps because I am the only SAP engineer in our company and so learning on the job.
    I have installed a new server that has (SAP ECC 6.0, EP and PI). This is an IDES version. The operating system is Windows Server 2003 R2 (64 Bit).
    The menu System -> Status says that  Software Component SAP_BASIS is  Release 700.
    The ECC part is working ok, since I have been using many custom and standard tables, Bapis etc.,
    However, when I give transaction code    "SXMB_IFR"   to start PI, it opens the browser with a message at the top saying "You need to install Javau2122 WebStart 1.4.2. "
    However, I have installed j2sdk1.4.2_17-x64 and entered the environment variable path "C:\j2sdk1.4.2_17-x64".
    When I try to click on 'Integration Repository', it tries to start 'Java Web Start window and after a while fails with a message 'Unable to launch the application'.
    I searched SDN and other blogs and tried suggestions like,
    selecting  Control Panel -> Java and removing temporary internet files. But this didn't help.
    I have installed another server on a 32 bit system and that one doesn't have any issues. The main difference with this one is that it is a 64 bit server and has (ECC, EP and PI) installed on the same server.
    I would appreciate any feedback or suggestions.
    Thanks
    Ram

    Dear Ram
    install JDK then
    first set your environment variable like this... upto ur java bin folder.
    JAVE_HOME      C:\Program Files\Java\jre6\bin
    then run your java webstart . goto preferences and there  make proxy as none
    now start IR again.. it will start.. if it fails again then take 1-2 more trial to start . It will open.
    IN SAP XI/PI, java webstart is used to cache fat clients like IR and ID on local machines. So you need to make JWS proxy as NONE and then run IR or ID. with in 1-2 attemt it will cache all the required files.
    then after wards it will run smoothly.
    good luck
    --sandeep

  • Unable to launch application

    I am just starting off with Java Web Start and trying some simple tests. Let me preface the problem statement by saying that everything is on the same machine (my Win XP Pro desktop). Also, I have confirmed that the environment is set up correctly by running the demo apps at http://java.sun.com/products/javawebstart/demos.html; these work flawlessly.
    However, when I try to invoke my application it fails with a dialog that reads
    Unable to launch Test JNLP ApplicationSelecting the "Details" button, displays the Download Error window. The gist of the contents of the General tab is
    Unable to load resource: http://d10616:8080/aatview/test.jnlpEverything about the URL is correct. The Exception tab has a stack trace that begins with
    JNLPException[category: Download Error : Exception: java.io.IOException: Server returned HTTP response code: 503 for URL: http://d10616:8080/aatview/test.jnlp : LaunchDesc: null ]Perusing this forum I read a recommendation to remove the proxy setting the JAWS Application Manager. So I did that; but then I get a failure with the General tab reading
    Unsigned application requesting unrestricted access to systemCan you help?

    Unsigned application requesting unrestricted access to systemWell It means your application was downloaded, but if the jnlp file indicates an unrestricted access to the client, you need to sign your application.
    Search for self-signed certificates in the forums to know how to generate a cert yourself and sign the jar file(s).

  • Application Error: Unable to launch application

    Hi guys,
    My name is Jay Sun and I am new this this Forums.  I am told by my professor to migrate from this Java application to Java Web Start.
    I read all about it but I'm still struggling.  I have an example program called Traffic Light.  From the TrafficLight class,
    I created a .jar file from .java file.  The jar file runs perfectly fine and I created a .jnlp file using this.<?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="file:///C:/Documents and Settings/HP_Administrator/Desktop/TrafficLight" href="TrafficLight.jnlp">
    <information>
    <title>Traffic Light</title>
    <vendor>Java Developer Connection</vendor>
    <homepage href="/jdc" />
    <description>Demonstration of JNLP</description>
    </information>
    <offline-allowed/>
    <resources>
    <j2se version="1.6+" />
    <jar href="TraffcLight.jar"/>
    </resources>
    <application-desc main-class="Traffic Light" />
    </jnlp>That's my .jnlp file.
    My .java file is below it.import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class TrafficLightFrame extends JFrame {
    // These are the window's components
    private JRadioButton[] buttons = new JRadioButton[3];
    private JButton advButton;
    private JProgressBar progressBar;
    private JSlider slider;
    private JComboBox actionList;
    private JCheckBox autoButton;
    public TrafficLightFrame(String title) {
    super(title);
    buildWindow();
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    setSize(400, 250);
    // Add all components to the frame's panel
    private void buildWindow() {
    GridBagLayout layout = new GridBagLayout();
    GridBagConstraints constraints = new GridBagConstraints();
    setLayout(layout);
    // Add all the labels
    JLabel label = new JLabel("Manual");
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.gridwidth = 1;
    constraints.gridheight = 1;
    constraints.weightx = 0;
    constraints.weighty = 0;
    constraints.fill = GridBagConstraints.NONE;
    constraints.anchor = GridBagConstraints.NORTHWEST;
    constraints.insets = new Insets(5, 5, 0, 0);
    layout.setConstraints(label, constraints);
    add(label);
    label = new JLabel("Action");
    constraints.gridx = 1;
    layout.setConstraints(label, constraints);
    add(label);
    label = new JLabel("Advance");
    constraints.gridx = 2;
    layout.setConstraints(label, constraints);
    add(label);
    label = new JLabel("Timer Progress");
    constraints.gridx = 0;
    constraints.gridy = 4;
    layout.setConstraints(label, constraints);
    add(label);
    // Add the Radio Buttons
    ButtonGroup lights = new ButtonGroup();
    JPanel aPanel = new JPanel();
    aPanel.setLayout(new BoxLayout(aPanel, BoxLayout.Y_AXIS));
    aPanel.setBackground(Color.black);
    for (int i=0; i<3; i++) {
    buttons[i] = new JRadioButton("", false);
    buttons.setBackground(Color.black);
    lights.add(buttons[i]);
    aPanel.add(buttons[i]);
    buttons[0].setText("Red");
    buttons[1].setText("Yellow");
    buttons[2].setText("Green");
    buttons[0].setForeground(Color.red);
    buttons[1].setForeground(Color.yellow);
    buttons[2].setForeground(Color.green);
    constraints.gridx = 0;
    constraints.gridy = 1;
    constraints.gridheight = 3;
    constraints.fill = GridBagConstraints.BOTH;
    layout.setConstraints(aPanel, constraints);
    add(aPanel);
    // Make the Actions List
    String[] actions = {"Stop", "Yield", "Go"};
    actionList = new JComboBox(actions);
    constraints.gridx = 1;
    constraints.gridy = 1;
    constraints.gridheight = 1;
    constraints.weightx = 1;
    constraints.fill = GridBagConstraints.HORIZONTAL;
    layout.setConstraints(actionList, constraints);
    add(actionList);
    // Make the Slider
    slider = new JSlider(JSlider.HORIZONTAL, 0, 20, 1);
    slider.setMajorTickSpacing(5);
    slider.setMinorTickSpacing(1);
    slider.setPaintTicks(true);
    slider.setPaintLabels(true);
    constraints.gridx = 1;
    constraints.gridy = 3;
    layout.setConstraints(slider, constraints);
    add(slider);
    // Add the auto checkbox button
    autoButton = new JCheckBox("Auto Advance");
    constraints.gridx = 1;
    constraints.gridy = 2;
    constraints.fill = GridBagConstraints.BOTH;
    layout.setConstraints(autoButton, constraints);
    add(autoButton);
    // Add the Advance Picture button
    advButton = new JButton(new ImageIcon("RedLight.jpg"));
    constraints.gridx = 2;
    constraints.gridy = 1;
    constraints.gridheight = 3;
    constraints.weightx = 0;
    constraints.weighty = 1;
    constraints.fill = GridBagConstraints.BOTH;
    constraints.insets = new Insets(5, 5, 0, 5);
    layout.setConstraints(advButton, constraints);
    add(advButton);
    // Add the progress bar
    progressBar = new JProgressBar(JProgressBar.HORIZONTAL, 0, 8);
    constraints.gridx = 0;
    constraints.gridy = 5;
    constraints.gridwidth = 3;
    constraints.gridheight = 1;
    constraints.weightx = 1;
    constraints.weighty = 2;
    constraints.fill = GridBagConstraints.BOTH;
    constraints.insets = new Insets(5, 5, 5, 5);
    layout.setConstraints(progressBar, constraints);
    add(progressBar);
    public static void main(String args[]) {
    TrafficLightFrame frame = new TrafficLightFrame("Traffic Light");
    frame.setVisible(true);
    }When I launch the Java appliation, I get the dialog box error saying "Application Error - Unable to launch the application"
    Exception:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: file:/C:/Documents and Settings/HP_Administrator/Desktop/TrafficLight/TrafficLight.jnlp
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Wrapped Exception
    java.io.FileNotFoundException: C:\Documents and Settings\HP_Administrator\Desktop\TrafficLight\TrafficLight.jnlp (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    actually there are 2 problems here:
    file:///Documents and Settings/... will work, but this means the path:
    /Documents and Settings/... on the current path.
    if you have to include the "c:" part first, then there needs to be only 2 leading slashes, because "/C:/Documents and Settings/..." is not a leagle pathname (even after replacing the file separators).
    However the colon (":") char is not legal in a URL, so has to be escaped.
    Best to just use: "file:///Documents and Settings/..."
    /Andy

  • Launch application with hotkey

    is there a way to launch any selected application with a hotkey from finder? any help is greatly appreciated.
    Mark N

    kevinkendall wrote:
    hehehe
    hey Project
    I don't know if yer joshin' er not!....
    hehe kinda funny, that answer.
    But according to your profile info, you should be joshin'! <g>
    But if, by some stretch, you're not, lookie: http://en.wikipedia.org/wiki/Hotkey
    kk
    what's really funny is that ProjectArchangel's answer was marked as solved by the original poster. I guess he found it satisfactory or perhaps liked the humor...

  • Very Urgent Unable to Launch Application using Web Start using JDK 1.4.2

    Hi all
    I am very serious issue i have ejb client swing application that uses
    RMI to contact a session bean deployed in JBoss now i want the client app to be installed in the client machine using web start . Also i understand i require security permission to access network resources. so i have signed all the JAR files with same certificate created using self certificate avialiable in JDK by default also in the JNLP file in have included the following tag
    <security>
    <all-permissions/>
    </security>
    Now when I launch my application using Web start it gives an error that " Unsigned application is trying to access local resources"
    I unable to understand what could be the problem . Please help me with the steps to be followed where in client should be able to RMI call to the server
    Thanks in Advance
    Naveen

    You may have tried this already, but you might have to sign the jars via command line, outside any export process from your IDE.
    $ jarsigner {filename}.jar {key from keystore}
    I also had problems using webstart and RMI through an RCP
    Ben

  • Unable to launch application using web start

    hi
    My application gets downloaded to the client machine but doesnot start up when click on desktop shortcut or start menu.
    here is my jnlp file
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SwingSet2 Demo Application -->
    <jnlp spec="1.0" codebase="http://localhost:8080/drive" href="vp.jnlp">
    <information>
    <title>Video Player Application</title>
    <vendor>Sun Microsystems, Inc.</vendor>
    <shortcut online="false">
    </shortcut>
    </information>
    <information os="windows xp">
    <title> Video Player </title>
    <homepage href="docs/linuxhelp.html"/>
    </information>
    <resources>
    <j2se version="1.4.2+" java-vm-args="-esa -Xnoclassgc"/>
    <jar href="signedvideo.jar"/>
    </resources>
    <application-desc main-class="com.video.VideoPlayer">
    </application-desc>
    </jnlp>
    Please help me with this
    Thanks
    Rajesh

    The first jar will default to main, if it isn't explicitly listed.
    What is the error you get when you try to launch the application offline using the shortcut created ? (note, the <shortcut online="false"/> will cause to create shortcut that will launch the application in offline mode)
    I notice you name the jar "signedvideo.jar", but do not ask for all-permissions.
    If you want to run trusted you must also add
    <security><all-permissions/></security>
    /Andy

  • "Unspecified Error" or "Runtime Error" 7 when launching application with AcroPDF on Secured Vista PC.

    We have a client application written in Visual Basic 6 that uses the AcroPDF ActiveX DLL to view PDF files in our app.  The app works fine the clients secured Windows XP SP 3 PC, and on my Windows Vista Business 32 bit Virtual Machine.  However, the application will not launch on the client's highly secured Vista Enterprise 32 bit PC's.  The form with the Acrobat Browser control does not even initialize before a "Runtime Error 7: Out of Memory" message is presented.  I created a VB 6 test app that has just the form and the Acrobat Browser control on it, and this test application will not initialize either.  It gets an "System Error &H80004005 (-2147467259). Unspecified Error" message on attempting to launch.  I get the same error message if I attempt to add the Acrobat Browser control to a form in an MS Excel Macro in Excel 2003 on the same PC.  Test VB6 applications using the other controls and references in the application launch fine.
    The Acrobat installed on these PC's is Acrobat Professional 9.0.0 and/or 9.1.0.  In two cases, we have been able to have the application load after uninstalling /reinstalling Acrobat 9.x on the PC, but ONLY for the profile that did the installation.  And in one case, after removing that user profile and then logging back on, that user started getting the same errors above.
    What policy or registry setting is needed to get this control to initialize on a secured Vista PC for all users?

    I have done the following on my Vista Business VM and I still have not been able to duplicate the error that I see at the client site.
    1.  Enabled UAC.
    2.  Implemented Software Restriction Policies.
    3.  Set the Default Security Level to Basic User (except for Local Administrators).
    4.  Lowered the Integrity Level on my AcroTest1.EXE and on my actual executable to "Low".
    The sample application and the user application loaded the form and initialized the AcroPDF control when logged in as a normal user account (the account is only a member of the "Users" group on the local Vista PC).
    Since this application is an actual Windows application (not an Internet Browser plug in), the default integrity level should be "Medium".

  • Launching applications with CF

    Hello - My company is considering a Web page as an
    application launcher. Essentially it would be a page that displays
    images of the program icons, and when the user clicks an icon, the
    executable runs (C:\Program Files\Microsoft
    Office\Office10\WINWORD.EXE). Is there any ColdFusion code that
    will run an executable from a user's hard drive or network
    share?

    Is there any ColdFusion code that will run an executable from
    a user's
    hard drive or network share?
    <cfexecute...> will launch many applications, from the
    point of view of
    the the CF-Server and the user it runs under. I suspect what
    you really
    want is not going to work well. A ColdFusion server has
    almost no
    ability to interact with a client system. If it did it would
    be a huge
    security risk and people would be abusing it all over the
    place.

  • Unable to launch application on Linux machine

    Hi,
    We have a Java based product developed as desktop application. This product has a tree structure built-in. and while connecting to few of the nodes, we are getting the following error: "*Cannot write XdndAware property*".
    Note:
    1. We are running the application on a Linux machine.
    2. We are using JNLP to launch the application.
    3. Only few nodes are causing this issue.
    4. Tried putting -DsuppressSwingDropSupport=true in JNLP file, but no progress.
    5. This happens on JDK1.6.0_23 and above
    Can someone help us to resolve this issue.
    Thank you.
    Regards,
    KNP

    Let me explain my current requirement.
    1. All the client jars should be downloaded every time I click a link (as of now its a JNLP link, but this can change).
    2. And this should be platform independent
    3. I stated in the earlier description I should be able to pass arguments (suppressSwingDropSupport, etc) to VM to resolve the actual issue.
    Can someone please suggest any other approach?
    I have one more generic question: Can I write my own JNLP defining XSD & DTD, so that it can accept all the arguments whichever I can pass to the VM? If so, how to do this?
    Please respond

  • Unable to launch application from my machine:Bad MIME Type

    Hi,
    The following error message was printed when I tried to access the SwingSet2 demo from the Java Web Start site.
    An error occurred while launching/running the application.
    Title: SwingSet2
    Vendor: Sun Microsystems, Inc.
    Category: Download Error
    Bad MIME type returned from server when accessing resource: http://java.sun.com/products/javawebstart/apps/SwingSet2.jnlp - text/html
    Can you please suggest what is to be done to rectufy this problem?
    Regards,
    Satish

    Bad MIME type returned from server when accessing
    resource:
    http://java.sun.com/products/javawebstart/apps/SwingSet
    .jnlp - text/htmlit should return application/x-java-jnlp-file.
    My guess is that you use proxy which messes up headers.
    Otherwise try to reinstall Web Start, then enable the console and log output in Web Start's advanced preferences to get more clues what's going on.
    Regards,
    Marc

Maybe you are looking for

  • Problem displaying error page of web.xml when using JSF, Ajax4jsf

    Hi, My application is using MyFaces, RichFaces and Ajax4jsf. When i try to display error page configured in web.xml, i am getting exception "Error while processing error page". my web.xml contents are as follows: <?xml version="1.0"?> <web-app versio

  • Prime infrastructure 2.0 - Inventory error with Virtual-Access Interface

    Hi, We have recently been trying to resolve a few issues with routers which get partial inventory failures upon discovery. I have managed to narrow this down slightly with the help of the inventory.log file. (With help from this post https://supportf

  • F-48 Error

    Hi Frenz, While Using Tcode F-48, when i fulfill the first screen of the transaction say date, vendor a/c, spl Gl, bank a/c, amt, Profit center enter.. till the first screen input it accepts properly but when for the second screen (DP made pstg key 2

  • Import a class cannot take effect until the restart of wls6.1

    Hi all, I am using Weblogic6.1,I knew that JSP,Servlet,EJB can be auto depolyed without restart weblogic,but when I import a class written by myself in JSP or Servlet£¬the modification of this class cannot take effect until the restart of weblogic se

  • Can iMacs get the HTML.Nimda

    How would the HTML.Nimda virus effect my mac and mail?