First Java Web Start download doesn't update, second time does

I'm using Java Web Start with our application. This release we upgraded to java 1.5 from 1.4. Now I have a few PCs, not all, that do not get updates the first time they launch the application. But when the launch it the second time they get the download. The jnlp didn't change between releases? Any suggestions? I'm not using lazy loads, in fact I'm using the default which should be eager.
Thanks.

Hi,
I have similar situation. At the machine is installed Java 1.6 u1. Setup first version of application. After deploy second version of application and run application start update, but console show that application use old packages. At the same time main package is uploaded? I'd try to use <update check="always"?> but there are no positive result.
At the same time then installed Java 1.6 u2, all works fine.
Any suggestion, how it could be resolved, without Java 1.6 u2 installation?
Thans, Kirll.

Similar Messages

  • Java Web Start 6 doesn't work since today

    Since today we can't use Java webstart 6
    when we want to start our company program it cames following error
    n-az10095:Commands vef$ javaws
    Java Web Start splash screen process exiting ...
    Can not find message file: No such file or directory
    I have reinstalled java6 several times and often reboot between the steps
    it didn't fixed the problem.
    we can't update to java web start 7 because our company programm doesn't support it.
    So a lot of people can't work at the moment.
    We have the same problem on macs running osx 10.7.5 and osx 10.8.2
    Please help!

    yabbanoname wrote:
    See also https://discussions.apple.com/thread/4760961
    Your answer isn't correct.
    The problem is the locale setting.
    Try
      LANG=C javaws

  • Java Web Start application doesn't run in Tomcat

    I successfully did a Java Web Start example for me to learn then I tried another one where I encountered an error:
    This is what Tomcat 6.0.18 says. The deploy is successful but when I try to run the web start application
    with this htmlcode
    <A href="http://localhost:8080/ConvertorValutar/app/launch.jnlp">I get this error witch leads me to think that it can't find the jar correct ?
    type Status report
    message /convertorvalutar/
    description The requested resource (/convertorvalutar/) is not available.Appendix:
    This is how I am doing the JAR
    jar cfvm convertorvalutar.jar myManifest2.mf Java*.class IRata*.class The myManifest2.mf is
    Main-class: JavaWebStart_Convertor witch is the main class
    This way I am doing the WAR:
    del *.war /F /Q
    jar cfv convertorvalutar.war app/* WEb-INF/*This is the correct directory structure
    &#9474;   faWar.bat
    &#9474;   convertorvalutar.war
    &#9474;
    &#9500;&#9472;&#9472;&#9472;app
    &#9474;       ConvertorValutar.jar
    &#9474;       launch.jnlp
    &#9474;
    &#9492;&#9472;&#9472;&#9472;WEB-INF
        &#9474;   web.xml
        &#9474;
        &#9492;&#9472;&#9472;&#9472;lib
                jnlp-servlet.jarThis is the web.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <!-- Standard Action Servlet Configuration (with debugging) -->
    <web-app>
         <servlet>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <url-pattern>*.jnlp</url-pattern>
         </servlet-mapping>
    </web-app>
    </web-app>This is the jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://localhost:8080/convertorvalutar/app">
    <information>
         <title>Convertor Valutar</title>
         <vendor>remus.dragos</vendor>
         <description>Simple Java Web Start Example</description>
    </information>
    <resources>
         <j2se version="1.5+"/>
         <jar href="ConvertorValutar.jar"/>
    </resources>
    <application-desc main-class="JavaWebStart_Convertor"/>
    </jnlp>Where is the problem?
    Edited by: remus.dragos on Dec 9, 2008 7:14 PM

    I did checked the names again and I found that the makeJar.bat had an "issue".
    It missed the del *.jar and I had 2 uppercase letters like ConvertorValutar, instead of convertorvalutar.jar.
    After that I rebuild the war and deployed and it works :)
    Thanks.

  • Application started using Java Web Start doesn't launch the first time

    I have a Facebook photo uploader application that I plan to distribute using Java Web Start. I'm using Java 6u4 on Windows XP SP2 with 2GB of RAM. I have Java 6u3, Java 6u4 and Java 5 u14 installed and I'm sure the one used is Java 6u4.
    I signed my application and make use of all security settings.
    Here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
         codebase="http://www.antaki.ca/bloom/jars"
         href="http://www.antaki.ca/bloom/Bloom.jnlp">
    <information>
        <title>Bloom</title>
        <vendor>Carl Antaki</vendor>
        <icon kind="splash" href="http://www.antaki.ca/bloom/Bloom.jpg"/>
        <icon href="http://www.antaki.ca/bloom/bloom32.jpg"/>
      <shortcut online="false">
      <desktop/>
      <menu submenu="Bloom"/>
      </shortcut>
    </information>
        <resources>
            <j2se version="1.5+" initial-heap-size="32m" max-heap-size="128m" href="http://java.sun.com/products/autodl/j2se" />
            <property name="sun.java2d.d3d" value="false"/>
            <jar href="http://www.antaki.ca/bloom/jars/Bloom.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/BrowserLauncher2-1_3.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/SmartProgressMonitor.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/facebook.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/forms-1.1.0.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/json_simple.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swing-worker-1.1.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/glazedlists_java15.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swingx-0.9.1.jar"/>   
            <jar href="http://www.antaki.ca/bloom/jars/jhbasic.jar"/>
       </resources>
    <security>
         <all-permissions/>
      </security>
    <application-desc main-class="ca.antaki.www.bloom.gui.Bloom" />
    </jnlp>Here is the link for my application http://antaki.ca/bloom/Bloom.jnlp
    The first time the application is installed using a link on the browser it's downloaded then the certificate dialog is shown, after that I check the checkbox to accept the certificate permanently. The application doesn't load, it only loads the second time although I see it in the task manager. If I don't accept the certificate permanently it does load. This happens on both Firefox 2 and IE 7. I enabled the console and logging but nothing shows up there.That's really a weird problem, I wonder if Java Web Start is a viable deployment option, it does have great capabilities such as autoupdate but still seems to have important bugs.
    Does anyone have any clue about what is going on.
    The problem doesn't occur on Ubuntu 7.10.
    Thanks,
    Carl Antaki

    >
    You were right my XML file was not correct. I still couldn't find a valid JNLP validator. Sun has to provide that.>No they don't (have to supply a validator for their own document type, though it makes sense to do so), but yes they do (provide a tool that validates XML against schemas). Java can validate XML against a DTD or XSD.
    Check these two threads (and chase the links) for more details.
    JNLP xsd schema
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/c6f65bf1df5f105d/30c6b7e2dc342dc4>
    Validate XML against DTD? XSD OK. SSCCE.
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/5b997a1edb765b11/e831f3066eb4aa38>
    Look especially for the posts by Piotr Kobzda.
    I had a tool on my site based largely on Piotr's codes, that linked to a valid JNLP DTD and XSD, but unfortunately my site is offline at the moment. Andy assures me that the JNLP 6.0 DTD has been corrected for the developer ..download tutorials of web start, though the online (web site) version may still be invalid.

  • Issue Downloading Resources with Java Web Start

    I'm having an issue with Java Web Start downloading resources. After executing the JNLP file, the download will start and the main Jar will download, then the download will just stop. The downloader is still running, but the progress bar just sits and nothing happens. This only will happen on some machines, even ones on the same network. Others download fine, and the application starts correctly. I thought maybe a setting with java web start needed to be changed, but the proxy settings are set to the browser, which are the same for all machines. The JNLP file is below (however, for security reasons the codebase/homepage are left out, but they are correct in the actual file). Does anyone have any idea of what the problem might be?
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
         <jnlp codebase="..." spec="1.0+">
         <information>
         <title>Java3D Test</title>
              <vendor>None</vendor>
              <homepage href="..." />
              <description>Test application for Java3D</description>
         </information>
         <update check="always" />
    <security>
         <all-permissions/>
    </security>
    <resources>
              <j2se version="1.5+"/>
         <jar eager="true" href="TestJava3D.jar" main="true" />
              <jar href="lib/Library.jar" />
              <jar href="lib/Java3D.jar" />
              <jar href="lib/j3dnative.jar" />
         </resources>
    <application-desc main-class="testjava3d.TestJava3DMain">
    </application-desc>
    </jnlp>

    You could enable JavaConsole and turn on tracing to get more debugging info. See: http://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-Desktop/html/plugin.html#gcexdf

  • Unable to launch java web start

    We have already devloped an application based on java web start. Most of the client machines, we try to install java web start and run the developed app, it works fine. For one of the clients machine, we have an issue with java web start itself, it does not startup and bring up the application manager. When you start java web start, it shows up the splash screen 'java web start 1.0.1' after some time, it vanishes and does not bring up the application manager. I have installed java web start 1.0.1_01 (build 04) installed on Windows 2000 Professional, by default that has installed JRE 1.3.1_04 also.
    We verified the system, all the files being existing under c:\program files\java web start dir. And the JRE is also installed fine.
    Couple of times we uninstalled, rebooted and installed.
    Infact, we have even verified the file types for html, htm, which was set to msoffice, and we have changed to internet explorer. For jnlp file type it was already set to javaws.exe.
    Can you please let me know what could be the problem.
    Regards,
    Nagarjuna Rao Chakka

    There's nothing to stop you installing 1.4 or even 1.4.2, it's the jnlp file that specifies which runtime version gets used to run your application - web start can be used to happily switch runtimes like this. You'll just need to have 1.4 and 1.3 installed on each machine. It's a good idea to upgrade the web start client as the old 1.0 version doesn't work at all well with Windows XP, it's structure of storing all the files in c:\program files works against the security restrictions built into XP.
    Incidentally the config file you were looking for in under c:\program files\javaws\javaws.cfg, but this is different in later versions.
    Your problem is most likely being caused by web start not being able to find the Java runtime version it was installed with, the client may well have installed a newer (or older) version of 1.3 which has broken the configuration.. another reason to upgrade is the old versions are very fragile in this respect; 1.4.2 can find installed runtimes far more dynamically. Fixing the config file above should get things working again, otherwise delete the .javaws directory in the user profile and re-start web start.
    1.4.2 is the best at finding runtimes, but is marred by problems with the integration dialogs, locale always reported as en_US and some strange new behaviour with classloaders and malfunctioning auto installers.. jws 1.2 that comes with jre 1.4.1_x is far more reliable.
    - Richard

  • Java Web Start is taking too long time to fill the bar

    Hi All,
    I am using Eclipse and using JBOSS from Remote and when I am deploying an applent with Java Web Start, it is taking a very long time for filling the bar(taking more time for verifying and downloading Application).
    Can anyone help me for fixing it.
    Thanks in Advance.

    795697 wrote:
    Hi,
    when I am deploying an Applet with the help of Java Web Start It is taking too much time for verifying and downloading the application.
    I am using Eclipse and JBOSS.
    This is the problem.
    I think you can understand it.I can't. I don't understand what Eclipse and JBoss have to do with webstart and I can't understand what webstart has to do with deploying an applet.
    Its all just completely unrelated! I'm just going to make a dumb assumption and say that it is your computer.

  • Problems to download with java web start

    Hola to all.
    I have the following problem. My application not discharge of the server when you exist a new version. The application runs off line but when exist a new version must download the last version, is the idea.
    If I execute for first time the "launch.jnlp" file ( that is to say in the client equipment never execute the application ) java web start connects and download correctly the application and starts application, and creates the icon on the screen. But if the application already existed java web start executes the application that there is in the client and not download the new version of the server. I think, that problem its happen because the time waiting the response of the server is too long, and executes the local application. To resolve this, i execute the application on java control panel in online mode, and this work ok, because find a new version.
    I leave you the launch.jnlp file.
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://XXX/sis/elpaso/" href="launch.jnlp">
        <information>
            <title>El Paso</title>
            <vendor>XXX</vendor>
            <homepage href="http://XXX/"/>
            <description>Sistema comercial de la empresa "El Paso".</description>
            <description kind="short">El Paso</description>
            <icon href="elpaso32.png" kind="default"/>
            <offline-allowed/>
            <shortcut online="false">
                             <desktop/>
                             <menu submenu="Sistemas XXX\El Paso"/>
                        </shortcut>
                        <related-content href="setup.jnlp">
                             <title>Configurar El Paso</title>
                             <description>Configuracion del sistema comercial de la empresa "El Paso"</description>
                             <icon href="elpasoSetup32.png" kind="default"/>
                             <offline-allowed/>
                             <shortcut online="false">
                                  <desktop/>
                                  <menu submenu="Sistemas XXX\El Paso"/>
                             </shortcut>
                        </related-content>
        </information>
        <security>
            <all-permissions/>
        </security>
        <update check="timeout" policy="always"/>
        <resources>
            <j2se version="1.6+"/>
            <extension name="jnlpcomponent1" href="jnlpcomponent1.jnlp"/>
        </resources>
        <application-desc main-class="elPaso.Main">
        </application-desc>
    </jnlp>

    The launch file seems invalid. Try checking it, and the entire launch, using JaNeLA.

  • Why Java Web Start doesn't support Pack200 out-of-the-box?

    Hello All,
    Why Java Web Start doesn't support Pack200 out-of-the-box? I was hoping that Java 6 would make things easier by adding direct support for Pack200 in Java Web Start and JNLP without needing to use servlets, etc.? All my clients are Java 5 or above so I can't push the Pack200 compressed version of the jar to every single one of them and there is no selection process needed. But I can't do it because of the servlet or complex Apache server setup requirement (it would be a headache to get customers' web server admins to set up Apache or whatever web server that way).
    My question is why is there unwillingness to add Pack200 support directly to Java Web Start and JNLP so that you can start Pack200 compressed jars just like you would start any jar using Java Web Start? Is te a technical problem?
    Thank you,
    Mete Kural

    Hallo,
    I didn�t try it, but the webstart FAQ�s read:
    Can I use Pack200 compression with the JnlpDownloadServlet?
    Yes. The JnlpDownloadServlet distributed in the samples directory of the JDK now supports Pack200. If you deploy yourfile.jar along with yourfile.jar.pack.gz the packed file will be downloaded when the client is running Java Web Start 1.5.0 or later.
    http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/faq.html#217
    For further information you may want to look at
    http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/downloadservletguide.html#pack200
    The configuration of the server and the the servlet (as described in the second link) is as easy as it seems.
    I got it working on the first try and it was my first experience with websevers at all.
    Bye Schippe
    Message was edited by:
    Schippe

  • Java web start security dialog with Java 7 update 51

    I build a Java Web Start application signed with a valid certificate.
    When I star the application the security dialog appear correctly as show in this figure
    http://www.java.com/en/img/download/trusted_signed.jpg
    My issue is about the "do not show again" checkbox.
    If the attributes href are present in the jnlp tag of the jnlp file the checkbox appear.
    If the attribute are not present, the checkbox doesn't appear and the run needs to be confirmed every time.
    (Example:
    <jnlp spec="1.0+" codebase=
    "http://docs.oracle.com/javase/tutorialJWS/samples/deployment/webstart_ComponentArch_DynamicTreeDemo"
    href="dynamictree_webstart.jnlp">
    This is a problem because my jnlp file is under a password protected directory and if href is specifed, the Java Web Start application try to retrieve it as the other resources. ( result in access denied because only the browser session is authenticated and the run fails)
    The documentation at Deploying a Java Web Start Application said:
    The codebase and href attributes are optional when deploying Java Web Start applications that will run on at least the Java SE 6 update 18 release or later. You must specify the codebase and href attributes when deploying Java Web Start applications that will run with previous releases of the Java Runtime Environment software.
    What is the right code? With href or without?
    Is this a BUG or a feature?
    How can I show the "don't show again" checkbox without having to specify the href attribute?

    From the documentation at JAR File Manifest Attributes for Security
    If the Application-Library-Allowable-Codebase attribute is present and matches the location from which the RIA is started, then a single host is listed in the Location field for the prompt and the option to hide future prompts is provided.
    This issue is also discussed here: Java Web Start security dialogs with Java 7 update 51 - Stack Overflow

  • Java web start unable to auto download java 1.6.0_14

    Hi,
    My application runs on java 1.6.0_14 and i want clients to use either 1.6.0_14 or higher while running the application. In the JNLP file i have mentioned j2se version as 1.6.0_14+
    If the client machine has a java version lesser than 1.6.0_14, Java web start is not automatically downloading the given version from sun auto download site.
    Isn' t this version supported by Sun for auto download? If yes, how to get around this problem?

    Thanks..
    We do have a web page from which we access the jnlp and that web page has javascript to force download of a specific version of JRE. Once it downloads the application on client machine, it creates an icon on the desktop.
    If the application and jnlp is changed on the server, we want clients to go through the icon on desktop and still get the version of jre mentioned in the updated jnlp rather than having them go through the web page again do download the new JRE required...

  • Java Web Start doesn't start

    I have installed Java 7 update 51 in Mac OS X 10.7.5. Yesterday Java Web Start starts well but today doesn't start. /Library/Application Support/Oracle/Java/javaws displays this error:
    Bad Installation: JAVAWS_HOME not set.

    Hi,
    I found some stuff, but it didn't work for me. Maybe you can give it a try.
    1. Deactivate Proxy
    Add or edit javaws.cfg.proxy.setting=NONE in the javaws.cfg file.
    2. Deactivate Splashscreen
    Add option "-Xnosplash" in the Windows registry for the .JNLP ending, i.e. "C:\Program Files\Java Web Start\javaws.exe" "-Xnosplash" "%1"
    3. Run with Java VM
    I created a .BAT file:
    SET JWS=C:/Programme/Java Web Start
    java -cp "%JWS%/javaws.jar" "-Djnlpx.home=%JWS%" com.sun.javaws.Main %1
    To run Java Web Start simply run the .BAT file. To run a specific application run the .BAT file with the complete URL of the .JNLP file.
    If this works for you, please drop a note here! Thanks!
    Bye
    Markus

  • Can we change the label of Java Web start at the time of downloading applic

    can we change the label of Java Web start at the time of downloading application?
    At the time of downloading application(jar files) java web start shows "Downloading Application" lable on it window , so can we change it so some other..

    The 'splash' screen might be of interest to you.
    Here is the quick description from the FAQ.
    <http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html#206>
    Section 3.5 of the JNLP Spec. has more details on using a splash screen for an application.
    (But if you mean changing the very first screen seen when downloading an application the first time, the answer is 'no'.)
    Late addendum..
    By the way - now I review your question, I note you stress 'while jars are downloading'.
    There is another strategy you might take. Mark most of the application jar's as 'lazy' download, get the main GUI on-screen quickly, then use the JNLP API's DownloadService to fetch the rest of the jars, after the application is running.
    This has the advantage that, then we can have complete control of whatever is shown on the screen during the bulk of the downloads. We might show ..a 'splash screen', or a dialog with the application name on it, or a progress dialog, ..or any combination of the three.
    Edited by: AndrewThompson64 on Oct 22, 2007 3:01 PM

  • Java 7 Update 25 breaks Java Web Start on Mac OS X

    Hello,
    After the update on Mac OS X 10.8.4 it is no longer possible to launch Web Start applications. The Java 7 splash screen appears for a brief moment, but the application isn't started. There is a Java Web Start process that remains though. I also tried this on the command-line with the same result.
    Best regards,
    Werner.

    As the website said, Java Web Start is only supported on Mac OS X 10.1.
    http://java.sun.com/products/javawebstart/
    Cheers,
    A.A.
    I would like to know if Java Web Start works on Mac OS
    8 and 9. If the answer is yes, would you please let
    me know what is the package to download to achieve
    that? I would also like people's comment on how
    easy/hard is Java Web Start works, if it is buggy, and
    how well it is working on Mac OS. I am evaluating
    whether we are going to incorporate this technology
    into our application. I would highly appreciate your
    input.

  • Java Update 4 -- "Safe" java-vm-args Arguments for Java Web Start?

    Sun's Java documentation notes that JNLP files can request arbitrary arguments to the virtual machine using the java-vm-args argument. However, only arguments considered "safe" will be recognized. The JNLP spec doesn't list the safe arguments, since the list might change on a per-release basis.
    Unfortunately I can't find a current list of safe arguments either on Apple's site or Sun's site. I am fairly sure that -Xss is no longer on the safe list, since it's not working any more, but it would be nice to have that confirmed.
    Anyone have any ideas/pointers?

    I'm pretty sure that list is not accurate for the Java Web Start released in Update 4 recently. I have an app which attempts to specify heap and stack sizes using java-vm-args="-Xmx1024m -Xms1024m -Xss8m"; when I use the Java console to display memory usage, it shows that the heap is 81MB (which is the default). If I use initial-heap-size="1024m" max-heap-size="1024m" in the same JNLP file, the heap size is set properly.
    Unfortunately I don't think there's any way other than -Xss to set the stack size in a JNLP file, and I need to do that too.
    It's also possible that I screwed something up which caused this problem, but I reproduced it on both my Mac Pro and my Macbook Pro.

Maybe you are looking for

  • Itunes updates to itunes 10 then it says itunes cannot open after i restart

    Hi, i usually update my itunes with no problems, last week it said itunes update so i clicked to download the update as i usually do, then when i restarted it it said 'unable to open itunes as some files missing' and i had to download itunes again. T

  • Reading Photocasts on an iBook G3 with iPhoto 06

    I own an iLife's family pack and it works like a charm on my PowerBook and PowerMac. Since I really like the new version of iPhoto, I dragged and dropped iPhoto to my son's iBook G3 (I know it is under the minimum requirements). The basic functions w

  • Installing Adobe photoshop 9 via disk

    I purchased Photoshop elements 9 and when i put the disk in my computer it does not start the install process. I can view the files on my D drive but do not know which one to pick to run the install.  We just got a new computer so I am trying to inst

  • Can multiple transducer be handled by single datalogger

    I have 3 presure guages generating 0-20mA analog signal and one differential pressure transducer also generating 0-20 mA signal. I need to maintain a log of all pressure readings. In this regard I need to have a datalogger which can translate my anal

  • Crystal Reports 2008 - dynamic parameters not returing all data

    I am having the same issue with Crystal Reports 2008. Only returning 135 customers in a dynamic paramaters when the list should be 3288. When I re-create the parameter by using a command instead of relying on Crystal to return the data from the db ta