Upgrading JWS applications installed in the system cache (enterprise)

Hello,
On request from several customers, I've looked into the best way to install a web start application for all users on a computer. These customers have users sharing computers, and the IT department doesn't want to be inconvenienced with installing applications on every user profile on every computer. The following articles provides a thorough explanation into how this can be done.
http://download.oracle.com/javase/1.5.0/docs/guide/javaws/developersguide/javaws.html
http://download.oracle.com/javase/1.5.0/docs/guide/deployment/deployment-guide/properties.html
By specifying the system deployment.config and deployment.properties files and performing the following installation command as an administrator, the application is made available for all current and new users with shared icons on the desktop and the start menu. This works actually very nicely.
javaws -system -import https://server/app.jnlp
However, I'm running into different problems when trying to upgrade the application. The application uses an online shortcut (but can be run in offline) and the update check is set to background.
If an ordinary (non-administrator) user start the application when a new version is available on the server, web start downloads the new version in the background, but into the user's personal cache! When restarting the application, the old shared version still starts. Web start does not download the new version, presumably because it found the new files in the personal cache.
Another approach I tested was to use offline icons and manually performing a new system installation/import. This downloads the new version into the shared system cache, but leaves all shortcuts invalid. Now the only solution to start the application is to run it from Java Control Panel. It's not even possible to recreate the shortcuts.
I'm wondering if I'm doing anything wrong or if there exists some best practices for enterprise installations that I'm not aware of. I'm suspecting that these problems are due to limitations or bugs with JWS, but I thought to check with the community before reporting it officially to Oracle.
The customers are using client computers with Windows flavours.
I've been testing on Windows 7 64 bit using the 32 bit JRE 1.6.0_u23.
Any suggestions would be really appreciated. If you are handling enterprise installations in altogether different manner, don't hesitate to respond.
Thanks.

Hello,
Were you able to solve your problem?
Actually, I'm planning to install the application for all users in a system and I'm on the investigation process.
In fact, these are my concerns:
- What is going to happen if a user with limited permissions tries to install a javaws application and it has been enable to be installed on system cache?
- Where the deployment files need to be located? In the web server (where jnlp is located)?
- Could system cache installation be performed automatically (when jnlp file is launched) or it would be performed by a system administrator?
If you could share some information on how you installed a javaws application for all users, I would really appreciate it.

Similar Messages

  • Forcing a web browser to use the system cache

    Greetings,
    We are setting-up an "enterprise configuration" of JWS where we want JWS applications installed under the system folder (e.g. "<Windows Directory>Sun\Java\Deployment") rather the user "Documents and Settings" folder. The install script will run on thousands of desktops the same day. Since we do NOT want the JAR files downloaded to all these desktops at the same time, the script does not run "javaws -import" at the end - it simply copies the files deployment.properties and deployment.config under the sysem folder with the following properties set:
    deployment.system.security.trusted.certs = C\:\\WINDOWS\\Sun\\Java\\Deployment\\keystore.jks
    deployment.system.cachedir = C\:\\WINDOWS\\Sun\\Java\\Deployment\\cache\\
    deployment.system.config = file:\\C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
    deployment.system.config.mandatory = true
    The install script also copies a shortcut with the target "jawaws -system...."
    This setup works fine and the shortcut does cause the application to be downloaded at the proper system location.
    However, if the user starts the app from IE (e.g. http://xx.xx.jnlp), it ignores the system configuration and downloads the app to the local user folder.
    Is there anyway to force the download to occur in the system folder ? What I find pretty odd is that even lanuched from IE, JWS does read the deployment.properties and deployment.config files from the system folder. I've put a typo and it there and JWS complained right away.
    Thanks

    No that is not possible with code on web pages (userContent.css could probably do this).<br />
    The persona is only used as the background for the user interface (toolbar) area and not for websites.<br />
    The dimensions of the persona with the height of 200px is also not enough to cover a page.

  • 1.5 How to globally set the System Cache location

    FROM ANOTHER USER ON ANOTHER BOARD:
    This one did not get answered completely.
    ************************* Question:
    Hello,
    I want to deploy JWS on a client PC with Microsoft XP OS. This client have multiple users. JWS put a file deployment.properties in the directory "documents and setting" for the current user.
    How can I create a uniquely file deployment.properties for all users of this client (new and existing profiles) ?
    Create a directory "documents and setting/all users/application data/sun/java/deployment/" with the file deployment.properties don't work.
    Create a directory "documents and setting/default user/application data/sun/java/deployment/" with the file deployment.properties is working but is not good for the existing users. This is good uniquely for new users.
    is there a solution ?
    King regards,
    funchung
    ************************* ANSWER:
    For windows, the system config file is at:
    {Windows Directory}\Sun\Java\Deployment\
    The value of the {Windows Directory} is determined by using the Win32 API GetWindowsDirectory.
    So for example, on XP, the system config file is:
    c:\WINDOWS\Sun\Java\Deployment\deployment.properties
    The settings in this system config file will be used by all users on the system.
    ***************************** HIS REPLY
    I've tried this and it doesn't seem to work.
    I've also tried createing a deployment.config file as per the http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html article and this doesn't work for me.
    Has anyone done this successfully??
    ******************************** MY REPLY:
    This is true.
    I can get the system install to work if I add the parameter:
    deployment.system.cachedir=C\:\\testcache
    to the deployment.properties file found under:
    C:\Documents and Settings\username\Application Data\Sun\Java\Deployment
    but it will NOT work by adding it to the:
    C:\WINDOWS\Sun\Java\Deployment
    directory. It just creates a new default one in the user's folder.
    What am I doing wrong?
    If there is not a way to globally set the System Cache location, then this isn't much better than the user cache for being able to "install" the software once on the PC and let any user that signs in access that application.
    We had high hopes for this, since this functionality was taken away from us once the java cache started being stored in the user's folders.
    More details:
    I just tried setting the mandatory=true setting and it tells me that it is not allowed to start because it can't find the
    deployment.properties in the same folder (full path is displayed) but I know it is there, because it is the same folder. I even double checked the spelling.
    Maybe there is a bug in the way it finds that properties file, or maybe I need to include something in that file that I didn't find in documentation?
    All it has in it is the one line:
    deployment.system.cachedir=C\:\\testcache
    Can anybody help shed light on this?
    It seems to be a bug that it can't find the deployment.properties file in the 'system' folder.
    -Chris

    I now found more on another thread:
    http://forum.java.sun.com/thread.jspa?messageID=3500778&#3500778
    You can close this one.
    Sorry.

  • How to configure the system cache

    I found that JS2E has this enhancement:
    System Cache: Java Web Start now contains both system and user caches. The system administrator can now pre-load applications and shared libraries into the system cache so that multiple users can share the same resources.
    Now how exactly do I pre-load applications?

    Clearly the documentation of these two subjects needs to be addressed. I will try to get a compete "How to" document posted later in the month, meanwhile:
    1.0)Enterprise Configuration Setup
    To configure a system or enterprise configuration, you need to create a file called �deployment.config� and put it in the right place. Java Plug-in and Java Web Start will look for this file first in the directory it calls �deployment system home� , and if not found there, will look in lib directory of the JRE you are running Plug-in or Web Start from. The �deployment.system.home� directory is platform dependent. On unix, it is �/etc/.java/deployment�. On Windows it is <windows dir>/Sun/Java/Deployment.
    If the file is in deployment.system.home, it will be used by all jres (only valid from 5.0 and up). If the file is not there, but in the lib directory of the jre, it will only be used when that Plugin-in or Web Start are launched from that jre.
    The file contains is a java properties file, with only two possible properties in it: deployment.system.config, and deployment.system.config.mandatory. Here are two example deployment.config files:
    deployment.system.config=http\://MyCompany.com/deployFiles/deployment.properties
    deployment.system.config.mandatory=true
    deployment.system.config=file\:/C\:/Program Files/java/jre1.5.0/lib/deployment.properties
    deployment.system.config.mandatory=false
    Note in both examples, the colon in a properties file must be escaped. This also applies to backslashes themselves in the examples below. This is a common problem.
    The first example could be deployed by the admin in deployment.system.home, to require all jres used on this system to load the default and locked properties from the url before launching any Java Plug-in applet or Java Web Start application.
    The second example could be deployed with the jre, with both deployment.config and deployment.properties
    The deployment.properties file pointed to, can contain any of the properties that can be contained in the users deployment.property file (see list on http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html). They can also lock properties by listing the property key with �.locked� appended to it. Here is an example system deployment.properties file:
    deployment.user.cachedir=D\:\\deployment\\cache
    deployment.security.sandbox.awtwarning=false
    deployment.security.askgrantdialog.notinca=false
    deployment.security.askgrantdialog.notinca.locked
    The first two properties are not locked. The use can change to use a different cache location, or turn back on the AWT Warning banner. The last property is locked. The user is not allowed to grant trust to applications who's jars are selfsigned (or signed with any root not in the rootCA certificate store, nor is he allowed to change this setting. The entry in the control panel for this property will be disabled, and any change made to the users deployment.properties file for this property will be ignored.
    Now for system cache:
    The system cache property is:"deployment.system.cache.dir". It can be set in either an enterprise or users deployment.properties file with:
    deployment.user.cachedir=D\:\\deployment\\system\\cache
    /Andy

  • Identify USAGE TYPE that has been installed in the system

    Hi All,
    I have a newly upgraded BI system. I need to check what are all the USAGE types that has been installed in the system. How to verify the same (without asking the basis person). Is there any system parameter or transaction which would give the usage type installed.
    Points would be assigned for useful answers.
    Thanks,
    Vidhya.A

    Hi Vidhya,
    In BI the designtime and runtime of webtemplates use BI-JAVA usuage type.similarly for Formatted reporting too it uses BI-JAVA.see if you can successfully create a new webtemplate and can execute it,if you can then they had deployed dual stack in ur system.u can also check in Tcode SICF to see if web services are on.let me know if that helps
    Regards
    Chandru

  • HT4623 I'm trying to upgrade an ipad and in the system under general there is no software update.  What do I do?

    I'm trying to upgrade an ipad and in the system under general there is no software update.  What do I do?

    The Settings > General > Software Update option only appears when you have iOS 5+ installed, if you have iOS 4 then you will need to do the update via your computer's iTunes.
    Connect the iPad to your computer's iTunes and copy any purchases off the iPad to your computer via File > Transfer Purchases. You may also want to copy photos and any important documents off the iPad as well e.g. via the file sharing section at the bottom of the device's apps tab when connected to iTunes, via wifi, email, dropbox etc - they should be included in the backup, but it's best to have a copy of them outside of the backup just in case. You can then force a backup of the iPad by right-clicking the iPad 'Device' on the left-hand side of iTunes and selecting 'Backup'.
    Then start the update by selecting the iPad on the left-hand side of iTunes, and on the Summary tab on the right-hand side clicking the Check For Updates button
    Updating to iOS 5+ : http://support.apple.com/kb/HT4972
    With iOS 6 you will lose the built-in YouTube app and the Maps app will change

  • HT5639 When I start up in Boot Camp it says that updates weren't properly installed and the system is reloading.  It then automatically restarts in Mountain Lion. What is wrong?

    When I start up in Boot Camp it says that updates weren't properly installed and the system is reloading.  It then automatically restarts in Mountain Lion. What is wrong?
    I am currently using Windows 8 and also have Microsoft office installed but those are the only thing on my partitioned space.  I don't know if I installed 32 or 64 version of Windows 8.  Could that be the problem?

    Can you deal with XP not being supported by Apple and Microsoft? no security etc?
    Can you use Windows in a VM instead of natively?
    All the drives other than the one with XP will need to be pulled.
    Always have backups of your system, clone that you can boot from.
    Boot Camp 3.0 was the last supported. You don't need OEM 10.4.6 DVD and your system with EFI and SMC updates (Aug/Sept 2007) may not like it.
    32-bit version of Windows on EFI-32 will only get 1.9GB RAM.
    Installing 64-bit Windows 7 is a bit harder. Vista pre-SP1 64-bit was the best match for install on my 1,1 and that was 2006-2007.
    The new owner needs to deal with this, not you. And really they are better off with a $400 PC instead. Or use a VM.
    the owner should put in a new SSD for the system and $44 buys 4 x 2GB RAM. Together it will run just fine. 500GB SSD now $250 / $135 250GB. Biggest issue is a video card on these.
    The grey screen - you upgraded the graphic card perhaps.
    Unplug everything. Hit power for 5-10 seconds. Reconnect cables for mouse/kb and power, and monitor. You just reset SMC. Yes there is a small button - pull drive #4 and any controller in top slot #4 to see the SMC motherboard reset button but you don't need to.
    Any PCIe cards can also play a role and factor into XP or Windows not working.

  • UAE Localization is installed in the system or not

    Hi,
    Version is : 11.5.9
    db : 9i
    how to check UAT Localization (HRMS) is installed in thes system or not??

    Hi,
    you want to know UAE localization(HRMS) patch have been installed or not ?if yes then then execute below query.
    SELECT DECODE(legislation_code
    ,null,'Global'
    ,legislation_code) "LEGISLATION CODE"
    , DECODE(application_short_name
    , 'PER', 'Human Resources'
    , 'PAY', 'Payroll'
    , application_short_name) "APPLICATION NAME"
    , to_char(LAST_UPDATE_DATE, 'MM-DD-YYYY HH24:MI:SS') "DATE APPLIED"
    FROM hr_legislation_installations
    WHERE status = 'I'
    ORDER BY legislation_code
    regards

  • HT1338 Hi everybody..i have an enigmatic problem since i bought MacBook Air..i can't watch youtube videos and i did install the latest adobe flash player BUT when i start to install it the system keeps asking me to enter a password ? which password i need

    Hi everybody..i have an enigmatic problem since i bought MacBook Air..i can't watch youtube videos and i did install the latest adobe flash player BUT when i start to install it the system keeps asking me to enter a password ? which password i need ??????

    Your admin account password.

  • The expected version of the product not installed on the system when i try ti install dec 2013 cu in sharepoint 2010

    HI
    in my sharepoint farm  has 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Arabic العربية
    Microsoft SharePoint Server 2010 
    installed
    is any service pack 2 there for language packs for arabic as i installed service pack 2 sharepoint 2010
    sucessfully
    and after i go to apply dec 2013 CU it is not installed
    it thrown a messege   the expected version of the product not installed on the system
    dec 2013 cu in sharepoint 2010
    current sharepoint farm has below 
    adil

    Hi,please find the below URL that exactly talking about the issue.
    http://expertsharepoint.blogspot.de/2013/10/the-excepted-version-of-product-was-not.html
    Find the detailed installation of  of CUs in Post categories on blog
    Anil Avula[MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • The Problem about clearing the system cache

    Hi, there!
    I'm trying to draw a lot of image in iPhone programming.
    I used [UIImage imageNamed].
    but it doesn't clear immediately the system cache.
    At last it occurs the out of memory.
    So I thought using imageWithContentsOfFile, but it works very slowly.
    Does anybody know how to clear the system cache?

    Read Position.flx can execute much faster than 5 ms but as it reads a register that is updated every 5 ms on the board, it reads the same value multiple times.
    To get around this problem there are two methods:
    Buffered High-Speed-Capturing (HSC)
    With buffered HSC the board stores a position value in it's onboard buffer each time a trigger occurrs on the axis' trigger input. HSC allows a trigger rate of about 2 kHz. That means, you can store a position value every 500 µs. Please refer to the HSC examples. You may have to look into the buffered breakpoint examples to learn how to use a buffer, as there doesn't seem to be a buffered HSC example available. Please note that you need an external trigger-signal (e. g. from a counter of a DAQ board). Please note that the amount of position data that you can acquire in a single shot is limited to about 16.000 values.
    Buffered position measurement with additional plugin-board
    If you don't have a device that allows you to generate a repetitive trigger signal as required in method 1.), you will have to use an additional board, e. g. a PCI-6601. This board provides four counter/timers. You could either use this board to generate the trigger signal or you could use it to do the position capturing itself. A PCI-6601 (or an M-Series board) provides can run a buffered position acquisition with a rate of several hundred kHz and with virtually no limitation to the amount of data to be stored. You could even route the encoder signals from your 7350 to the PCI-6601 by using an internal RTSI cable (no external wiring required).
    I hope this helps,
    Jochen Klier
    National Instruments

  • Since upgrading to Yosemite my macbook pro keeps going to sleep if I am not using it. I want it to stay on as I leave it doing things overnight etc. It was fine before the upgrade and I have all the system preference set to "never turn off"

    Since upgrading to Yosemite my macbook pro keeps going to sleep if I am not using it. I want it to stay on as I leave it doing things overnight (cd's  / recording etc. It was fine before the upgrade and I have all the system preference set to "never turn off" - Help !!!

    Good advice from Linc Davis that should sort out your query i think...
    However you dont want to set your MBP to never go to sleep...
    Adjust reasonable sleep settings...
    And the download an APP called caffiene...
    When you click it you can have your MBP never go to sleep with a single click of your menu bar... and with another click it can go to sleep normally to maintain the laptop...
    Simply click the cup... To toggle never sleep/sleep

  • Contract Accounts Receivable and Payable is not installed in the system

    Hi ,
    while i am executing EC sales list report i am getting the error as "Contract Accounts Receivable and Payable is not installed in the system".
    could you please explain me what is contract accounts receivable and payable means and how to install it in the system.
    Thank you.
    Best regards,
    Rajeswari

    Typically this is installed with an Industry Solution, such as Utilities or Schools, were you have thousands of customers/accounts. 
    Most places probably just use the standard AP/AR functionality.
    Thanks,
    Tammy

  • I ERASEd WINDOWS. I want to re-install it and before, i'd'like to re-install all the system (10.6.7). But that seems to be impossible. When i try to turn on with the softare and pushing "c", blind screen. When i turn on it normaly, nothing happened. pls,

    I ERASEd WINDOWS. I want to re-install it and before, i'd'like to re-install all the system (10.6.7). But that seems to be impossible. When i try to turn on with the softare and pushing "c", blind screen. When i turn on it normaly, and put the disc after, the process begins and stops 5 minutes after. The computer turns off. Has someone an idea to help me ? Thanks by advance.
    Zach

    Thank you for your answer.
    And...Yes, i did : i inserted the install disc and started up holding the C key. Many time. But each time, the logo of install disc appeared during ten minutes and then, during the installation, he disappeared suddenly with no reason. And in  the same time the computer turn off.
    The beginning of the storry : my son made long time ago (a year) the partition between Mac and Windows. Everything was fine.
    Recently, He decided to give more memory space to windows.
    He could do that directly (perhaps, was there a way but he did'nt know it)
    For this reason, he decided to desinstall Windows in a first step before reinstalling it.
    But before doing this, he decided to re install all the system, like for cleaning his computer...and then, since, it's a big mess.
    You know everythin now.
    Could you help us ?
    Thanks by advance.

  • How can I check the notes installed in the system?

    Hi Experts!
    I need to check if the note 749967 are installed in the system. How can I check that? I have this support pakage: (SAPKH50011) .
    If I don't find it in the snote transaction that means that the note are not installed? Or not exactly?
    Thanks for the help!

    Hi Carlos,
    You can check implemented notes inside transaction SNOTE in the menu:
    Go to->SAP Note Browser
    or run transaction:
    SCWN_NOTE_BROWSER
    Regards,
    Wojciech

Maybe you are looking for