Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

JWS not updating

Thread view: 
Lionel van den Berg - 03 Mar 2008 10:18 GMT
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.
Roedy Green - 03 Mar 2008 23:22 GMT
>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.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Sabine Dinis Blochberger - 04 Mar 2008 10:00 GMT
> 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
[quoted text clipped - 8 lines]
>
> 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).
Signature

Sabine Dinis Blochberger

Op3racional
www.op3racional.eu

Lionel van den Berg - 04 Mar 2008 13:48 GMT
>> 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
[quoted text clipped - 26 lines]
> 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 :).


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.