JWS not updating

  • Thread starter Lionel van den Berg
  • Start date
L

Lionel van den Berg

I recently updated the main jar file in an application I'm working on at
http://www.tciworks.info/JWS/index.jnlp using JWS, but for some reason
the new jar was not downloaded by default. I didn't think too much of it
at the time but then another user complained about the same thing and had
to launch from the site rather than the desktop shortcut.

Does anyone have any suggestions about what might be going on and if
there is a fix? Or is it by design - I didn't think so.

Thanks

Lionel.
 
R

Roedy Green

Does anyone have any suggestions about what might be going on and if
there is a fix? Or is it by design - I didn't think so.

see http://mindprod.com/jgloss/jnlp.html

There are some parms that control when you update. However, I think
this area may still be buggy. I am having a heck of time getting
desktop shortcuts to JWS apps to work.
 
S

Sabine Dinis Blochberger

Lionel said:
I recently updated the main jar file in an application I'm working on at
http://www.tciworks.info/JWS/index.jnlp using JWS, but for some reason
the new jar was not downloaded by default. I didn't think too much of it
at the time but then another user complained about the same thing and had
to launch from the site rather than the desktop shortcut.

Does anyone have any suggestions about what might be going on and if
there is a fix? Or is it by design - I didn't think so.

Thanks

Lionel.

I had this problem similar to yours.

My application uses the SingleInstanceService, and as such can only use
background update, like
<update check="background" policy="always" />
.

Because of this, you should specify
<shortcut online="true">

If this is set to offline, it will not check for updates from the
(desktop) shortcut.

Using
<offline-allowed/>
still works. Hope this solves your problem. Also do a force reload of
the page after updating the jnlp (I experienced it helps).
 
L

Lionel van den Berg

I had this problem similar to yours.

My application uses the SingleInstanceService, and as such can only use
background update, like
<update check="background" policy="always" />


Because of this, you should specify
<shortcut online="true">

If this is set to offline, it will not check for updates from the
(desktop) shortcut.

Using
<offline-allowed/>
still works. Hope this solves your problem. Also do a force reload of
the page after updating the jnlp (I experienced it helps).


Thanks to both replies. This looks particularly helpful, will be playing
with it soon :).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top