Launching a JNLP file from IE works inconsistently

Am trying to launch jnlp file from IE. The jnlp file is created via a JSP page by setting the appropriate content type. Problem is it works inconsistently. It gives an error when launching with details as mentioned below:
If i keep trying it works finally .... why is this inconsistent behaviour!. ... please help.
Thanks in advance.
====================================================
Exception:
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\Documents and Settings\roopak.gupta\Local Settings\Temporary Internet Files\Content.IE5\4PMNG163\launchAdmin[1].jnlp]
at com.sun.javaws.Main.main(Unknown Source)
Wrapped Exception
java.io.FileNotFoundException: C:\Documents and Settings\roopak.gupta\Local Settings\Temporary Internet Files\Content.IE5\4PMNG163\launchAdmin[1].jnlp (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)

Am trying to launch jnlp file from IE. The jnlp file
is created via a JSP page by setting the appropriate
content type. Problem is it works inconsistently. It
gives an error when launching with details as
mentioned below:
If i keep trying it works finally .... why is this
inconsistent behaviour!. ... please help.
Thanks in advance.
====================================================
Exception:
CouldNotLoadArgumentException[ Could not load
file/URL specified: C:\Documents and
Settings\roopak.gupta\Local Settings\Temporary
Internet
Files\Content.IE5\4PMNG163\launchAdmin[1].jnlp]
at com.sun.javaws.Main.main(Unknown
main(Unknown Source)
Wrapped Exception
java.io.FileNotFoundException: C:\Documents and
Settings\roopak.gupta\Local Settings\Temporary
Internet
Files\Content.IE5\4PMNG163\launchAdmin[1].jnlp (The
system cannot find the file specified)
at java.io.FileInputStream.open(Native
.open(Native Method)
at java.io.FileInputStream.<init>(Unknown
nit>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown
nit>(Unknown Source)
I have seen this happen for two reasons.
One reason is that a vary header is sent by the Web server. This can happen for a number of reasons. Lets say you are dynimically generating your JNLP file with PHP, and you call session_start() in the jnlp this will send some headers which cause IE not to properly cache the JNLP file. You probably want to send a send a few other headers in the jsp which generates your jnlp.
However since this behavior is happening some times and some times not. My guess is that your IE cache is close to full or need so be increased in size.
See
http://forum.java.sun.com/thread.jspa?forumID=38&messageID=181208&threa dID=71283
and http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html#220
session tracking sends no cache directive to i.e. which hoses it
Let me know if this solved your problem,
R
S

Similar Messages

  • Unable to load the flat file  from client  work station

    Hi,
    I am trying load a flat file (.CSV file)from my desktop (Client work station) and getting the following error.
    An upload from the client workstation in the background is not possible
    Message no. RSM860
    Diagnosis
    You cannot load data from the client workstation in the background.
    Procedure
    Transfer your data to the application server and load it from there.
    I have recd a .XLS file and then I have converted to .CSV file , which I saved in my desktop and trying to load the same.
    Please help me how to go about this?...
    Thanks in advance.
    Christy.

    Hi All,
    Again, I have tried to load the flat file from clint work station with direct loading..I have got the following errors..
    Errors : 1
    Record                                                  990: Contents '50,000' from Field /BIC/ZPLQTY_B Not Convertible in Type QUAN -> Long Tex
    like this i recd so many errors.
    ERROR : 2
    Error in an arithmetic operation in record 259     
    Please help me how to load the flat file successfully.
    If I hv to save the flat file in Appl server..how to do that..Please provide step by step instruction..
    Thanks
    Christy

  • Cannot copy files from my work Mac to my PowerBook at home using ARD 3.1

    I'm having an issue copying files from my work Mac to my PowerBook at home using ARD 3.1. Both machines are running OS 10.4.10 and have all of the available updates have been applied. When I connect to the Mac at work using ARD, I can see everything without any problems. However, when I attempt to copy a file onto my PowerBook desktop, I lose my connection to it and ARD tries to re-establish a connection and just keep looping. I'm stumped as to why this keeps happening. When I try the above from work using my PowerBook, there are no problems. Could this problem be related to my DSL Carrier (Verizon). Anyone have any ideas? Any help or suggestions would be greatly appreciated.

    Hi Jeff thanks for that, the only problem is I cant update any of the system software at work
    And I cant just copy the folders over and use my iPod as a hard drive to take them home and put them on my iTunes as the file names on some tracks are to long

  • Launching an external file from jsfl script

    I've written a jsfl script which exports the frames of a
    Flash movie as pngs. I've also written a Photoshop .jsx script
    which takes the pngs and processes them. I was wondering if there
    was a command available in jsfl that could launch the .jsx file
    once the Flash process was finished?
    Cheers guys!

    mburgos,
    Take a look at this doc for starters:
    http://download-east.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/up_dn_files.htm
    Unless the end users have mapped drives to those documents, that's not going to work. Is this path just a pointer to the file on the server (if so, why not a BFILE)?
    chet

  • Trouble launching Illustrator CC files from Adobe Bridge

    Double clicking in Bridge does not work after a few sucessful "opens". Need to restart Ai CC to resolve. Works ok for a few opens then reverts back.
    Just started happening.
    Anyone else havingthis issue?

    Is this something that has changed from CS6 to CC?
    No, you either are trying to copy from a disk that does not allow you to copy or you don't have the correct admin permission for read write in Finder.
    Check the folder or disk with cmd + i (get info) and at the bottom check if you have the correct read and write permissions
    But the easiest way to copy to a folder on your system is opening the folder panel in Bridge with the wanted destination folder in view and drag and drop (with option pressed for copy if you are on the same disk) the file from the content panel to that folder.

  • Creating .jnlp files from .java files

    Last resort: Ask on the forums. I'm having a lot of trouble creating .jnlp files with only a .java file. For some reason if I do create project, the project does not run correctly, but when I make the file and run the file alone, it works perfectly fine. Most of the tutorials that I have read online ask me to do weird manifest .class stuff (in order to make JAR files, which i have failed to do even after attempting to make one after 3 hours). And still, when it comes to make the .jnlp file, I don't quite understand anything. When putting it on the web, I'm planning not to use php (html is in my mind right now), and I have aborted every single attempt at making the JAR files and whatnot.
    At this point, I'm not asking for anything other than a link to a tutorial that actually works, because all that I have tried (for the JAR files, especially) have been giving me errors. By the way, one really bothersome output that comes up is the "illegal option: j" when I use the Tool for the JAR file, and I have no idea what that means--I google it and find nothing. The .java itself extends JPanel, so it isn't really an applet.
    How to: Run an Applet
    Create an Applet Class by clicking File > New > File > File Type > Java Classes > Applet Class.
    Enter a name and path for the applet and click Finish.
    Build the file by pressing F7.
    Create an Applet HTML file by clicking File > New > File > File Type > Other > HTML Applet.
    Enter a name and path for the applet and click Finish.
    Open the HTML file in JCreator and modify the applet tag to match the name of the applet class.
    Open the Project Settings window and select the HTML file as the Run parameter.
    Click the Run Project button.It isn't really a code, but I tried doing this and the HTML Applet said code = ".class" Again, I don't have a class for the file. And when you do the "File > New > File > File Type > Java Classes > Applet Class," you get the .java file and a folder that says "components, with two classes in it. I was completely befuddled.

    http://forum.java.sun.com/thread.jspa?messageID=9783924

  • [Concurrency] SecurityError when attempting to access a file from a worker

    I was working on encrypting some files in a worker using AIR, when I ran into this strange error...
    SecurityError #0 - file
    at FileWorker/onChannelMessage()[/Users/axon/Projects/Flash/WorkerFile/src/FileWorker.as:32]
              at flash.system::MessageChannel/internalAddEventListener()
              at flash.system::MessageChannel/addEventListener()
    This error triggers when simply placing some code to create a File class instance from a path in my background worker.
    Here is an awesome example of my issue: WorkerFile.zip
    It's a Flash Builder 4.6 project
    What I would like to know, is how do i open a file from a background worker? I didn't spot it on the not allowed list with the release notes, so I am baffled at this point.
    Any and all help is appreciated!
    Update: Filed a bug with bugbase.adobe.com

    You want to pass in the optional parameter of "true" to "createWorker".  The parameter controls whether the worker should be given application sandbox privileges in AIR.
    worker = WorkerDomain.current.createWorker(e.target.data, true);
    giveAppPrivileges:Boolean - indicates whether the worker should be given application sandbox privileges in AIR. This parameter is ignored in Flash Player

  • Can't make drag and drop aiff file from finder work

    I've tried, many times, to drag and drop an aiff file from the finder into a GB 1.1 document without success: it does not appear in a track previously created in the document, nor will it create a new track for itself. Any suggesstions would be a great help.

    I've tried, many times, to drag and drop an aiff file from the finder into a GB 1.1 document without success: it does not appear in a track previously created in the document, nor will it create a new track for itself. Any suggesstions would be a great help.

  • Applications won't launch when a file from Finder or Dock is opened

    With Snow Leopard i'm experiencing the following problem:
    After a while of operating, if an application isn't launched and i open a file of that app from the Finder or the Dock, the app's blue indicator blinks for a very long time and when it's finally open the app freezes. only option is to force quit the app.
    But i can in fact open the file, if i open the app first and then select the file with the open dialog.
    This happenes with every application: +Archive Utility.app, TextEdit.app, Preview.app+ and non-Apple apps.
    When i reboot, the problem is gone for about an hour.
    Any solutions?

    Rebuilding the launch services database sounds like a good thing to try - except on Snow, the directory LaunchServices.framework doesn't exist in the place that that link points to.
    Its now in /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/Support/lsregister according to [Tuaw|http://www.tuaw.com/2009/06/11/terminal-tips-rebuild-your-launch-services -database-to-clean-up>
    I've just rebuilt - I'll post in a few hours if it worked.....
    Andy

  • Multiple instances of Word launching when opening files from Explorer window

    I am seeing an odd behavior with Word 2010 (32 bit) that I could not replicate in earlier versions of Word.
    Here are the steps:
    Note: When performing these steps, I am on a 32 bit Windows 7 machine. Word is not running yet, and the Task Manager dialog is open with the processes sorted in reverse alpha order so that WinWord.exe will appear at the top.
    1. Go to a folder containing a set of word documents or templates (all are in either .docx or .dotx format) in Windows Explorer.
    2. Select a group of files (I am selecting 4 .docx files in my tests).
    3. Right-click and select Open.
    4. Four instances of WINWORD.EXE appear in the Task Manager (one of them then goes away, leaving only three instances running, but I think that's beside the point).
    Could someone shed light on why this is happening with Word 2010 and if there's anything that can be done to make it "behave" and open only one instance? 
    PS - The templates contain no code, and no add-ins are loaded at the time that I perform these steps. Also, all Word and Office updates have been installed on the machine.
    Thanks
    Wordyone

    Koero, did you try the registry hack proposed in this forum?
    I started getting multiple instances of Word 2010 two days ago in Windows 7 on my company PC after a reboot following a Windows updates pushed out by the IT department.
    This also happened immediately after a Windows update on May
    27, 2014, but somehow I was able to stop that behavior then.  That fix happened after I restored a old copy of Normal.dotm but evidently that
    was not the solution because restoring that copy did not fix the problem today.
    The fix suggested by
    peebs7384 in this forum on April 19, 2012 of changing the "Lay
    out this document" setting did not work on my PC.
    One support person who has both the 2010 and 2013 versions indicated that he also gets multiple instances with 2010 but not with 2013.
    I plan to ask my IT department to attempt a fix tomorrow and will suggest that they try registry hack posted in this forum by
    kit_jj on Aug 16, 2012 (based on Pierre's posting) (thanks
    kit_jj and Pierre).
    By the way,
    kit_jj's posting has only 1 vote & I would had hoped to see more votes.  Now that I look more closely I see that this solution was "Proposed
    as answer by kit_jj" himself.  At least others have posted comments that indicate that fixes posted by
    kit_jj & Pierre have worked (at least partially).
    Any ideas as to why this started happening again?

  • .jnlp File doesn't launch?

    I am trying to launch a .jnlp file (If more Specific, GO Themes Factory for my Android, it should work) and it does not do anything! What can I do?
    Here is my lines from Console, maybe this will help?
    3/29/12 2:12:00 PM
    [0x0-0x69e69e].com.apple.JavaWebStart
    java.lang.NullPointerException
    3/29/12 2:12:00 PM
    [0x0-0x69e69e].com.apple.JavaWebStart
    at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:170)
    3/29/12 2:12:00 PM
    [0x0-0x69e69e].com.apple.JavaWebStart
    at com.sun.javaws.Launcher.launch(Launcher.java:124)
    3/29/12 2:12:00 PM
    [0x0-0x69e69e].com.apple.JavaWebStart
    at com.sun.javaws.Main.launchApp(Main.java:451)
    3/29/12 2:12:00 PM
    [0x0-0x69e69e].com.apple.JavaWebStart
    at com.sun.javaws.Main.continueInSecureThread(Main.java:283)
    3/29/12 2:12:00 PM
    [0x0-0x69e69e].com.apple.JavaWebStart
    at com.sun.javaws.Main$1.run(Main.java:116)
    3/29/12 2:12:00 PM
    [0x0-0x69e69e].com.apple.JavaWebStart
    at java.lang.Thread.run(Thread.java:680)

    Its from an Android device?  Maybe incompatible Java versions.  In Utilities launch the Java Preferences app and look at the enabled version information (General tab).  Perhaps click the Restore Defaults button.

  • Launch JNLP file which required full-qualified domain name

    Hi all,
    My suitation is like this:
    I need to launch an JNLP file which I need a domain name in order to access it: (using JDK 1.5.0_11)
    e.g. http://hostname.domain.domain/xxx/yyy/zzz.jnlp
    But when it try to access one of the jar file, it will refer to http://hostname/aaa.jar that lead to UnknownHostException.
    Note: (I already use the full domain name to launch the JNLP file..)
    Any one have idea on what to do? And I have no option to change the network setting to support solely "hostname" without domain.
    Here's the "little modified" Launch file in the error dialog (as some details can't be disclosed)
    [Launch path]:
    http://hostname.domain.com:12718/CMTE-3rdParty/tibco/7.5.2/tibco.jnlp
    [Error message]:
    Unable to load resource: http://hostname:12718/CMTE-3rdParty/tibco/7.1.2/tibco.jnlp
    [Launch File shown in error dialog]:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://hostname:12718/CMTE-3rdParty" href="tibco/7.1.2/tibco.jnlp">
    <information>
    <title>Tibco</title>
    <vendor>Multicast messaging library</vendor>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <jar href="tibco.jar" version="7.5.2"/>
    </resources>
    <resources os="Windows" arch="x86">
    <nativelib href="tibco-libs.jar" version="7.5.2"/>
    </resources>
    <component-desc/>
    </jnlp>
    Thank you very much.

    You should change the codebase (declared in the jnlp tag) to http://hostname.domain.com:12718/CMTE-3rdParty
    That's how jnlp works, URL are made up as codebase+href.
    You'd better use absolute URL for the jnlp href (not for resources).
    And, last but not least, as Andrew would say: use JaNeLa (look for a link almost anywhere in the forum).
    Bye.

  • Launch EXE file from IC WebClient

    Hi All,
    How can we call .exe file from IC WebClient.
    we want to launch the .exe file from the navigation into application work area.
    any suggestion would be great.
    Thanks,
    Raj.

    Hello Raj,
    The best way to do this would be with the Transaction Launcher. Depending on the version of CRM you are running, you might need to modify the handler class -- as some newer version of CRM seemed to append the http preface to the front of any non-URL file name. Of course, if your EXE program runs as a web application, you could just call the URL.
    Best regards,
    John

  • How to get around safari no longer launching jnlp files with 6.0.3?

    I'm both a user of Java Webstart applications and a publisher (at work and for private projects)
    Given the latest update to Safari that no longer launches a JNLP file I've had no choice but recommend that my clients switch to Firefox or Chrome in order to continue using the Java Webstart applications.
    The fact that clicking the button or link to launch the JNLP appears to do nothing, that sometimes the JNLP is downloaded and other times not, and it never launches webstart,  makes it impossible to support clients and makes the applications appear completely broken.
    Is there no workaround to this? Some way to get Safari to run the JNLP file?

    For security reasons, WebStart application files are now downloaded to a hidden folder and are not launched automatically. Although you may find instructions on the Internet for defeating this protection, I strongly advise against doing so.
    The right way to launch a WebStart application is to click the Downloads button at the right end of the Safari toolbar and  then double-click the icon of the JNLP file you just downloaded. If you want to save the file for later use, click the magnifying-glass icon to reveal it in the Finder, and then move it.

  • Launch Batch files from Windows.

    Hello,
    I'm currently trying to launch a batch file from a Java class.
    I succedeed to launch one .exe file but the same code does not work with my .bat files :
    Runtime r = Runtime.getRuntime();
    Process p = null;
    try
    p = r.exec("d:/EASTv2/bin/ihm_duw.bat");
    catch( java.io.IOException e )
    e.printStackTrace();
    I'm working under Windows 2000.
    Can anyone tell me how to launch batch files from a java class ?
    Thanks in advance,
    J�r�me.

    try this
    r.exec("cmd.exe /C d:/EASTv2/bin/ihm_duw.bat");

Maybe you are looking for

  • My iPod touch 4G doesn't receive photos through iMessage, only typed messages. Can anyone help me solve this problem?

    Lately my iPod touch 4G has not been receiving photos from my wife through IMessage, when the photo is received I can see it for less than half a second, then it disappears. If I restart my iPod sete it shows up as unknown and a question mark, instea

  • Select... for all entries in...

    Hi, Can anybody help me to sort out this issue. This select should work. I m filling an itab with distinct pernr. in temp it should give <b>all the records for which pernr should not be in itab.</b> report ZTEST4. data : begin of ITAB occurs 0,      

  • User Exit / BAdI to validate Overall Limit and Expected Value

    Hi SAP Gurus, I have a requirement that needs to check if Overall Limit exceeds the Expected Value (This is in tcode ME21N). Is there any user-exit or badi I can use? Thanks, Eo

  • Getting the best possible DVD encodes out of Compressor

    Is there a decent guide somewhere about how best to set Compressor DVD encode projects up? I take it using the standard two-pass encode settings probably isn't ideal and some tweaks would possible yield better results. I just read this on another sit

  • WLC 5508 incorrect image

    Team, We have a customer complaining about an incorrect IOS image in WLC 5508. Customer has got an LPE image even though the WLC is going to be used in US. What is the best way to resolve this as time is of essence in this project.  Please advise. Th