JWS Hanging when updated jar available

Hi,
When I make an updated JAR file available, it gets downloaded and verified correctly (it's signed), but then nothing. The progress dialogue simply says that scanning has reached 100%. There have been a couple of threads along these lines, but nothing that seems to jump out as a solution. Here are the details:
I have an application that I am deploying, as described by this JNLP file:
<?xml version="1.0" encoding="ANSI"?>
<jnlp spec="1.0+" href="ourapp_main.jnlp" codebase="http://myMachineName/ourapp">
  <information>
    <title>Application Titlet</title>
    <vendor>Meridian Informatics</vendor>
    <homepage href="http://meridianinfo.com" />
    <description>Our app</description>
    <description kind="one-line">Our app</description>
    <description kind="tooltip">Our app</description>
    <description kind="short">Our app</description>
    <icon href="http://myMachineName/ourapp/images/icon.gif" version="" width="" height="" depth="" size="" />
    <offline-allowed />
  </information>
  <resources>
    <j2se version="1.3+" />
    <jar href="ourapp_main.jar" main="false" download="eager" />
    <nativelib href="win32printerdll.jar" download="eager" />
    <extension href="activation.jnlp" name="activation" />
    <extension href="borland.jnlp" name="borland" />
    <extension href="collections.jnlp" name="collections" />
    <extension href="design_pro.jnlp" name="design_pro" />
    <extension href="ourapp.jnlp" name="ourapp" />
    <extension href="ibmftp.jnlp" name="ibmftp" />
    <extension href="framework.jnlp" name="framework" />
    <extension href="mail.jnlp" name="mail" />
    <extension href="xreport_pro.jnlp" name="xreport_pro" />
    <extension href="xtools.jnlp" name="xtools" />
  </resources>
  <security>
    <all-permissions />
  </security>
  <application-desc main-class="com.meridianinfo.ourapp.twotier.MainApp" />
</jnlp>And here's a JNLP file for one of the extensions (all extension JNLP files were copied from an original and the relevant names changed):
<?xml version="1.0" encoding="ANSI"?>
<!--  created on Tue Aug 28 13:18:27 GMT+11:00 2001  --><!--  created by fitzpatk on Windows 2000  --><!--  1.3.0  -->
<jnlp codebase="http://myMachineName/ourapp" spec="1.0+" href="ibmftp.jnlp">
  <information>
    <title>Desktop for Ecommdirect</title>
    <vendor>Meridian Informatics</vendor>
    <homepage href="http://meridianinfo.com" />
    <offline-allowed />
    <icon kind="default" href="http://myMachineName/ourapp/images/icon.gif" />
  </information>
  <resources>
    <jar href="ibmftp.jar" main="false" download="eager" />
  </resources>
  <component-desc />
  <security>
    <all-permissions />
  </security>
</jnlp>In versions of JWS prior to the latest, all the JNLP files would be downloaded, but then processing would stop (i.e. no jar files would be downloaded).
When using the latest version of JWS, launching an application for the first time works fine - everything gets downloaded correctly, installed, and the application launched. As long as there are no updates, this continues to work.
If I update one of the jar files, it is downloaded and scanned, but the application never starts. The dialogue stating that scanning has reached 100% remains on screen. There is nothing untoward in the log file or in the console. If I hit Cancel at this point, and try to launch the application again, everthing works (of course, there is nolonger an update to download at this point).
If I update two or more jar files (but not all!), I have to repeat the previous procedure for every updated jar file, before the application will launch.
If I update all of the jar files, it works as expected - everything is downloaded and installed and the application is started.
BTW: I am "updating" the jar files by resigning them (using jarsigner).
I am using Win NT and Win 2K, JRE's 1.3.1 and 1.3.0_01.
This looks like a bug to me, but before I log it as such, I'd appreciate hearing your thoughts/comments. Maybe there is something missing from my JNLP files, or some combination of software that is likely to cause this?
All comments appreciated.
Kieran

There have been a couple
of threads along these lines, but nothing that seems
to jump out as a solution.Yep.
My strategy is brute force, born out of cluelessness, and is either
1. nuke .javaws/cache and retry
or if that doesn't help get really angry and
2. nuke the whole Java Web Start installation directory (and please make sure that not a single .dll survived eg due to IE having some instance slurped in), reinstall Web Start and retry
and if that does not help we go into scapegoat location mode and do
3. It must be the bloody JRE, thus try again with 1.3.1, 1.3.1_01, 1.4 and whatever JRE you get your hands on, try also alternative vendors like IBM or Blackdown
the adventureous now might do
4. sign that incomprehensible license agreement, download the Web Start sources and fix the problem yourself
but if you have not enough time or skills on your hand then finally give up and try
5. It is a Web Start bug. Let's submit it as bug and wait for 1.1
Not too subtle, eh? :-)
But there are reasons for this.
installation of new versions might end in a mess
No. 2 is motivated by the fact that deinstallations of old Web Start versions and installations of new Web Start versions might lead to a mess.
Ideally Web Start would work afterwards such installations without problems, and even better, the old cache would be left intact, so that not everything needs to get downloaded again.
I had two cases (me playing with 1.01 and 1.01_01, and a colleague playing with 1.01something and trying out the 1.4 JDK beta, where Web Start is a part of the JDK) where this led to a hang of that kind what you described.
The installation guide
http://java.sun.com/products/javawebstart/docs/installguide.html
hints as well that things might go wrong.
cache corruption, insufficient change detection
No. 1 is rooted in the observation that Web Start's update mechanism does not work as expected.
Ideally, when we launch an app, the Web Start client should find out about the main jnlp file and the sub jnlp files and jar files that are used by it. It should detect changes in all those items and download if they changed.
BTW: I am "updating" the jar files by resigning them
(using jarsigner).But what changes does it detect?
- does it just look if something with the same name is already in the cache?
- does it look at the timestamps of the cache contents and compare that to the timestamps of the versions on the server?
- does it compare content differences (eg by calculating hashes like md5 or SHA-1)?
My impression that it does only the first.
I very often have to empty the whole Web Start cache on the client, when I'm changing/updating jars and jnlps on the server.
more fun
No.3 is justified by experience. I had many surprises here.
Regards,
Marc

Similar Messages

  • Dreamweaver CS6 hangs when updating template

    Hi there - got a bit of a problem... When I update a template for the FIRST time, it alters all the child pages. However, when I then make a template change and try to update the template, it just hangs on the 'Update Pages' box - I leave it for about 5 mins andstill nothing, so have to manually stop it. Does anyone know what's going on?

    I have CS6 and running windows XP. Mine also hangs up. Tried what you said arorasps but does nothing.
    Also before that, I get a splash screen asking for user name and password.
    I just cancel out of that, because I never had to do that before.

  • IPhoto 9.5.1 keeps hanging when updating faces.

    Hi, Basically what the subject says. I open up iphoto. Go to faces>persons name and then confirm additonal faces. Click done, then I get the spinning ball of death for hours. I have done the whole rebuilding the data base still no joy. So fustrating iPhoto used to work so well.
    A few points; my iPhoto library contains about 18,000 photos and the library sits on an external hard drive.
    Any help would be appeciated.

    genpro I think you are seeing what I have seen many times.  I hesitate to disagree with so formidable and respected an authority as Old Toad, but I do think there is more to this issue, and that the real problem has been missed. 
    What happens is that the process that searches for new faces takes a long time to run.  While it runs iPhoto becomes unresponsive, as you have noted.  When iPhoto finishes all its database housekeeping it becomes responsive.  You can see this by watching iPhoto's use of cpu time in Activity Monitor.  When suggested found faces are confirmed as correct or as incorrect, iPhoto seems to go through several steps.  One is marking the databases according the the confirmed responses, another is using the newly modified database of positive face exemplars to search the newly modified database of all found faces.  When these databases become large, the calculations ale a very long time.  The search algorithm apparently stores intermediate values during the search.  When these databases become large, the intermediate stored values become impossibly large.  Often large amounts of virtual memory are used, meaning the data manipulation requires disk access and swapping, slowing the process much more.   The combination of slow complex calculation and massive intermediate stored value overwhelms your computer.  When the search ends cpu cycles become available and memory becomes freed, and iPhoto and your computer return to normal operation. 
    When you used iPLM the search for new found faces proceeded slightly differently, and did not hold up the computer. 
    Use Activity Monitor to observe cpu and memory usage next time you confirm suggested found faces, and you will see what I am telling you. 
    One workaround is to do something else and let iPhoto run until it is finished,  This only works for smaller libraries or smaller sets of exemplars.  For larger ones the memory requirements can easily be too great for the Faces search to complete.  In this case the only solution is to Force-Quit iPhoto.  In general Force-Quit while a database is updating is not a good idea.  In this case it seems to be the only solution, and usually does not seem to cause too much trouble. 
    I have reported this to Apple.  I urge you to do so also. 
    As LarryHN notes, "I find Faces more that a bit flaky". 

  • HT201210 Whenever I update my iPhone when update is available, after completing every process it shows an error that iPhone could not be updated and my iPhone goes into recovery mode but when I recover it it still doesn't work and shows the same error.  H

    I tried to update my iPhone running 6.1.2 to 6.1.3 it showed an error and went into recovery mode but when I try to restore it it doesnt even got restored.......... ! Please Help !!!

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • HT4623 Terms and Conditions screen hangs when updating to iOS 8.0.2 on iPhone 5c

    I have iOS 8.0 (12A365) on my iPhone 5c. The phone has 32 GB, 16 GB available.
    Tried to update to iOS 8.0.2 over the network, but after touching "Agree" on the pop-up from the Terms and Conditions screen, the Settings app froze. The screen did not close, and everything on it became un-responsive. The home button still worked, and other apps still worked, but I had to reboot the phone to get back to a usable Settings app. I'll try updating via iTunes next. Meanwhile, has anyone else had this problem?

    FWIW, updating via iTunes (11.4 on Windows 7) worked

  • IMac Hangs when Updating Mac OS X 10.5.5

    Hi
    I'm currently operating my iMac under Mac OS X 10.5.4 and wanted to install software update to 10.5.5. However, each time i try, it hangs. After I click on the install, my iMac restarts and attempts to install the new OS. But it just hangs there for a long time almost 1 hour. I had to basically do a hard reset to reboot my iMac.
    I did a disk utility check and there are no there were no issues identified.
    Any idea what I should do??
    Jojo

    Hello jojos:
    Run repair disk from your software install DVD. Then download (even if you have done it before) the combo OS X 10.5.5 updater and apply it.
    Barry

  • TX hotsync with Vista, Hot Sync 7.0 hangs when updating date book

    Hotsync of my Palm TX, with hotsync 7.0, Windows Vista is failing. Hangs on date book, step 2 of 13. Have to kill task with task manager to recover.
    Worked a few times after initial install.
    Log says did not transfer all data items to desktop. Suggests increasing the limit??
    Don't see a way to increase the limit on data items.
    Any suggestions?
    Post relates to: Palm TX

    Go over to www.pimlicosoftware.com and get dbfixit, run it and see if it finds any corruption. If it does you can either manually fix them for free or purchase the program and have it fix it for you. Then try to sync again.
    Post relates to: Centro (Sprint)

  • E90 hangs when update to new Firmware

    Hi all, my E90 hung while I was attempting to update to latest Firmware 200.34.73, the process seems to have stalled & disconnected the phone without warning but the advice I get is don't disconnect the cable to avoid serious damage to phone ,what should I do now? Advice appreciated

    The new nokia software updater has a major bug that is preventing users from updating.
    It is mostly affecting vista users. The program will either sit there without giving you any errors or give you a message about service layer not responding.
    All you can do is unplug the phone and hope that it switches on again. You may need to remove the battery for a minute.
    There has been lots of posts about this issue in the software updates section of the forum.

  • Aperture 3.5.1 on OS X 10.9.2 hangs when trying to update the backup

    Aperture 3.5.1 on OS X 10.9.2 hangs when trying to update the backup. I get the rotating beach ball cursor for hours but not get the confirmation dialog known from 3.4.2 aksing whether I really want to back up.
    On old Mac Mini with OS X 10.6.8 and Aperture 3.4.2 there was no such issue.

    Creating a new vault and populating it always works but then turning around and updating that vault hangs? The drive is formatted OS X Extended, correct?
    That is strange. Before abandoning vaults, they should and do work in 3.5.1, I'd try this
    Run a library repair on the library. I always do this now as it seems to cut down and hangs when updating a vault.
    Before starting the vault update open the Aperture activity window Aperture->Window->Show Activity.
    Now do the update.  I can't give you anything specific to look for, just try to get an idea of where the hang is happening (if it happens after the repair).
    As for rsync, it should work OK but keep in mind as a lot of the data now in 3.5 is in database files any change to Aperture will result in reync seeing a lot of files has having been changed so I'm not sure now much of a savings that will be over just copying the library. To be honest I've never tried rsync on an Aperture library so this may not be an issue but something to keep in mind. BTW do you have much rsync experience? It can be a bit of a bear to setup if you're not familiar with it.
    Another option is to look at one of the cloning programs Carbon Copy Cloner or SuperDuper. They have the ability to make clones and then update only the changes since the last clone operation. In reality, I believe one or both actually use rsyn as the backend but give you a much nicer way to set it up and schedule it.

  • When an app update is available in the ipad appstore, a WAITING message appears under the app and the installation does not proceed

    When updates are available in the ipad app store, I click on install and under the app a WAITING message appears. No installation is done and the message does not disappear. I have tried hard and soft resets without success. The ipad (1st gen) runs under iOS 5.0.1. I now have 5 apps waiting for installation of updates.

    You can also finish the downloads in iTunes on your computer and then sync the updates to the iPad. From the iTunes menu on your computer go to Store>Check for Available Downloads.

  • Error when updating OEPE on Ganymede

    Hello,
    I tried to update the Oracle Enterprise Pack for Eclipse in Ganymede and I get the following error:
    Cannot complete the request. See the details.
    Cannot find a solution satisfying the following requirements javax.wsdl [1.4.0.v200806030407].
    Ganymede information:
    Version: 3.4.2
    Build id: M20090211-1700
    OS Information:
    Microsoft Windows XP Professional Service Pack 2.
    JREs in use:
    JDK1.4
    JDK1.5
    JDK1.6
    Any help will be greatly appreciated.
    Thanks
    Raza Abbas

    Hello Raj,
    The update site listed in your reply is what was used for updates.
    I already had the previous version of OEPE and I have my eclipse to prompt me when updates are available. The morning I posted the message, eclipse prompted regarding an update for OEPE. When I tried to update, it displayed the error message that I had in my original post.
    100% sure there was no network glitch.
    I could try to uninstall and re-install the OEPE fresh but wanted to reported this issue because it may a problem with updates as opposed to fresh install.
    Please let me know what other information would help u.
    Thanks
    RA

  • Apps icon not showing that updates are available

    I was my understanding that when updates were available, the Apps icon was supposed to display the number, in red, similar to email and chat, etc. However, the number displays only after I enter the Apps store. Is this the way it's supposed to work? Is it a bug? Anyone else having this problem?

    Karen Ram wrote:
    So what's the purpose of the indicator if it won't display anything until you've already checked for updates? There needs to be some kind of Push notification -- just like there is for email and chat. Current behavior just doesn't make sense.
    Just going to the App Store triggers it for me so I never go to any "check for updates" option. I go to the App Store quite often so I generally am notified pretty quickly on new versions of apps.
    Dave

  • JWS Not updating Jars in 1.6.0

    Hi,
    I have been using JWS since JRE 1.3. We have a servlet running and up until now I just had to increment the "version" for a respective Jar file and JWS would download that jar nicely.
    I moved to JRE 1.6 this week and for some reason (using the same back end) it seems like JWS launches and "Skips" and jars that have been updated (e.g. the version incremented). If I add new jars it seems to pick them up.
    Any help would be greatly appreciated. My JWS is here:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+" codebase="http://var_host/servlet/Loader/loanmagic_v4" href="loanmagic.jnlp">
         <information>
              <title>var_lm4_title</title>
              <vendor>Document Systems, Inc.</vendor>
              <homepage href="http://www.loan-magic.com"/>
              <description>Point of Sale Software for Mortgage Professionals.</description>
              <icon href="loanmagic.gif"/>
              <offline-allowed/>
              <shortcut>
    <desktop submenu="var_lm4_title"/>
    <menu submenu="var_lm4_title"/>
    </shortcut>
         </information>
         <security>
              <all-permissions/>
         </security>
         <resources>
              <java version="1.6+" initial-heap-size="64m" max-heap-size="256m"/>
    <jar main="true" href="loanmagic.jar" version="4.0025" download="eager"/>
    <jar href="comfyj-2.4.jar" version="4.000" download="eager"/>
    <jar href="jexplorer-1.8.jar" version="4.000" download="eager"/>
    <jar href="jexplorer-dll.jar" version="4.000" download="eager"/>
    <jar href="jniwrap-3.6.jar" version="4.000" download="eager"/>
    <jar href="winpack-3.6.jar" version="4.000" download="eager"/>
    <jar href="jdom.jar" version="4.000" download="eager"/>
    <jar href="jaxen-core.jar" version="4.000" download="eager"/>
    <jar href="jaxen-jdom.jar" version="4.000" download="eager"/>
    <jar href="saxpath.jar" version="4.000" download="eager"/>
    <jar href="xstream-1.2.1.jar" version="4.000" download="eager"/>
    <jar href="jfreechart-1.0.3.jar" version="4.000" download="eager"/>
              <jar href="jcommon-1.0.8.jar" version="4.000" download="eager"/>
    <jar href="calculators.jar" version="4.000" download="eager"/>
    <jar href="jRegistryKey.jar" version="4.000" download="eager"/>
    <jar href="jRegistryKey-dll.jar" version="4.000" download="eager"/>
    <jar href="xml-apis.jar" version="4.000" download="eager"/>
    <jar href="xalan.jar" version="4.000" download="eager"/>
    <jar href="serializer.jar" version="4.000" download="eager"/>
    <!-- FillMagic -->
    <jar href="fillmagic.jar" version="4.000" download="eager"/>
    <jar href="asjava.jar" version="4.000" download="eager"/>
    <jar href="asjava_p.jar" version="4.000" download="eager"/>
    <jar href="fop.jar" version="4.000" download="eager"/>
    <jar href="avalon-framework-4.2.0.jar" version="4.000" download="eager"/>
    <jar href="fsjython.jar" version="4.000" download="eager"/>
    <jar href="rmstools.jar" version="4.000" download="eager"/>
    <jar href="barcode4j.jar" version="4.000" download="eager"/>
    <!-- ViewMagic -->
    <jar href="itext-1.4.5.jar" version="4.000" download="eager"/>
    <jar href="pcl2pdfconverter.jar" version="4.000" download="eager"/>
    <jar href="pclonscreen.jar" version="4.000" download="eager"/>
    <jar href="pclrenderimage.jar" version="4.000" download="eager"/>
    <jar href="FullViewMagic.jar" version="4.000" download="eager"/>
    <jar href="TableLayout.jar" version="4.000" download="eager"/>
    <!-- Variables Passed into LoanMagic -->
    <property name="syncContext" value="/lmserver4/sync/"/>
    <property name="loginHandlerPath" value="var_host/servlet/login"/>
    <property name="useHTTPS" value="var_https"/>
    <property name="newUserSetupURL" value="https://var_host/webservices/loanmagic/newuserintro.jsp"/>
    <property name="emailPasswordURL" value="https://var_host/webservices/login/emailpass.jsp"/>
    <property name="DSIServerPath" value="var_host"/>
    <property name="emailHandlerPath" value="var_host/webservices/email/Processor"/>
    <property name="emailSchemaPath" value="http://var_host/webservices/email/schema/email_process_request.xsd"/>
    <property name="tutorialURL" value="http://var_host/support/tutorials/loanmagic/main.jsp"/>
    <property name="faqURL" value="http://var_host/support/faq/loanmagic/main.jsp"/>
    <property name="supportURL" value="http://var_host/support/main.jsp"/>
    <property name="productSuggestionsURL" value="http://var_host/support/suggest.jsp"/>
    <property name="pricingURL" value="http://var_host/webservices/loanmagic/fees.jsp"/>
    <property name="requestHandlerPath" value="var_host/servlet/RequestHandler"/>
    <property name="requestHandlerDTDPath" value="var_host/webservices/ws/dtd"/>
    <property name="jwsLoanMagicDir" value="loanmagic_v4"/>
    <property name="adminURL" value="https://var_host/webservices/admin?fromlm=true"/>
    <property name="releaseNotesURL" value="http://var_host/webservices/loanmagic/releasenotes_v4.jsp"/>
    <property name="privacyURL" value="http://var_host/privacy.jsp"/>
    <property name="loanAppURL" value="/lmserver/newLoanApp.do"/>
    <property name="comingSoon" value="http://var_host/products/loanmagic/main.jsp?copy"/>
    <property name="applicationVersion" value="4.0024"/>
         </resources>
         <application-desc main-class="com.docmagic.loanmagic.LoanMagic"/>
    </jnlp>
    Note, for example, I could update:
    <jar main="true" href="loanmagic.jar" version="4.0025" download="eager"/>
    to
    <jar main="true" href="loanmagic.jar" version="4.0026" download="eager"/>
    And it would get downloaded when I restart the JWS app on the client. This no longer seems to be the case..
    Maybe I am missing a new tag or something..

    i'm having the same problem.
    there is a new tag in JNLP 6
    <update check="always" policy="always"/>
    but even so , the jars wont be updated.
    However, i noticed that JWS does update it's cached JNLP (you can check from JWS Cache viewer , Show JNLP) but even if in the new JNLP there are new JAR versions specified , it wont get them till next time you launch the app.
    something like this is described here
    http://java.sun.com/developer/community/askxprt/2006/jl0410.html
    Dan

  • HT4623 Why does my i4s, ios6.1.1 hang up when updating apps?

    Why does my iPhone 4S hang up when updating apps from the update screen?

    I'm going to guess you have the original iPad, which means iOS7 isn't available for your device. 5.1.1 is the last update applied to the original iPad.

  • Have iphoto 9.0 working on a mac osx 10.7.4 yesterday ilife with idvd was downloaded into my mac,i can't open my iPhoto now its telling me to update app, but when i do it says no new updates are available at this time,and iPhoto update mesg pops up again.

    Have iphoto 9.0 working on a mac osx 10.7.4 yesterday ilife with idvd was downloaded into my mac,i can't open my iPhoto now its telling me to update app, but when i do it says no new updates are available at this time,and iPhoto update mesg pops up again.

    Hi,
    I scoured the web looking everywhere for a solution to this.
    Exit Code 15
    OSX 8.5 with Work@Home DVD media for CS6
    I followed instructions to run 3rd party cleaner software
    I tried the adobe removal tool
    removing all copies of adobe software manually
    installing from a new account, safe mode, plist everything suggested that i found did not work.
    A colleague suggested that removing the below folder would allow the installation:
    /Library/Application Supports/Adobe
    They turned out to be correct, so i am passing this on, because this took far too many hours of my time.
    Cheers,
    Smokey

Maybe you are looking for

  • FMS Load Balancing With RTMP User Pairing

    Hey All, I'm running into an issue with scaling an FMS environment to what we need. We need to create an RTMP environment that can support up to 1 Million simultaneous connections. Just so you get an idea of the scale I'm talking about. I'm looking t

  • Indesign

    If i mount a share using afp, wheni go into indesign either 5.0.4 or indesign 6 when i selct file open and select the mounted afp server, none of the shares are visable on this afp mounted server. so i can not open files from this afp share. if i dou

  • Is there a max download speed on ipad?

    Is there a max download speed with ipad?  I am getting 100 mb download on pc but 35 mb on speedtest on ipad ?

  • Copy Labels (text) in Illustrator file into keyword (file info) field

    I'm curious if there is any way to copy the text in an illustrator file, and paste it into the keyword field within the file info dialog box, with those words being separated by commas. If I do this manually, the text is pasted as one long running wo

  • Deploying Access manager on Akamai Edge platform

    We use akamai edge platform to deply our j2ee applications . Akamai edge platform is based on Websphere app server. If we want to deploy access manager along with our application, will access manager be just a part of our WAR file ? Will Websphere ac