Webstart shortcut and cache location

Hello All,
I need to install an application on a terminal server for multiple users. The problem is that each user has their own shortcut and cache (jars, ind files, etc) for the application using webstart. Is there a way to install it once so that all users can use it at the same time without creating profile specific cache?
I used an adminsitrator login id to install an application via webstart. The shortcut was put in "C:\Documents and Settings\Administrator\Desktop". I copied the shortcut to "C:\Documents and Settings\All Users\Desktop". Using another id I was able to start the application using the shortcut but the cache was put into that user's profile ie a separate cache was created. Is there a way to prevent this? Is there some better way to set this up?
Your comments & suggestions will be much appreciated.

We went through this discussion quite a bit, but did not come up with a solid solution. Really, the only way to manage this that I've seen is to use a common directory that you can control across all environments to store libraries. Unfortunately for my client this was not an option, as we could not ensure that all users had access to the path. If anyone has some other options, I'd be interested to hear them.

Similar Messages

  • Accessing and Moving files in the Cached Location

    I am having trouble accessing jar files in the cached location where WebStart puts files after an install.
    I cannot do the following:
    1. Start a separate process within the main process using a jar file brought over by WebStart.
    See the jnlp file below, the jar file I want to run as a separate process is second.jar.
    2. Move a jar file from the cached location to some other location on disk.
    All of this is attempted on my own machine with Admin rights.
    Here is the jnlp file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
    codebase="http://server/test/"
    href="test.jnlp">
    <information>
    <title>Test App</title>
    <vendor>None</vendor>
    <homepage href="home.html"/>
    <description>Install the Client Application</description>
    <description kind="short">This is a description, kind = \"short\"</description>
    <description kind="tooltip">This is a description, kind = \"tooltip\"</description>
    <icon href="img/chart.gif"/>
    </information>
    <security><all-permissions/></security>
    <resources>
    <j2se version="1.4+"/>
    <jar href="main.jar" main="true"/>
    <jar href="second.jar"/>
    </resources>
    <application-desc main-class="MainApp"/>
    </jnlp>

    I'm having a few problems following your suggestion. We have main.jar and second.jar. In your solution you say to access some file in the jar, for me this is second.jar. I added a file called chart.gif to second.jar.
    The following code is inside main.jar to access chart.gif inside second.jar:
    URL url = getClass().getClassLoader().getResource("images/chart.gif");
    I verified that images/chart.gif is bundled inside second.jar by doing a "jar tf second.jar".
    The problem is when I re-load the updated jar files, and run the client app, the URL is null.
    I think your idea is to access any file in the other jar file to get at the url, and finally to get at the path
    of the jar file and execute it inside main.jar.
    So I am not able to access a resource that is in second.jar from main.jar.

  • Bridge encountered a problem and is unable to read the cache. Please try specifying a new cache location in Cache Preferences to correct the situation.

    Bridge encountered a problem and is unable to read the cache. Please try specifying a new cache location in Cache Preferences to correct the situation.
    I have do this again and again and again but Bridge ask me to this each time a start up ??

    Maria,
    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.

  • Media and Disk Cache Location, which folder should I choose?

    I started watching the Adobe Intro tutorials on After affects and the instructor says that I should specify a Media and Disk Cache Location, but does not explain which one I should choose. Does anyone with experience have suggestions for the best option?
    -Kristen Soble

    thought I would provide you with my Mac's Specs:

  • Accidentally changed cache location and the app crashes and never opens

    I recently changed the cache location to an external usb and whenever I try to open the app t crashes and gives me an error pop up. I cant change the cache location back to default since I can never open the app, feels like a catch22 situation. A simple reinstallation didn't seem to work. Any suggestions?

    Hello: Wait you changed the cache location folder for the spotify desktop spotify app, or changed the location for a system wide cache location? If you did a system wide cache move your probable going to run into all kinds of isssues. Would not it be a smart idea to plug in the USB device that was used in the change of cache location, and then try to launch spotify and see if it loads correct and finds the hacked moved new cache location? What about trying to retrace your steps in how you changed the default cache location, and just reverse the process to move the cache location back to it's default location, using the terminal system folder linking process, and then try to see if spotify will launch properly? I mean your on a Mac is your HD that small? I thought that was one of Apples selling points, larger memory run abilities, and larger HD space for their systems? Does not Mac have something called Time Machine, have your tried that route to fix the lost Cache location folder? 

  • Can I make firefox defualt for some web shortcuts and IE for others?

    I need to make firefox defualt for some web shortcuts and IE for others.

    # Type ''about:config'' into the location bar and press enter
    # Accept the warning message, this brigs up a list of preferences
    # In the filter box type ''check''
    # Double-click on the preference browser.cache.check_doc_frequency and change its value to 1
    For more details on this preference see http://kb.mozillazine.org/Browser.cache.check_doc_frequency

  • Jnlp fies and caching

    I am a newbie to jnlp files and the related infrastructure. I have a question about jnlp files and caching. My scenario is the following, i have 2 machines with the same jnlp file names, the data inside of them is different. So when I connect to machine1, the data corresponds to the correct machine. When I connect to machine2, I still get the version for machine1. Where is this data cached? and how do i force a "refresh" or a new download of the jnlp file?
    TIA,
    Reza

    The identity of a jnlp app is the complete href (including codebase) of the jnlp file (if there is one, or the complete href of the main jar if there is no href to the jnlp file.)
    Because of this, regardless of the "title" of the application, two instances of the same application hosted on differant hosts (or in differant locations of the same host) are treated as two differant applications.
    (RFE's exist to be able to provide a unique id to all resources, including jnlp file references, so the application or it's resources can be mirrored or moved from location to location)
    On the other hand, shortcuts are created based on their "title" element, so switching to the same named application on a differant location should replace the shortcut with thte one based on that jnlp file.
    From your question, it's a litle unclear what you are doing. When you "connect to machine2", exactly what are you doing ? , and waht version of javaws are you using ?
    /Andy

  • CS3 standardizing keyboard shortcuts and other prefs ??

    Hello. I have 30+ computers that are running Indesign CS3. Instead of going around to each one and setting all keyboard shortcuts and things like default stroke weight and also prefs. like, Edit > Preferences > Advanced Type and the Small cap setting as well as others. I would like them all to start with my sites default prefs.
    Where are these prefs stored. I know the keyboard shortcuts are in the Indesign Shortcut Sets folder, where are all the Edit > Preferences things stored?
    If I set one to the way I want it and than copy these files to all computers will this fix my problem?
    What are the files, how should I accomplish this?
    thanks

    Preferences for CS3 are saved in two files in the user profile. The first is InDesign Defaults, under \Documents and Settings\[username]\Application Data\Adobe\InDesign\Version 5.0 and the second is InDesign Saved Data under \Documents and Settings\[username]\Local Settings\Application Data\Adobe\InDesign\Version 5.0\Caches (these are the XP locations. paths are slightly different for Vista) These are hidden files.
    The documentation says that it is not recommended to copy these files from one machine to another, and that it is recommended that you script it instead, but I've only found one user who's been able to do that, and since the script was written for a major client he hasn't been willing or able to share it with the world. I've been copying and pasting these files onto multiple machines at my school for years without any trouble, but, if there are differences in configuration from machine to machine you could cause some instabilities. Set a restore point and try it.
    Unless you have a system freeze program in place, however, this is largely an exercise in futility. Preferences, as noted, are user-specific and changeable, and get written each time the application closes. The best you'll get is a common starting point.
    Peter

  • Multiple jre versions using same cache location

    Hi,
    i searched the web but couldnt find an answer.
    I have a Terminal Server deployment with various installed jre Versions (1.6x and 1.7x) on the same Server as well as on different Server Silo Setups.
    But for all Servers i configured the Cache Location to H:\Java-Cache (Homefolder of the user) in the deployment.properties file.
    1. are there any Problems to expect when using the same Cache Folder for many different jre Versions (jre 6/7/8) ? Any knows issues about that ?
    2. is it supported to share the same cache Location (for example D:\java-cache) for many users ? i cannot find ony official KB or Oracle Note about this.
    There are a few Blog Article out there which describe to configure the Cache Location on a terminal Server to a local location like D:\java-cache shared by
    many users. Does it depent on the Java webstart application if tha works well ?
    Thanks a lot,
    Marcus

    Hi Tyler,
    In my opinion, you could go ahead with first option - have multiple JRE's and maintain the environment variables accordingly.
    This should not be a problem as the envrionment variable would take care of which JRE is used. Also as you have only another ABAP system on the same server, the other older JRE would only be required during the SAPInst operations. Non-existence of a Java system makes things simpler here
    Regards,
    Srikishan

  • The website for my bank (BofA) tells me 'Your Online ID and/or Location is Missing, Try Again - when I try to sign in.

    Hello,
    I updated Firefox (now the icon is Firefox logo and 45r on my desktop). About the same time, I updated some Add-Ons, as suggested on Firefox website.
    Now - when I try to log-in with bank website, I type in my user name - and I get the message 'Your online ID and/or location is missing, Please try again.' Initially I thought that it was the bank web-page - but this has been going on for daaays now, so I suspect it is some setting....
    ALSO - I started getting re-routed to a strange web-page (this happens randomly), when changing, going to a link on various web sites. oops. The strange website is 'Net Assistant' and it seems to want to help search, I always back out (frequently this takes a few attempts).
    I cleaned the cache, got rid of cookies and mopped the floor- (just kidding on that), and I'm not sure what else to do! eek.
    I do not have a specific time - or event to relate these two problems ''to'', but I suspect it is either Firefox 4 (45r?) or one of the suggested add-on updates that I did.
    Actually, there is a 3rd, probably related problem: My homepage is NPR (http://www.npr.org/) and whenever I click on Firefox (45r) icon, NPR page loads, but I get a message across the top - under address bar, that says 'Firefox prevented this page from automatically redirecting to another page.'
    Not sure what's-up with that either.
    p.s. The BofA page has the green 'safe' sign on the address bar.
    What a confusing mess. Help!
    I need to get online with the bank, so I can pay my bills on time!

    Glad you seem to have sorted things out.
    The warning about the warranty is light hearted, I think at one stage it warned "here be dragons" but also intended to make us think as it warns that making changes may produce problems.

  • 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.

  • Invalid Cach Location Error

    We have a single user that is experiencing an error when attempting to open Project Pro 2010 with the default PROD connection to Project Server 2010.  The error is an invalid cache location.  I have seen another unanswered post regarding this issue
    and wanted to try a new post to see if any help is available.
    Thank you -
    lbr

    Hi LBR21,
    Check in the file/options/save menu that the cache location is something like :
    C:\Users\userid\AppData\Roaming\Microsoft\MS Project\14\Cache 
    Then try
    this procedure to repair the cache.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Bridge CS6 cache location

    My Master Collection CS6 was installed as administrator under Win 7 x64 Pro .
    In CS5 I placed the cache on a non-boot drive.
    In CS6, the only cache location options available to me from within Preferences are within my User folder on the boot drive.  I am running as admininstrator, and have tried explicitly running as administrator to no effect.
    How can I get the CS6 cache onto the drive of my choice?

    Note the current folder and the full path to the folder you want to use for the cache.
    Run regedit.
    Search for Bridge CS6.
    Look down the associated keys and locate the folder noted above. Only one place needs changing.
    Edit the folder name to read the new location.
    Re-start Bridge and check the preferences show the new folder.
    Delete the old cache folder (mine was 40+ gigabytes).
    Leave Bridge running until it has finished regenerating the cache in the new location.
    It might have been quicker to copy/move the old cache to the new location before re-starting Bridge after the location change, but I wasn't sure it would work correctly and was pleased to have a fresh, clean cache.

  • Unable to change Bridge CS5.5 Cache location to other than c:\user\

    For some reason, I am unable to change the Cache location of Bridge CS5.5 outside of my c:\user\ folder. Other drives in the system are not seen by Bridge. This was not the case before. I used to have it in a different dedicated drive. I reset the preferences, deleted the cache but still they do not help. Please help, as my C: Drive is a SSD with limited space and contains OS only! There is no problem with PS or PR, only Bridge.

    If it worked before what did you change?
    I know there are some problems in Bridge with users relocating temp file to so place other than C drive.  Known bug.
    Here is a link with similar situation.  http://forums.adobe.com/thread/760369

  • Bridge CS5 Cache Location

    What are the advantages and disadvantages of centralized vs. "exported to folders" cache locations in Bridge CS5?
    I see in the help section it says something about sharing images across computers.
    Other than that, what are the effective differences?
    Thanks,
    Drew

    Have never seen a document laying out exactly how cache works, but this is my understanding.
    Central cache is the main cache, and when you select purge this is the one that gets purged.
    I use central cache as I believe that if you get a contaminated file you will have to manually delete the cache in all the folders, as purging only affects central cache.  Using central cache may cost time, expecially on folders I rarely use, as the cache may have been deleted and replaced by cache from recently visited folders.  But this depends on how many files you have and where you have the slider set for storage.
    Some have reported that haveing distributed cache speeds up loading time for folders.  Distributed cache is an additional cache put on the various folders.   It is useful if you want to send photos to another drive as all the  info is there (XMP files).  Otherwise you have to choose build and  export cache.
    Hope this helps.

Maybe you are looking for

  • Need to find the memory address of a buffer or string

    Two basic questions: -How does LabVIEW treat the concept of a "buffer"?  Isn't it just a string wired from one block to another? -How can I find the address of a memory location or buffer location? I am using the Call Shared Library Node to call two

  • 17" MacBook Pro; Slow/Intrmnt Internet

    Hey guys. I've done some searching on the internet and so far all I've come up with are discussions relating to this topic when upgrading from a previous apple OS to the current OS but not when it's happening on a brand new computer pre-installed wit

  • FP11 on PartedMagic x64 does not load properly

    Had a need to run flash player on a drive recovery tool. Downloaded the latest x86_64 tar.gz, followed instructions and got this gem: LoadPlugin: failed to initialize shared library /root/.mozilla/plugins/libflashplayer.so [/root/.mozilla/plugins/lib

  • End of file error - avi exported from PPRO

    Encore 1.5 PPro 1.5 I have a project with 16 avi files exported from PPro. Four of them caused the error. I re-exported them and one was fixed. The other three keep causing the error. I am starting to get a little crazy trying to figure out what is g

  • IPhone 5 in Dubai loses network connection

    In Dubai all most all users facing Sum time no have network In phone can see carrier active but no incoming and outgoing If call somebody that time "" user out of network "