Web-Start Question

Hi all,
I am invoking my application by using Web start in JDK1.4, it throws the following exceptions and it is working fine with jdk1.3. Herewith I have included all trace outs which was thrown in logs.
General Tab:-
An error occurred while launching/running the application.
Category: Download Error
Unable to load resource:
http:/sachin:9090/../classes/NmsClientClasses.jar
Launch File Tab:-
<?xml version="1.0" encoding="ISO-8859-1"?>
<jnlp codebase="http://sachin:9090" href="conf/WebNMS.jnlp">
<information>
<title>WMS</title>
<vendor>Commuzzt Inc.</vendor>
<homepage href="help/index.html"/>
<description>WMS version1.3 - Web Start Client</description>
<icon href="images/icon.jpg"/>
<offline-allowed/>
</information>
<resources>
<j2se version="1.4+" initial-heap-size="100M" max-heap-size="200M"/>
<jar href="../classes/NmsClientClasses.jar"/>
</resources>
<application-desc
main-class="WMSClient">
<argument>localhost</argument>
<argument>9090</argument>
</application-desc>
</jnlp>
Exception Tab:-
JNLPException[category: Download Error : Exception: java.io.IOException:
Unable to create temp. file for:
http://sachin:9090/../classes/NmsClientClasses.jar : LaunchDesc: null ]
at
com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown
Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(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)
Wrapped Exception Tab:-
java.io.IOException: Unable to create temp. file for:
http://sachin:9090/../classes/NmsClientClasses.jar
at com.sun.javaws.cache.DiskCache.getTempCacheFile(Unknown Source)
at
com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown
Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(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(Thread.java:536)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
Kindly help me,
Thanks,
Best Regards,
NMS

java.io.IOException: Unable to create temp. file for:http://sachin:9090/../classes/NmsClientClasses.jar
This is the problem you have to work on. Sorry I don't know the solution, or even whether the problem exists on the server or the client, but that's the root cause of the exception.

Similar Messages

  • Newbie Web Start Question

    I have signed my jar file according to the developer document, however I continue to get this error:
    java.io.IOException: Server returned HTTP response code: 503 for URL: http://xxxxx/xxxxx/xxx.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    This is my jnlp file:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for xxxx -->
    <jnlp spec="1.0+" >
    <information>
    <title>xxxxxx</title>
    <vendor>xxxxxx</vendor>
    <homepage href="http://xxxxx/xxxxx/xxxxx/xxxxx.htm"/>
    <description>xxxxx Application</description>
    <description kind="short">xxxxx xxxxx Application</description>
    <icon href="http://xxxxx/xxxxx/xxxxx/xxxxx.jpg"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3+"/>
    <jar href="http://xxxxx/xxxxx/xxxxx/xxxxx.jar" main="true" download="eager"/>
    </resources>
    <application-desc main-class="xxxxx"/>
    </jnlp>
    If anyone can help me I would be most appreciative,
    blackknight42

    I don't know the full answer to your problem, but if you don't know what a 503 eror is.. it is a 'out of resources' error... perhaps that will help in diagnosing what's wrong?
    Cheers,
    Gavin

  • Question about using third party jar files in Java Web Start Environment

    Hi everybody, I got a very strange problem and still can't figer out how to solve it. Can anyone help to overcome this problem?? Thanks in advance.
    Question: I wrote a simple java swing application to connect to Oracle database. I packed whole my classes and a third party jar file(classes12.jar) to a new jar file named "IRMASSvrMgntGUI.jar" and then use command 'jarsigner' to signed IRMASSvrMgntGUI.jar. There is no problem when I execute 'java -jar IRMASSvrMgntGUI.jar' in the command line. But when I execute this application via Web Start Environment, an "java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
    " error occured with the following detail log shown in Jave Web Start Console:
    =============================================================
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
         at DBConnection.getNewConnection(DBConnection.java:25)
         at IRMASSvrMgntGUI.actionPerformed(IRMASSvrMgntGUI.java:524)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    ==========================================================================
    contents of the manifest file I used to create this jar file are as follows
    ===================================
    Manifest-Version: 1.0
    Main-Class: IRMASSvrMgntGUI
    Class-Path: classes12.jar
    Created-By: 0.9a (itoh)
    ===================================
    and file structures in "IRMASSvrMgntGUI.jar" is
    ====================================
    META-INF/
    classes12.jar
    DBAuthenticateDialog.class
    DBConnection.class
    IRMASSvrMgntGUI.class
    ====================================

    If you directly include classes12.jar in IRMASSvrMgntGUI.jar, the classloader won't be able to find the classes inside classes12.jar. You should sign classes12.jar separately and include that in jnlp along with your application specific jar. When you're launching your app using "java -jar somefile.jar" then the classpath settings in manifest file are used, but that's not the case when you start using JWS since in this case the classpath is based only on the " <jar href=..." entries in jnlp.

  • A few questions about signing JARs for Web start

    I'm still a bit new to all this, so just want to clear a few things up.
    I'm currently trying to publish an application using Web start, so i know I have to sign all the JARs, as it needs to do some writing to the hard drive.
    1. I have my main JAR file, and then two "third party" JAR files in the /lib subfolder, I take it I need to sign those two as well, does it matter that I don't have the .class file for those two, as I didn't write them?
    2. I'm running the JARSIGNER program with exactly the same command line apart from the filename of the .jar file, is that correct? or do I need a different certificate for each .jar file?
    Just can't seem to get all three signed, Web start says one different one isn't signed each time I try it out.
    3. When signing, does it add something to the end of the JAR file itself? as I can't see any extra files created.

    Signing adds entries in the mainifest, not in the main file list in the jar file.
    You can sign third party jar files, but it is not advisable. An alternative is to put third party jars in a seperate extension jnlp file, if they need all-permissions, you can get the third party jars already signed by whoever supplied them. If not, you do not need to request all-permissions in the extension jnlp file, and that part of the code will be run in the secure sandbox.
    /Andy

  • Web Start beginner - Web Start front end to existing web app?

    Hi all,
    I'm new to Web Start, though have been hearing about it for some time. Even after reading the documentation, I have some basic questions about it.
    Specifically, is it possible to invoke business methods via something like a Struts ActionServlet through a Web Start gui? That is, say my Web Start app and my existing web-based Struts app were on the same server, could I easily invoke the ActionServlet by passing in a URL with parameters? Thus giving me the ability to completely reuse my 'MC' of my Model-View-Controller app, and just replacing/adding another view ('V')?
    Has anyone ever done this? If so, are there good examples?
    Thanks in advance,
    Mike

    WebStart is a deployment mechanism for otherwise perfectly normal Java applications. WebStarted applications run on the client, not the server. WebStarted apps run in a protected environment (the Java sandbox), meaning they can't do potentially harmful things on the client machine such as reading and writing files or creating network connections to any server other than the one they were loaded from, unless you obtain special permissions from the user (the application needs to be signed for this to happen).
    So there is nothing that specifically prevents you from using a WebStarted application as a front-end for a Struts webapp. If it makes sense to use a client-side application for that purpose is a question only you can answer.

  • Launching Web Start Program from an Applet?

    Hi,
    I need to launch web start program from an applet.
    How can I do that?
    I have tried opening a new web page pointing to the jnlp file from an applet. But, that does not seem to start the web start.
    Thanks in advance
    rg

    I am new to this so may be my questions will appear stupid to a pro, but this is an erro I am getting at compile:
    Can't make static reference to method java.lang.Process exec(java.lang.String) in class java.lang.Runtime.
         Runtime.exec("test.exe");
    What could be the problem?
         ^

  • How can I open help file (HTML or .chm) from Java Web Start (new to JAVA)

    Hi All,
    Im trying to open the help file of my application.
    When trying to access the help file from the GUI (pressing F1 for launching the help file), I'm geting the an error, something like:
    "Can't show help URL: jar:file:C:\Documents and Settings\%USER%\Application Data\Sun\Java\Deployment\javaws\cache\http\Dlocalhost\P7001\DMwebstart\RMjar-name!/com/resources/helpFiles/MyHelpFile.html"
    It seems that the file which is packed in a jar, was downloaded to the Java Web Start cache directory:
    C:\Documents and Settings\%USER%\Application Data\Sun\Java\Deployment\javaws\cache\http\Dlocalhost\P7001\DMwebstart
    The code which is activated when launching the help file is:
    try
                ResourceBundle resourceBundle = DoubleResourceBundle.getBundle("Resource", "ResourceImpl");
                RuntimeUtil.launchFile(new File(resourceBundle.getString("help.file")));
            } catch (IOException e)
                // TODO Auto-generated catch block
                e.printStackTrace();
            }where the property "help.file" is in some property file in the resource bundle named "Resource", and looks like this :
    help.file="com/trax/docs/help/global/MyHelpFile.html"
    The function "RuntimeUtil.launchFile" knows how to launch any file in its default application, and indeed it does launches the html, when giving it an absolute path to the file on my PC, as "C:\Helpfiles\MyHelpFile.html" as such:
    RuntimeUtil.launchFile("C:\Helpfiles\MyHelpFile.html");My question is :
    The application is going to be deployed on a Customer PC. How can I access the html file from the code, with a relative path and not its absolute path on the customer pc, which I can't know?
    I found these restrictions regarding web start:
    (copied from "http://rachel.sourceforge.net/"):
    *Rule 1: Java Archives only. No loose files.* All your resources have to be packaged in Java Archives (jar) if you want to have
    them delivered to the user's machine and kept up-to-date automatically by Java Web Start.
    *Rule 2: No file paths.* You can't use absolute or relative file paths to locate your
    jars holding your resources (e.g. <code>jar:file:///c:/java/jws/.cache/resources.jar</code>).
    Absolute file paths won't work because you never know where Java Web Start
    will put your jar on the user's machine. Relative file paths won't work because Java Web Start
    mangles the names of your jars (e.g. <code>venus.jar</code> becomes <code>RMvenus.jar</code>)
    and every JNLP client implementation has the right to mangle your names
    in a different way and you, therefore, can't predict the name with
    which your jar will be rechristend and end up on the user's machine in
    the application cache.Seems complex or impossible, to perform a simple task like opening a file.
    Please advise (I'm new to Java and Web Start).
    BTW, I'm working with IntelliJ IDEA 5.0.
    Thanks,
    Zedik.
    {font:Tahoma}{size:26pt}
    {size}{font}

    the follwing method i have used to open html file ...
    so to access html file i am shipping resources folder with jar file ..
    private void openHtmlPages(String pageName) {
         String cmd[] = new String[2];
         String browser = null;
         File file = null;
         if(System.getProperty("os.name").indexOf("Linux")>-1) {
              file = new File("/usr/bin/mozilla");
              if(!file.exists() ) {
              }else     {
                   browser = "mozilla";
         }else {
              browser = "<path of iexplore>";
         cmd[0] = browser;
         File files = new File("");
         String metaData = "/resources/Help/Files/"+pageName+".html"; // folder inside jar file
         java.net.URL url = this.getClass().getResource(metaData);
         String fileName = url.getFile();
         fileName = fileName.replaceAll("file:/","");
         fileName = fileName.replaceAll("%2520"," ");
         fileName = fileName.replaceAll("%20"," ");
         fileName = fileName.replaceAll("jarfilename.jar!"," ").trim();
         cmd[1] = fileName;     
         try{
              Process p = Runtime.getRuntime().exec(cmd);
         }catch(java.io.IOException io){
                   //Ignore
    can anyone give me the solution..???
    Regards
    Ganesan S

  • Can a Web Start application run on client without write permission?

    Hello,
    we have a customer who operates a large number of Windows clients with an installed Java applications on it. The installation can only be done by an administrator, because the users have only write permission on temp directories and are not allowed to install something on their own. This of course leads to long rollout phases of new software releases.
    That's why we thought about deploying the application via Web Start, but we don't have experience in that field yet. But we assume that this would be the best way to go, since porting it to a browser-based web application is not easy due to the rich client gui.
    So my question is - can Web Start operate in such a scenario, where there is only write permission on temp directories for the user?
    By operating I mean the deployment and starting of the application - the application itself does not have to write anything on disk.
    Thanks for any help,
    regards, Geziefer

    ..the users have only write permission on temp directories ..Can the location of the Java cache be set to those temp directories by the administrator?

  • Applet or web-start? How can I package a memory intensive app?

    Dear All,
    I'm new here - I'm learning about Java with a particular project in mind, and looking for advice from people with more experience before I start coding! Your opinions would be very useful.
    I would like to write a small scientific application, to be distributed by the web, easy to run as a normal user (without administrator rights), with a good GUI. So Java sounds very good for this. However, the application will be very memory intensive (and quite CPU intensive) with several large arrays. It may require ~1 to 2 Gb of memory at times. I have three simple questions:
    1) If I write it as an applet, will my users hit memory 'heap size' limits when they try and run it if it tries to use ~1 Gb memory? Can I control this?
    2) If I write it using JNLP (e.g. Sun's Java Web-Start), will my users get memory limit errors if my application tries to use ~1 Gb memory? Can I control this?
    3) If more and more people start using the Java browser plugin, will they get Web-Start installed at the same time? Or will Web-start become less common?
    Any other advice about this choice, problems with web-start or resource hungry applets would also be gratefully received.
    With thanks and best regards,
    andy_g
    (PS: I'm not worried about the performance of Java compared to other languages - I'm worried about hitting memory limits imposed by the JVM settings or Java language!)

    Hi ChuckBing,
    Thanks for your reply - it's given me some valuable information. In light of your post I think I'm going to try a very simple test code which does some simple operations with representative big arrays and see if I can get that working well on a range of machines before I spend time writing the real thing. I hadn't appreciated the need for contiguous memory in the Java heap.
    As for comparing JNLP and applet memory control, after another intensive bout of google searching, I found more information about controlling heap size for applets at:
    https://jdk6.dev.java.net/plugin2/jnlp/
    From my (novice) reading of this page, it seems that from 1.6 you can now control the heap available to an applet in a similar manner to JNLP. I've added this link in case other people stumble across this post with a similar questions about applet memory limits.
    Thanks again,
    andy_g

  • Web Start & Enterprise Web Start Server

    Hi all
    I looked around Solaris Web Start thing and it looks great to me. But there are still too many things I don't understand. I already browsed Sun sites but did not succeed to get clear status of the whole situation.
    First, let me explain what I would like to do. I want to remotely install several Sun machines (with both Solaris and my own applications) from a unique graphical interface. For example, I sit in front of any PC with a browser and just go to the installation URL. That's it.
    At first sight, I thought Sun Enterprise Web Start Server would be the solution. But, I've only found that page: http://www.sun.com/servers/sw/webstart/ and the download link is broken. Anyone knows where it has gone? And does it answer to my needs?
    I see this other possibility: to use Web Start Wizards. It is Java software and it is said that it can be used to install software remotely. My question is: does it rely on Java Web Start? If not, how does it work?

    Hi Sebgrel,
    I've the some problem. I'm looking for a GUI for customized jumpstart installations but the only link that I've found is the same link you have. When in the page http://www.sun.com/servers/sw/webstart I click on "Download Sun Enterprise Web Start Server Now!" the corrispondent page "http://sunsolve2.sun.com/fcs/WSS/index.html" not exists. I sent an email to SunSolve Support Team web master ([email protected]).
    Following you can see the complete email history (starting from the bottom):
    =======================================
    -----Original Message-----
    From: <myuser>
    Sent: gioved� 30 dicembre 2004 9.50
    To: 'SunSolve Support Team'
    Subject: RE: Sun.com Email - Broken Link Report: Broken link (PR#1382) (SSO#18339)
    Hi SunSolve Support Team,
    as you can read following, you have been addressed to the resepective team the analysis of the link broken at 3 of dicember. But at this time the error is still present. Can you speed up the fixing of the error or give me another way to download ?
    Many thanks,
    Regards
    EV
    <mailto: myuser>
    -----Original Message-----
    From: SunSolve Support Team [mailto:[email protected]]
    Sent: venerd� 3 dicembre 2004 20.34
    To: <myuser>
    Cc: [email protected]; [email protected]
    Subject: Re: Sun.com Email - Broken Link Report: Broken link (PR#1382) (SSO#18339)
    Hi Enrico,
    sunsolve2 is a un-supported server, surely there is a mistake in the document
    and it has been addressed to the resepective team.
    Regards,
    SunSolve Support
    >>
    User : myuser (No Phone #)
    URL : http://www.sun.com/servers/sw/webstart/
    Server : www.sun.com
    Type : Broken Link Report
    I wish to notify that at the text "Download Sun Enterprise Web Start Server
    Now!" in the URL above, the corresponding link
    (http://sunsolve2.sun.com/fcs/WSS/index.html) is broken.
    Do you have another link?
    Thanks,
    Regards.
    EV
    ========================================
    Now I'm still wait for an answer since 30 of Dec 2004.
    If they will answer me, I will notify you
    Regards,
    Enrico

  • How to run 64-bit native code with Java Web Start

    This question has probably been asked many times, but I couldn't find anything in my searches.
    How can I get Java Web Start on a Solaris client (Solaris 10 in this case, with JRE 1.5) to run a java application that includes a 64-bit native code library? The application downloads fine, including the jar file that has the native shared object, but when the native library is loaded by the java application, I get a "wrong ELF class: ELFCLASS64" error.
    I assume that is because Web Start is invoking the 32-bit java VM, which can't load a 64-bit library. I tried configuring Java Web Start to use the 64-bit VM (by setting the path to java to ".../jre/bin/sparcv9/java" in the javaws console) but then I get an error that says "Can't load library: .../jre/lib/sparcv9/libdeploy.so".
    Does Java Web Start support 64-bit native code, and if so, what do I need to do differently?
    Thanks.

    No it can't. On the Sun download page of the JRE it says that 64 Bit systems need to use the 32 Bit JRE to execute Plugins - this might be the same for Web Start apps.

  • Java Web Start and DeployDirector: What's the difference?

    I am the product manager for DeployDirector at Sitraka (now part of Quest Software). I'm NOT in sales; I'd simply like to provide you with some information.
    From talking with DeployDirector users and evaluators, and from my own discussions with the folks at Sun, I have discovered that there is great deal of confusion about the difference between Java Web Start and DeployDirector. I'd like to clarify this by periodically posting some information about the two.
    Though the products seem similar in concept, they are designed for different purposes. They both deploy, auto-update and manage the JRE for client-side Java applications, but beyond that, they are quite different.
    Java Web Start is ideally designed for applications deployed over the Internet, where application-provider trust is an issue. Why? The security sandbox guarantees that application can do no harm. (There's some good information about Java Web Start and sandbox apps on ScheduleWorld at http://www.scheduleworld.com/itsYourLife.html) Web Start's architecture simply consists of a client piece that interprets a JNLP file. Because of the sandbox and its simplicity, I believe JWS is best used for independent software vendors, independent developers, etc.
    Because DeployDirector is ideally designed for internal enterprise applications, it does not enforce the security sandbox. Trust is not an issue here, because internal users typically trust their internal IT group. DeployDirector's architecture consists of both a client and a server piece, which allows us to support more complex deployment and update scenarios (e.g., scheduled and optional updates) and applications management capabilities like rollback, reporting, exception monitoring, authentication/authorization out of the box. All of this is configured through the DeployDirector administration console.
    In some situations, DeployDirector may be unnecessary overhead. In other situations, Java Web Start simply does not provide enough capability and building in this into Web Start can be difficult.
    If you'd like more information, we have whitepapers and case studies (including one specifically about DeployDirector and JWS) available on our website at http://www.sitraka.com/software/deploydirector/
    If you'd like to discuss some of these differences, or if you have questions about DeployDirector, feel free to email me directly. (Or post here, of course.)
    Thanks,
    Sonal Champsee
    [email protected]

    Hi Gerald,
    Given what I know about your emnity towards DeployDirector (which is clearly illustrated in this thread: http://forum.java.sun.com/thread.jsp?thread=348061&forum=38&message=1446155 that was evidently a response to this article: http://www.javaworld.com/javaworld/jw-11-2002/jw-1122-autoupdate.html) I'm going to take a (pardon the expression) "don't feed the trolls" approach here.
    I'm simply re-iterate that JNLP, and its implementations such as Web Start and OpenJNLP, are designed for a very different set of users that DeployDirector. The differences in functionality between the two products reflect that.
    The enterprise has different requirements in a deployment mechanism for its internal, critical applications than software vendors and independant developers. DeployDirector addresses the requirements of the enterprise. Frankly, most of our recent customers only chose to buy the product after initially rejecting it and (unsucessfully) attempting to use JNLP and Web Start. Sometimes people only learn the hard way: different users have different requirements which are suited to different tools or technologies.
    Sonal

  • Web Start Security and the Cache

    Hi,
    If the jars are signed and download occurs then webstart will verify the signature and tell the user that jars signed by user xxxxx are about to be run. Then the jars are cached by web start. My question is, what is to stop an attacker from replacing the jars in the cache with malicious ones? Does web start verify the signature on the jars when they are loaded from the cache aswell, thus preventing the jars from being changed? Or does the versioning system web start uses somehow prevent replacing the jars.
    Thanks for any help,
    Dave.

    How would an attacker replace the jars with malicious ones? Through the initial signed jars? That means the initial ones are already malicious anyway, so why bother? After all, the user has already given those signed jars all-permissions anyway...
    I'm sure you could devise some other means to do it using virus-like software, but all this would give you far greater control over the users machine than anything those cached jars could ever give you, even if the JNLP client did no checking on its cache whatsoever.

  • Java Web Start(the program itself) doesn't start in offline mode

    Hi,
    My Java Web Start doesn't start when my internet connection is not on??? I have a program that needs also offline access so it's crucial to get JWS work without internet connection as well.
    The problem might be in those sun's example programs you can't remove? Maybe the program crashes when trying to get some information for those programs?
    (please read the question well. My problem IS NOT in the .jnlp-files <offline-allowed/>)
    And by the way those sun's demo programs that are supposed to start in offline mode(Internet connection not required) don't start even if you have started them once with the connection on.....
    -orainio

    I have the SAME problem -
    BUT....
    it NEVER works for me (online & offline)
    this stupid logon pops up and after a while disappears and nothing happens!
    got no fire wall, proxy etc...
    (win XP)
    plz helppppppppp

  • JVM - Microsoft JScript.dll Memory Leak when using Java Web Start

    I have posted before a topic related to this matter, although now I have a lot more information about what is going on (although still no fix for it). This is the link to the earlier post, containing JVM HOTSPOT EXCEPTION_ACCESS_VIOLATION
    http://forum.java.sun.com/thread.jspa?threadID=5116970&messageID=9402346#9402346
    The issue is that after deploying on Windows XP a multi threaded, memory consuming (40 Mb) Java Swing application using Java Web Start, and the standard web page (IE6) reference to the jnlp file to launch the installation from Tomcat, each time this application gets executed by double clicking on the desktop icon (with no IE6 interaction at all), calls start being made between jvm.dll (sun) and jscript.dll (Microsoft IE), these interactions never release the memory they consume, so after a period of using the application it crashes unavoidably. If I execute exactly the same application launching it from command line (no Web Start nor IE6 browser involved), the application works nicely all the time, no problem at all.
    My question is: does anyone know why these calls to jscript.dll are even being made during web start application execution? As said, it's a desktop Swing app, it does not need the browser at all, and jscript.dll is a IE dll. Anyone can advice on how these interactions can be eliminated?
    I've worked with Microsoft support for two weeks on this issue and all they have said is that it is a Sun problem and they can not help further.
    Thanks
    Jes�s

    Microsoft suggested (among others) two test.
    1- Install IE7 and run the application
    2-Install Firefox and run the application
    Results were:
    For 1: The application does not crash, apparently IE7 has a newer version of Jscript.dll that, in Microsoft words, handles better 'bad software', refering to 'bad software' to the java virtual machine I guess. Looking at the performance manager you can see memory goes down as with IE6, but at some point memory is released and the app. does not crash. Anyway is still is uncertain to me why Jscript.dll is getting involved at all. Although this solves the problem is not a viable solution for us, because I work in a corporation where changes such as upgrading the IE version on a large number of desktop can not be justified just because one app. is crashing, and it would take a long validation time anyway before the upgrade can proceed.
    For 2: I did install Firefox in a machine and the application still crashed, but it is true I did not uninstall IE6, so the conflictive Jscript.dll was still sitting at system32. Quite possibly the crash would not happen if that dll wasn't there at all.
    Thanks
    Jes�s

Maybe you are looking for

  • REUSE_ALV_GRID_DISPLAY - Save as Excel - Default Extension Issue

    Hi Team, Greetings for the Day !! I have an issue with saving ALV Grid Output file as XLS. As I click the "Save Local File" Icon and select the Radio button for "Spreadsheet", in the next pop up for file path and file name, the extension ".txt" comes

  • Apple id password not accepted after ipad update to ios5

    So I've just upgraded my iPad 2 with ios 5 and the apple id password doesn't work.  I've reset the password 4 times now and still it's not accepting it.  I've turned off the iPad and tried again and still no joy.  Any ideas?

  • Photoshop CS5 Mac Printer dialog

    I cannot get a printer dialog window for any printer that I have tried ( Epson or HP). When I choose "Print" or type Command P the Photoshoop printing dialog comes up (choice of  printer, page setup, Color Management etc), but on clicking Print not p

  • Volume problem after installing Remote app

    After I installed the Remote app to my touch I used it for a little while and then turned it off. I went to use it again but when I was listening to music regularly I noticed that the volume was as high as possible even though I had it barely on. Doe

  • Why can I only see the iTunes Task Bar on my Mac?

    I am a new Mac user. I tried to sync the music on my iTunes on my iPhone 4 with my Apple Macbook Pro last night and got some error messages. Today when I click on the iTunes icon on the Mac I can only see the iTunes task bar accross the top of the sc