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

Similar Messages

  • 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 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.

  • 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 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

  • 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!)

  • Using web start to deploy a web-application WAR

    I am planning to develope a web-application, that will run in my clients as localhost. My client will have a Tomcat server, and he can run that application in his own computer without Internet.
    By times, and when he have access to Internet, i would like that he check the new version of that application(WAR file) in my Server, and if there is new version, then he will update the application (WAR file).
    Is there any possibilite that I can use Web Start to deploy WARs directly tomcat/webapps/ ??
    In all documentation of web start, they use for *.JAR. but there is no place where say that I can't use web start for WebApplication.

    Not that I'm aware of.
    You can upload your new WAR to his Tomcat server if you have access to /manager/html on his Tomcat.

  • Launched thru Java web Start...?

    Is there a way to find out whether my application is launched through Java Web Start or as a stand-alone application?
    I have think of 2 round about ways -
    - Getting the service names using javax.jnlp.ServiceManager.getServiceNames(), which returns null if launched as a standalone application.
    - Getting the classloader name.
    But, I am looking for one more concrete way of doing it, if any?

    Akhil,
    I was looking for a solution for this very problem and came across a FAQ in another thread that was helpful. See http://vamphq.com/jwsfaq.html and more specifically http://vamphq.com/jwsfaq.html#under

  • How to add scroll function in  the applet launched by  Java Web Start?

    I have Java Web Start installed in order for the applet to launch.The applet size: width:700 height:1000
    my compuer resolution:800*600
    the applet launched by Java Web Start can only be seen partly,especially height.How to add scroll function in the applet launched by Java Web Start?
    Thanks for help.
    email:[email protected]

    You can very easily add a JScrollPane manually between the Applet and your content. Perhaps it would be beter if javaws did this automatically. In the browser, an applet can be any size. In Java Web Start an applet is directly contained within a JFrame, so it cannot be smaller than the minimum size of a JFrame, or Larger than the max.

  • Can't load Stylesheet while runing application on Web Start

    I've got an error "WARNING: com.sun.javafx.css.StyleManager$2 run Resource "null" not found" while runing application on Web Start.
    It works fine while running on local execution. I've already signed jar files. So, It shoud not have any problem with java security.
    I kept css in the jar fie. The code below is used for loading css file.
    String stylesheetName = "/theme/default.css";
    scene.getStylesheets().add(stylesheetName);There was a guy who had the same problem with me but there was still no solution for this problem yet. Applet and css
    Does anyone know how to fix it?

    Hello User,
    Your path is wrong. It can't be good if your css file is inside your jar. (This is not a javaFx problem)
    If you pacaked your application like that:
    myapp.jar
    -----theme
    ---------default.css
    You should try something like this:
    scene.getStylesheets().add(getClass().getClassLoader().getResource("/theme/default.css").toString());Niculaiu
    Edited by: San Nicula on Jul 27, 2011 12:50 AM

  • Has anyone ever used web start in large scale ?

    Dear friends,
    have you ever used some web start application in large scale ?
    i.e., have you distributed some real application with web-start?
    I�m doing such experience here and I�m a bit afraid about several problems in the final user machine - such as java version, browser incompatibility and mainly with the ugly WebStart cache problems.

    can you give a bit more detail on what exactly you're afraid of? is this a www application? internal business app? etc.
    for example you can force your java version in java web-start,etc...

  • Problem when exiting an app that was launched with Jawa web start

    Hey
    Using java web start my jdk/jre is 1.6 u1. I can deploy and launch/install my apps fine, but when i exit them a instance of javaw.exe is eating memory. With a few stops/starts of my app i finnally crashed the computer with about 15 javaw.exe processes up and running.
    The app terminates fine if i launch it from command line or eclipse.
    Using SWT if that can have anythign to do with it
    Thomas
    Message was edited by:
    thfs

    I spotted this
    http://lopica.sourceforge.net/faq.html#linger
    which says that for some reason you have to call System.exit for Swing apps and for some reason webstart turns all apps into Swing apps!
    I'm using SWT and thought that closing the shell should shutdown the JVM correctly, perhaps Swing has some nasty non-daemon threads hanging around ? I'd love to know more so if anyone has got any detailed information, that'd be great.
    Cheers

  • Override the launch of Java Web Start

    How can we stop the auto launch of Java web start and prompt the user to enter the desired location to download the jars.
    And then launch the jars from that location.
    Is there any solution for this.
    Please help me in this regard
    Nandita

    The whole idea of WebStart is to relieve the user of the burden of downloading binaries themselves. The whole point is, they just click a link on a web page, some magic happens, and their app starts up.
    Your idea is a complete waste of time.

  • 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.

  • 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

Maybe you are looking for