Does JNLP Sync up the software from the code base only at the startup?
Does JNLP Sync up the software from the code base only at the startup?
There appears a Source sync every time i startup the jnlp app from shortcut.
The users of JNLP application may enable the Internet mid of the application session and fail to get the updates.
If this case repeats for a period of time, there is a good chance of the app user being denied the code update.
Is this case holds true. Does JNLP syncs with the code base only at the startup.
Please explain..
Thanks In Advance
Are you using versions (only 'Easy solution 2' works without)?*
No I am not using versions
Are you thinking of a background update or an on-demand update?*
background
Have you got all-permissions?
yes
Have you tried writing a small DownloadServiceListener and calling*
DownloadService.loadResource(myURLtojnlp, null, myDownloadServiceListener)*
Does anything happen?*
No. But, no problems trying it.
Easy solution 1*
If using versions and if you want an on-demand update you can launch and wait*
Runtime.getRuntime.exec("javaws -wait myURLtojnlp");*
and then you exit (need all-permissions to call exec, can try showDocument() otherwise).*
You should just have some way to know if the jnlp has changed (you could open an URLConnection and see if LastModified is after application start time).*
I am not using versions.
Easy solution 2:*
If you're just afraid of losing update, you can call BasicService.isOffline at application start, if true you set a timer that checks every 5 minutes, if you go online you call*
Runtime.getRuntime.exec("javaws -import myURLtojnlp");*
and you'll have resources updated, so they'll be good for next start (need all-permissions to call exec).*
You can call it with -wait and ask the user if he wants to restart the application*
Harder solution (here comes the bunch of code with DownloadService):*
you open an url connection to codebase, retrieve jnlp, parse it, for each resource you see if it's cached, if not:*
Solution 1: you tell the user you found updates and ask him to restart (or automatically restart after he pressed ok, with exec or showDocument).*
Solution 2: you download the resource (so that you'll have it even if user doesn't restart the app).You'd better do this in a separate Thread or have an interactive DowloadServiceListener cause service waits for download to end.*
I ll try the timer execution. Have to see weather web start puts up a downloading progress window on top of the application. I belive the DownloadService listener will be silent. I ll implement it and get back to you.
Thanks for your kind guidence.
I think your scenario is very difficult to happen, but I guess you must have your good reasons to ask.*
This scenario happens to my users as they switch on the client when the start their machine and runs for the whole morning. They switch on the internet for other purposes and shuts it down in an hour. Minimal chance of connecting the internet before the startup.
I get update towards the server through a similar timer based mechanism. I ll implement the code updates in the same mechanism.
Thanks.
Similar Messages
-
I am trying to sync the ipad calendar with my Google calendar. The events sync from my Google calendar to the iPad calendar but when I enter an event on my iPad caledar it does not sync to the Google calendar.
Did you ever get an answer to this? I'm having the same issue.
-
i am unable to sync my movies in the i tunes 11 library i try to add the mp4 video by using the add to library option but the movie does not sync while the music is syncing fine...
I had the same issue. What I did was save the movies on a thrid-party app like Download Manager Lite. Once downloaded, go back to itunes, go to your iDevice, go to apps and transfer the app, then scroll down and click on the app and from there you can send the movies to that app and WILL play. Can only hold up to 8 videos/movies (this is for iPod Touch 3G or better, iPhone 3s or better, iPad requires iOS 4.3 or better)
YES THIS APP SUPPORTS .mp4
From other ipod (nano, classic): I don't remember.
If your just putting them on iTunes, it should show and play on iTunes no problem.
Message was edited by: keeferaf -
My iPad and iPhone have the same syncing calendar but my Windows 7 PC with iCloud does not sync/show the same calendar...please help!
iCloud will not sycn a calendar from an external source. In order to use iCloud to sync it, you would have to move it to iCloud and stop using Google. I know how to do that on a Mac, but I'm not sure how to do it on a PC. If you're using Outlook, I suspect you export it as an .ics file to your desktop, then import it to the iCloud account in Outlook. I'm sure you could use Google to find the specific steps.
However, there's really no reason not to just use Google to sync your calendar across your devices. Instead, just continue to use Goole calendar on all your devices and they should stay in sync. Take a look at this video: http://www.youtube.com/watch?v=C0Jj0KFgbYI. -
I have a new 7th gen iPod, I have up loaded the latest iTunes version, I go to the music tab to sync, I click sync and the ipod starts to sync, but it does not sync all the music. It indicates all the songs on the screen, but not on the ipod
I do not have the screen shown with the
Pull down the “Store” menu and choose “Deauthorize This Computer”
3. Now go back to the Store menu and choose “Authorize This Computer”
options. -
My nano does not sync all the checked songs in my library. Can this be corrected?
My nano does not sync all the checked songs in my library. Can this be corredcted?
Was the iPod previous synced to another iTunes library/computer or set up via wifi? If so you can only use the manual method and that only works with music and videos.
iTunes: Syncing media content to iOS devices and iPod
If you want to use this computer as the one syncing computer you need to
Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities -
When I sync my Ipad2 with my Imac, it does not sync all the photos. It seems to pick & choose what it wants to sync and also splits events. How can I set it to sync all photos so both libraries are the same?
Can't help you with the sync problem but the splitting of events was supposedly fixed with the iPhoto 9.1.3 updater.
This is from the download page:
This update fixes a problem that could cause some events merged in iPhoto to be split back into multiple events on iOS devices after being synced.
So update iPhoto to 9.1.3 and re-sync. If you already have updated to that version then I'm at a loss. -
How does one sync explicit music versions from home computer to iPhone?
How does one sync explicit music versions from home computer to iPhone?
The same as you get anything else to sync.
http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
Go to the app tab in itunes (with iphone attached) and select the app to sync with iphone. -
My ipod touch 4th gen will only sync my gmail contacts created on the computer. It does not sync the contacts if they are created on the ipod. HELP!
I'm having the same problem with my girl's ipod 4th generation's. I have restored them 4 times now. It works fine after the restore but the very next time it will no longer sync and I have to do the restore again. It's becoming very frustrating.
-
Dear Sirs,
I had just upgraded my OS to the OS X Mavericks. After doing so, I noticed the following changes:
1) My MS Outlook for Mac 2011 does not sync with my Mac book's calendar/contacts/notes.
2) My iPhone4s does not sync with my Mac book's calendar/contacts/notes anymore.
Please help, thank you.
aawwiiCorrect, USB local sync was taken away from iphones and ipads with 10.9.1 and 2. We are not allowed to speculate on rumours it might come back in 10.9.3 plus new iTunes. Either wait and see or explore Syncmate 5 beta free trial.
icloud still works.
Cant help with the Outlook problem. -
Windows 8.1 Mail app does not sync with the Office 365 account
My company has recently switched to Office 365. Windows 8.1 Metro Mail app does not work with Office365 account. When I switch to IMAP it works but that is soon going to be disabled and is not compliant with the company policy.
I can add the account and it also pushes the security policies but it does not sync email at all. Says account is not available. The tablet shows up on the mobile devices on the office 365 and I could also remote wipe it.
It seems everything works except basing email sync. What could be the issue?there's a bunch of reading here:
http://blogs.technet.com/b/exchange/archive/2013/10/18/supporting-windows-mail-8-1-in-your-organization.aspx
There might also be some useful discussions in the dedicated O365 forum:
http://community.office365.com/en-us/forums/default.aspx
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
My ipod gen 2 does not sync with the latest itunes
I reset my ipod gen 2 to factory settings and version 4.2.1 will not sync with the latest iTunes.
Are you using the USB docking cable that came with that shuffle (it has a mini-dock at the shuffle end)? The docking cable for the current 4th (and 3rd) gen shuffle fits, but it will not work. The connector is different.
When you say, "does not sync with iTunes," do you mean it does appear in iTunes (in the sidebar under DEVICES) but does not sync, or that it does not appear in iTunes at all? -
The sound does not sync with the new iMovie (In Mavericks)
I've finally managed to update my old projects to iMovie 10.0 but the sound does not sync.
Is it my computer (Mac Pro Late 2008) who can not cope with the new iMovie??
Could it be that my Graphics card can not be bothered with?
GeForce 9400M and GeForce 9600M
Excuse my bad english! :-/I have MacBook Pro!
-
I Have a 2nd gen iPod and it will not sync with the new update of iTunes is there a fix coming for this or not I'd hate to have to buy a new iPod if I don't have to
Have you tried syncing manually using the manual method included in
iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
Was the iPod previously synced to another computer/iTunes library?
Next wold be to retore from backup.
iOS: How to back up -
Hello,i have a problem with the Ipod,is that the Ipod doesn't sync all the songs in my Itunes. I have 373 songs in my Ipod and 512 sons in my Itunes. What do i do?
Hello,
I take it you haven't unticked any of the songs listed on your iTunes Library? Also have you tried selecting all your songs which you wish to add to your iPod, and dragging them over your Devices "iPod Nano"; and seeing if that copies all songs on to your iPod?
Another idea is just check that your iPod has enough space for the rest of your songs to be added to your device.
Hope this helps.
Maybe you are looking for
-
AUC asset settlement to P&L account
Hello Experts, Can we transfer the AUC value to P&L account directly through F-02, without capitalizing and scrapping it? No error showing Asset is investment measure, transaction type is not allowed. Is there any relevant transaction type available
-
Mexican Government report .. New
Has anyone done any work or has a solution to generate from SAP FICO AP the report that is required from August 17th 2007 in Mexico? Report is called 'Declaration Informativa de Operaciones con Terceros. is basically a monthly statutory report lookin
-
Hi guys, I am wondering what is the T stand for in the List<T> list? and what's it useful for the following interface and implementation to use <T, PK>? public interface TestInterface <T, PK extends Serializable>{ public void sayHello(); public
-
Sync calendar w/ Lotus Notes?
At work I have to use Lotus Notes. I have installed HTC Sync but the only option to sync is w/ Outlook. How can I sync it with Lotus Notes 8.5.1?
-
Hi, I have create an aplication, when someone whant´s to access a restrict area must make a register and then make the login. The data of the register is in the table users that i have create, so all the users can only see the webpage. Is it possible