Java 1.5.0_13 Cached HST files in %USERPROFILE%\AppData\LocalLow\Sun\Java\Deployment\host

We're using Java 1.5.0_13 required for use of Oracle EBS.  After a recent failover test of Oracle EBS, users were not able to connect back to production after the DR testing was complete.
I discovered when launching a form, Java was creating a file in %USERPROFILE%\AppData\LocalLow\Sun\Java\Deployment\host named 376bdaf3.hst.  Within this file is the IP address of our load balancer. 
I believe this to be the cause of the connectivity issue.  Those uninvolved with the DR testing were not affected.   
I could find any documentation on these files much less how to disable them.  Clearing Java cache doesn't seem to affect this file.  The only way I could prevent its creation is make the host directory read-only, which didn't cause any apparent problems.
Has anyone faced this problem before?  Is there something we can do to disable this?

Hi Andrew
Apologies for creating the same thread in a number of different forums. My intention was to grab the attention from as many forum users as possible.
Coming back to your solution, prior to your message, I didn't know anyting about Java Web Start. Having read your solution, I went back to Oracle's forum where the Forum's one of moderators Jan Carlin has blogged about the working of Oracle Forms with Java Web Start. [http://groundside.com/blog/JanCarlin.php|Forms and Java Web Start]
Having gone through the features of JWS, JWS sounds promising. But Oracle has not come out with white paper on JWS yet nor has it certified it officially yet. Hence at this stage I would not like to go with JWS. But I would certainly keep your solution in my mind whenever we decide to go for JWS.
Many thanks for taking your time out to reply to my query.
Cheers
Mayur

Similar Messages

  • Is there a way to clean the javascript cache of files in layouts folder?

    Is there a way to clean the javascript cache of files in layouts folder?
    If I deploy a new version of the solution after some changes in javascript file which is deployed to the layouts folder the old version is used. The only fix I have found so far is to change the URL of the javascript file with some fake querystring like
    "?v=2". But this requires another deployment. So I am asking for an alternative approach.

    hi Nikolay,
    there is no clean solution for your problem. Browsers cache files by url, you can avoid caching appending in query string unique value per deployment. For example
    _layouts/my_js_file.js?v=<current date> - will be refreshed from cache when day changes
    _layouts/my_js_file.js?v=<GUID> - if guid is generated on every request, this file should never cache
    _layouts/my_js_file.js?v=<product version> - more preferable solution, browser will update cache on every new version that was deployed
    Actually, ScriptLink should take care about this, internally it has a method that appends unique id into query string based on js file content, if content changed, hash is also changed and new unique id is generated.
    Check Below link for more information
    http://sharepoint.stackexchange.com/questions/57874/how-to-avoid-caching-issue-when-using-custom-javascript-and-css-deployed-under
    You can also check this link
    http://www.sharepointnutsandbolts.com/2011/11/avoiding-bugs-from-cached-javascript.html
    Please mark the Answer and Vote if it will help to resolved your issue

  • Bridge Unable to Cache Ai Files

    I have hit a problem with Bridge CC (6.0.1.6) freezing when I selected a folder containing both Illustrator CC (17.1.0) .ai and exported .png files.  Bridge would report that it was 'Building Criteria' and the spinning circle would be active in the bottom left corner.  It would sit like this for hours despite the folder only containing a dozen files. The only why to recover the situtation in to force quit Bridge; the Force Quit dialog DID NOT report that Bridge was not responding.
    I have this morning used Finder to separate the .ai and .png into separate folders.  After this Bridge was able to access and cache both folders without problem or delay.

    Well, i faced this error "unable to cache" once before and the reason was that jar files which need to be cached at client side had not timestamp assigned to them on my linux system where application server was installed, the reason which i came to know was that i coppied them from a windows system. To resolve this problem at that time, i coppied them on my linux server and then pasted again there and this time my linux server generated TIMESTAMP for my those files and it started working fine.
    This time i really didnt know what happend but now i am gona tell you a strange story. If i use http://rg:1810 (in firefox browser) i can see admin page of my application server control and if i use http://rg.lhr.systemsltd.com:1810, it displays error "Time out ouucred......" (This kind of error).
    But inter explorer doesn't report any error and works fine.
    now in my error message you can see that first APPLET goes to "http://rg.lhr.systemsltd.com:7779/forms90/java/webutil.jar" to cache the file and as this is using a fully qualified name of my server so it is unable to find that server as MOZILA did and returned connection time out type of error message.
    Now i changed the server name and then did a fresh installation and it started working fine. It means there is some problem with my DNS which is causing application applet could not find files if fully qualified name of server is used.
    regards

  • Opening a file (hst), executes the main jar file to open the hst file HELP

    Greetings,
    I have created a file with an extension *.hst, so in my Win XP computer, when I double click a .hst file, it should be opened in my program, which is a jar file, so during the installation I associate my program to this .hst file extension.
    After all this, when I double click this .hst file, it shows an error message that the jar file is not a vaid win32 application. I donot wish to convert my file to an .exe. Help ?
    Cheers,
    Raj

    How did you specify command line for your .hst file?
    It should be something like "java -classpath
    [youfile.jar] [youclass] %1"I have not specified command line for the .hst file.
    The .hst file is just a file that is created when my main program (jar file) saves its files., later If I double click this saved hst file, it should be opened in the main jar program.
    For the double click to work, I have created a constructor
    public hst(String hstfile)
       //code to set the file contents in the window.
    }the problem is that when I double click it says that the main jar file is not a valid win32 application, so what do I do ?
    Cheers,
    Raj

  • My MacBook Pro won't load any websites on Safari (except this site, Facebook and Google), Opera, or Mozilla Firefox. I already did the "Reset Safari", restarted the computer half a dozen times, and I can't find this alleged "caches.db" file to delete.

    My MacBook Pro won't load any websites on Safari (except this site, Facebook and Google). Opera and Mozilla Firefox won't load any sites whatsoever. I already did the "Reset Safari" several times, restarted the computer half a dozen times, and I can't find this alleged "caches.db" file to delete. I virus scanned the computer with Sophos, Avast, and iAntiVirus and it looks clean.

    Is iAntiVirus the best virus protection to use for a MacBook?
    The best anti-virus protection is your own common sense, and what you already bought and paid for with your Mac. Third party products such as "iAntiVirus" convey no additional benefit, and as you already determined are very capable of causing trouble.
    OS X already includes everything it needs to protect itself from viruses and malware. Keep it that way with software updates from Apple.
    A much better question is "how should I protect my Mac":
    Never install any product that claims to "speed up", "clean up", "optimize", or "accelerate" your Mac. Without exception, they will do the opposite.
    Never install pirated or "cracked" software, software obtained from dubious websites, or other questionable sources. Illegally obtained software is almost certain to contain malware.
    Don’t supply your password in response to a popup window requesting it, unless you know what it is and the reason your credentials are required.
    Don’t open email attachments from email addresses that you do not recognize, or click links contained in an email:
    Most of these are scams that direct you to fraudulent sites that attempt to convince you to disclose personal information.
    Such "phishing" attempts are the 21st century equivalent of a social exploit that has existed since the dawn of civilization. Don’t fall for it.
    Apple will never ask you to reveal personal information in an email. If you receive an unexpected email from Apple saying your account will be closed unless you take immediate action, just ignore it. If your iTunes or App Store account becomes disabled for valid reasons, you will know when you try to buy something or log in to this support site, and are unable to.
    Don’t install browser extensions unless you understand their purpose. Go to the Safari menu > Preferences > Extensions. If you see any extensions that you do not recognize or understand, simply click the Uninstall button and they will be gone.
    Don’t install Java unless you are certain that you need it:
    Java, a non-Apple product, is a potential vector for malware. If you are required to use Java, be mindful of that possibility.
    Java can be disabled in System Preferences.
    Despite its name JavaScript is unrelated to Java. No malware can infect your Mac through JavaScript. It’s OK to leave it enabled.
    Block browser popups: Safari menu > Preferences > Security > and check "Block popup windows":
    Popup windows are useful and required for some websites, but popups have devolved to become a common means to deliver targeted advertising that you probably do not want.
    Popups themselves cannot infect your Mac, but many contain resource-hungry code that will slow down Internet browsing.
    If you ever see a popup indicating it detected registry errors, that your Mac is infected with some ick, or that you won some prize, it is 100% fraudulent. Ignore it.
    Ignore hyperventilating popular media outlets that thrive by promoting fear and discord with entertainment products arrogantly presented as "news". Learn what real threats actually exist and how to arm yourself against them:
    The most serious threat to your data security is phishing. To date, most of these attempts have been pathetic and are easily recognized, but that is likely to change in the future as criminals become more clever.
    OS X viruses do not exist, but intentionally malicious or poorly written code, created by either nefarious or inept individuals, is nothing new.
    Never install something without first knowing what it is, what it does, how it works, and how to get rid of it when you don’t want it any more.
    If you elect to use "anti-virus" software, familiarize yourself with its limitations and potential to cause adverse effects, and apply the principle immediately preceding this one.
    Most such utilities will only slow down and destabilize your Mac while they look for viruses that do not exist, conveying no benefit whatsoever - other than to make you "feel good" about security, when you should actually be exercising sound judgment, derived from accurate knowledge, based on verifiable facts.
    Do install updates from Apple as they become available. No one knows more about Macs and how to protect them than the company that builds them.
    Summary: Use common sense and caution when you use your Mac, just like you would in any social context. There is no product, utility, or magic talisman that can protect you from all the evils of mankind.

  • How to start a cache config file with proxy-scheme

    Hi all,
    The below is my cache-config file taken from coherence extend example.
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>dist-default</scheme-name>
    </cache-mapping>
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>example-remote</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>dist-default</scheme-name>
    <lease-granularity>member</lease-granularity>
    <backing-map-scheme>
    <local-scheme/>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    <distributed-scheme>
    <scheme-name>example-remote</scheme-name>
    <lease-granularity>member</lease-granularity>
    <backing-map-scheme>
    <local-scheme/>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    <proxy-scheme>
    <service-name>ExtendTcpProxyService</service-name>
    <thread-count>5</thread-count>
    <acceptor-config>
    <tcp-acceptor>
    <local-address>
    <address>localhost</address>
    <port>9009</port>
    </local-address>
    </tcp-acceptor>
    </acceptor-config>
    <autostart>true</autostart>
    </proxy-scheme>
    </caching-schemes>
    </cache-config>
    In order to start the proxy cache server on localhost:9009 should i use the DefaultCacheServer program only/ I tried to use a SimpleCacheExplore program with the above config and it didnt start the proxy-scheme on localhost. is there anything i am missing?
    Regards
    S

    Hello,
    I ran the following with your cache configuration:
    java -cp coherence.jar -Dtangosol.coherence.cacheconfig=coherence-cache-config.xml com.tangosol.net.DefaultCacheServer...and got the following output:
    2010-01-04 10:23:54.363/5.477 Oracle Coherence GE 3.5.2/463p2 <Info> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): TcpAcceptor now listening for connections on 10.149.189.62:9009
    Services
      TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=10.149.189.62:8088}, Connections=[]}
      ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.5, OldestMemberId=1}
      InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
      DistributedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
      ProxyService{Name=ExtendTcpProxyService, State=(SERVICE_STARTED), Id=3, Version=3.2, OldestMemberId=1}
      )The proxy service appears to be running using DefaultCacheServer and this configuration. Does your output look any different?
    Thanks,
    Patrick

  • So what can I do to prevent webstart from caching my files?

    Hi
    I have installed java jre-7u7-windows-i586.exe on windows 7.
    and this pseudo code running within webstart:
    HttpURLConnection conn = (HttpURLConnection) resource.openConnection();
    File cached.......
    conn.setIfModifiedSince(cached.lastModified());
    conn.connect();
    int code = ((HttpURLConnection) conn).getResponseCode();
    Now my problem is that I always get 200 for the int code back.
    But it should be 304 (not modified)
    This happens because webstart is serving the file from ist cache as I can see in the following trace log entry
    network: Cache entry found [URL: https://server.com/wanted.jar, Version: null] prevalidated=false/0
    but this is not good for me....
    In the jsp serving the file I have a
    ((HttpServletResponse) response).setHeader("Cache-Control", "no-cache");
    So what can I do to prevent webstart from caching my files?
    Edited by: 962394 on 11.10.2012 10:11
    Edited by: 962394 on 11.10.2012 10:12

    i just found the solution
    Java 7 JWS URLConnection caching
    I need todo
    conn.setUseCaches(false);

  • Why has my Adobe PCD cache.db file size started growing suddenly

    I am running CS4 Design Premium on an iMac which had OS X 10.6.2 until the 29th and now has 10.6.3.
    On 19th March my Adobe PCD cache.db file size was just over 100Mb. Since then it has grown steadily until it is now over 19Gb in size.
    Can anyone explain to me why it should suddenly have started growing please? During this time I have really only run Acrobat Pro; however I have had a lot of browser (Safari and FF) hangs/crashes due to Flash plugin issues.
    I understand the cache.db also holds licence information so is it safe to delete this file? If so will I need to reenter my license information?
    Any help would be appreciated. Thanks
    Phill

    I have the same problem.
    My pcd.db file is now 56 GB
    What is going on !?!?!?
    Sikem

  • Can you please help to understand how the firefox decides on the Expires date for a cached javascript file ( my server did not set any Expire header, but firebox set it down).

    # Question
    Can you please help to understand how the firefox decides on the Expires date for a cached javascript file ( my server did not set any Expire header, but firebox set it down). I tried to understand but different javascript file gets different Expires date value when it is being cached. Please help me as I tried lot and could not get proper answer for this. Thanks in Advance.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • How do I retrieve cache.mov files so I can play them on quicktime?

    Hi, I've recently been deleting files to free up harddisk space and have come upon some cache.mov files. These are videos I regret deleting and have no backups of. When I get info on them if shows the video in the preview, but if I try to open it in Quicktime or VLC it won't play. Is it possible to save these files and get them to play on Quicktime?

    Please try the following program (Free iPod Video Converter freeware). I have converted several Windows Media files to the .mp4 format which iPod will play. And it's free. http://www.jodix.com/. Good Luck
      Windows XP  

  • How to clear cache, temporary files, cookies in Firefox five

    how do I go about clearing the cache, temporary files, and cookies in the new version of Firefox five. The tools and techniques in the old menu bar were developed over many years and are useful to some people some of the time. When you make major changes and take away useful tools he often cause frustration amongst your users.

    You can go to Tools -> Clear Recent History (or Ctrl+Shift+Del) and choose what you want to delete.
    Or you can take the long way through Tools -> Options -> Privacy and click on "clear your recent history"
    Hope this helps

  • Applet Plug-in and Caching GIF files

    In the Plug-in 1.4 release notes, it says that the Plug-in will cache GIF files and other non-JAR files. Are there instructions or documentation how to get the Plug-in to cache files other than JAR files? I couldn't find anything when perusing the 1.4 documentation.
    Thanks for any insight you can provide!

    The document you point to explains caching JAR files in 1.3. Can I also cahce GIF files the same way? Does the plug-in caching mechanism work with any file type? If I cache a GIF file, how to I reference that in my code so the Applet uses the cached version instead of the one on the server, or does it implicitly know this?
    Thanks for any insight.

  • Split cache config file support in 12.1.2?

    With 3.7.1 you could use the coherence-common library from incubator 11 to split cache config files.
    This was done with the introduce-cache-config XML element:
    <?xml version="1.0"?>
    <cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
    xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd"
    xmlns:element="class://com.oracle.coherence.environment.extensible.namespaces.XmlElementProcessingNamespaceContentHandler"
    element:introduce-cache-config="cache-config-1.xml, cache-config-2.xml, cache-config-3.xml">
    </cache-config>
    But this will not be available in incubator 12, the classes used for that will not be ported from incubator 11 (Coherence 3.7.x) to incubator 12 (Coherence 12.x):
    http://coherence.oracle.com/download/attachments/14188570/Incubator+Update.pdf?version=2&modificationDate=1353937318977
    How to achieve this with 12.1.2?

    Hi,
    It is still possible to do this as I did it with the 12.1.2 beta and a beta of Incubator 12 so unless either of those changed at the last minute you should be able to still import cache configuration files.
    The top of your XML needs to look something like this...
    <?xml version="1.0"?>
    <cache-config xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
                  xmlns:element="class://com.oracle.coherence.common.namespace.preprocessing.XmlPreprocessingNamespaceHandler"
                  element:introduce-cache-config="config/cluster.xml">
    where this file is importing the "config/cluster.xml" file.
    If you use custom name spaces in you configuration files then there is a bit more work to do as the XmlPreprocessingNamespaceHandler only knows how to merge the standard Coherence XML so you need to add extra code to you own namespace handlers. Specifically you need to implement...
    public void mergeConfiguration(ProcessingContext processingContext, String sFromURI, XmlElement element, XmlElement xmlIntoCacheConfig, QualifiedName originatedFrom)
    In the implementation you need to merge your custom XML (the element parameter) across to the main XML (the xmlIntoCacheConfig parameter). A very simple implementation of this would be...
    @Override
    public void mergeConfiguration(ProcessingContext processingContext, String sFromURI, XmlElement element, XmlElement xmlIntoCacheConfig, QualifiedName originatedFrom) {
        // clone the element to merge
        XmlElement xmlMergeElement = (XmlElement) element.clone();
        // annotate the origin of the merging element
        xmlMergeElement.addAttribute(originatedFrom.getName()).setString(sFromURI);
        // Add the cloned element to the XML configuration
        xmlIntoCacheConfig.getElementList().add(xmlMergeElement);
    JK

  • How does Flex cache PDF files??

    I need to prevent my Flex application to cache PDF files... We are using LiveCycle8.2 and Flex 3.2. Does anybody may help me??

    Sorry for being newbie obtuse but are you saying that FP (Flex Project I assume)'s are an Active X (application) and thus IE does utilize its cache for all HTTP based communications???
    If so then as I understand it, the typical Flex Project has an HTML wrapper which then loads the Flex App (I assume using HTTP).  Subsequent Flex<--->Server communications can be HTTP or other format (AMF which I believe BenForta indicated was HTTP "wrapped" as well but at the moment I am less concerned with this).
    As such is the following correct?
    1.)  IE Browser hits HTML page (url) ----> IE checks its cache; If exists compares vs current version on server; If different download from server else load from cache
    2.)  HTML page calls Flex App (using HTTP???) ----> IE again compares Flex App in cache (if exists) vs. server and if same load else download
    3.)  Flex App retrieves image file names via <mx:RemoteObject> ----- I don't see how browser cache can be used here as results not known until after dbase query completes
    4.)  Flex App uses <mx:RemoteObject> results to retrieve large .jpg files  ---- do these "pass through" the browser (and therefore load and/or store in cache) or are they purely "Flex contained" (and if so does flex have any automatic cache or do I have to perhaps store the jpgs in a shared object if I hope to reuse them without a download)???

  • How to make Edge Animation works in HLTM5 Offline? I cache all files, but Edge didn't play.

    How to make Edge Animation works in HLTM5 Offline? I cache all files, but Edge didn't play.
    Some createJS animation start without any problem.
    Thanks!
    Astors

    Thank you for your answer.
    I do use cdn off for publish setting.
    The Web site that I am working on is a very complicated site. Edge
    animations are in a subdirectory of Apache server.
    When server is offline, I get all files from Appcache without problem,
    excepted *_EdgePreload.js.
    I Google hundreds time, cannot find answer on why this file is always get
    online.
    Finally, I find out myself, Adobe Edge don’t like relative file path for
    *_EdgePreload.js.
    Change to root absolute path fixed the problem:
    Astors

Maybe you are looking for