How To Clear Mapviewer Tile Cache

I am running a standalone version of Mapviewer using Weblogic Server.
Weblogic and Mapviewer are running on a linux server with CentOS 5.8 64bit.
- MapViewer Version: Ver11_1_1_7_1_B130516
- Weblogic Server 10.3.6
I am using Mapbuilder installed on a Win7 64bit client.
- Mapbuilder Build: Ver11_1_1_7_1_B130516
My datasource is an Oracle 11.2.0.3 database running on a linux server with CentOS 5.8 64bit.
I am using the new HTML5 JavaScript mapping API to render my map.  I am using any one of the following browsers:
IE10 (v10.0.9200.16635)
Firefox (v23.0)
Chrome (v28.0.1500.95 m
I have created the following Mapbuilder objects:
Geometry Theme: SRA_SUITE304_F1_ROOM
- for the label styling rules, I have set the Label Function = 1, so that labels will be displayed for the objects
Base Map: SRA_ALL
<?xml version="1.0" standalone="yes"?>
<map_definition>
      <theme name="SRA_SUITE304_F1_ROOM"/>
  </map_definition>
Tile Layer: SRA_ALL
<map_tile_layer name="SRA_ALL" image_format="PNG" http_header_expires="168.0" concurrent_fetching_threads="3">
     <internal_map_source data_source="ICLOGIT1" base_map="SRA_ALL" bgcolor="#ccccff"/>
     <coordinate_system srid="4326" minX="-74.54" minY="39.407" maxX="-74.53" maxY="39.41"/>
     <tile_image width="256" height="256"/>
     <zoom_levels levels="10" min_scale="100.0" max_scale="1600.0" min_tile_width="6.097560975612876E-5" min_tile_height="9.090909090913742E-4">
          <zoom_level level="0" name="level0" description="" scale="1600.0" tile_width="9.090909090913742E-4" tile_height="9.090909090913742E-4"/>
          <zoom_level level="1" name="level1" description="" scale="1175.0" tile_width="7.142857142860797E-4" tile_height="7.142857142860797E-4"/>
          <zoom_level level="2" name="level2" description="" scale="864.0" tile_width="5.263157894739535E-4" tile_height="5.263157894739535E-4"/>
          <zoom_level level="3" name="level3" description="" scale="634.0" tile_width="3.846153846155814E-4" tile_height="3.846153846155814E-4"/>
          <zoom_level level="4" name="level4" description="" scale="466.0" tile_width="2.7777777777791986E-4" tile_height="2.7777777777791986E-4"/>
          <zoom_level level="5" name="level5" description="" scale="342.0" tile_width="2.0833333333343992E-4" tile_height="2.0833333333343992E-4"/>
          <zoom_level level="6" name="level6" description="" scale="251.0" tile_width="1.5151515151522904E-4" tile_height="1.5151515151522904E-4"/>
          <zoom_level level="7" name="level7" description="" scale="185.0" tile_width="1.1235955056185523E-4" tile_height="1.1235955056185523E-4"/>
          <zoom_level level="8" name="level8" description="" scale="136.0" tile_width="8.264462809921583E-5" tile_height="8.264462809921583E-5"/>
          <zoom_level level="9" name="level9" description="" scale="100.0" tile_width="6.097560975612876E-5" tile_height="6.097560975612876E-5"/>
   </zoom_levels>
</map_tile_layer>
I am using the following HTML to display the map using the Tile Layer SRA_ALL:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>SRA2 - Map 01 - 10 Zoom Levels</title>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<script type='text/javascript' src='http://xxxx.xxxx.com:7002/mapviewer/jslib/v2/oraclemapsv2.js'></script>
<style type= 'text/css '>body {cursor:default;}</style>
<script language="JavaScript" type="text/javascript">
var baseURL="http://xxxx.xxxx.com:7002/mapviewer";  // location of mapviewer
    function showMap()
        var map = new OM.Map(
        document.getElementById('map'),
            mapviewerURL:baseURL
        var tileLayer2 = new OM.layer.TileLayer(
        "SRA_ALL",
            dataSource:"xxxx",
            tileLayer:"SRA_ALL"
        map.addLayer(tileLayer2) ;
        map.addScaleBar() ;
        map.addNavigationPanelBar() ;
        map.setMapCenter(new OM.geometry.Point(-74.537446,39.409008,4326) );
        map.setMapZoomLevel(3) ;
        map.init() ;
</script>
</head>
<body onload="javascript:showMap()">
    <DIV id=map style="width:99%;height:99%"></DIV>
</body>
</html>
This produces a correctly rendered map in my browsers, which displays the labels I expect.
Next, I changed the Labeling Function on my Geometry Theme: SRA_SUITE304_F1_ROOM, setting it to -1, so that object labels would not be displayed.
In Mapbuilder, I can preview the geometry theme, and it shows that no labels are displayed.
Still in Mapbuilder, I can preview the base map that the geometry theme is assigned to, and the basemap also shows that no labels are displayed for that theme.
I saved all my changes in Mapbuilder.
However, when I view my map (using the same HTML code) in the browser, the map still shows the labels.
I have tried all of the following:
1) purging the geometry cache for the affected map datasource using the MapViewer Administration Console
2) purging the browser cache
3) restarting the mapviewer server
4) restarting the entire supporting weblogic server
None of these actions cause the map viewed in my browser to be updated to show the map without labels.
Note: If I create a new Tile Layer using the same base map, my changes are visible in the browser map.
What am I missing here?
What cache do I need to clear so that my map is displayed correctly in my browser after I make changes to the underlying Mapbuilder objects?
Thanks in advance for your help.

Thanks.  That was the last key to the puzzle.
Here are the steps I now follow to ensure that changes made to underlying MapBuilder objects are visible in the browser.
Perform the following steps:
1) Modify the object (style, theme, base map, tile layer) in MapBuilder, and save all changes.
2) Using MapViewer Administration Console, Purge Cached Metadata for each affected datasource.
3) On the MapViewer server, clear the Map Cache directory.  The location of the Map Cache directory is specified in the mapViewerConfig.xml file under the section "Map Cache Server Setting".
e.g.
cd <map cache dir>
rm -rf *
4) Clear the browser cache and temp files for the browser you are using (e.g. IE, Firefox, Chrome).  If you think you are not clearing the cache completely, then use the appropriate "private browsing" feature of the browser to view the map.  You should then be able to see the changes made to the map in the browser.

Similar Messages

  • How to clear cookies and cache on firefox mozilla?

    I need help with clearing cache and cookies on Firefox Mozilla.
    Please respond.
    Thank you,
    Majak

    [[How to clear the Firefox cache]] and [[Delete cookies to remove the information websites have stored on your computer]] should help

  • How to clear webdynpro ABAP cache ?

    Hi,
    Please advise me on how to clear webDynPro ABAP Cache data ?
    Scenario as most of you might be knowing:
    1>We retreive data from the the table using query stmt. For ex: Creating an employee
    2>When we want to update/terminate the same employee on same day giving us short dump
    We checked in the backend that employee has been sucessfully onboarded and offboarded/updated without any dump.
    I guess it has something to do with clearing the cache/memory on each operation(create/update/delete)
    So, I got some transaction code:SWFVISU where we can maintain the cache configuration. But I'm not sure whether we can use the same.
    Is there anyway we can avoid the cache issue.
    Thanks
    Praveen

    Hi, Praveen kumar Kadi. can be to you this function will help:IQS1_REFRESH_ALL

  • How to displaying MapViewer tile layers over ArcGIS World Imagery?

    How to displaying MapViewer tile layers over ArcGIS World Imagery?
    Here is the ArcGIS World Imagery URL:http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer
    Thanks.

    I don't think that's possible. You can't add Mapviewer tile layer over ArcGIS Server. However you can make a wms layer by oracle mapviewer and feed it into the Arcgis server.

  • How to clear CAN Frame Cache

    I'm using CAN Frame API and I keep reading the same data, how can I clear the CAN cache? Or is there a way to look at the most recent messages?

    Hello adle9394:
    Have you tried running the CAN Receive.vi example. Do you experience the same thing?
    Regards,
    Roland A.
    Applications Engineer
    National Instruments
    Check out VI Roadshow

  • How to clear portal navigation cache

    hi
    How to clear portal navigation cache

    Hi,
    Refer this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/19edcf16474a9798a5681ce4fe4b25/frameset.htm
    EFP: Navigation Caching
    Regards,
    Senthil K.
    [points welcome]

  • How to clear the Entity Cache

    I have an Entity based on a GLOBAL temp table. I have a ViewObject based on the Entity. A stored procedure is called from the client that populates the GLOBAL temp table and then calls executeQuery on the ViewObject. The first time the user does this, all rows display fine. When the user changes the selection criteria and clicks a button a 2nd time, the same procedure is called which clears the GLOBAL temp table and repopulates it with the new data. An exception occurs, however, stating that there are too many rows that match the key. The problem seems to be that the Enity has cached the rows from the first execute, but those rows aren't flushed when the 2nd execute is called, which makes sense. It seems that I just need to force the Entity to clear it's cache after my procedure is called, but before the executeQuery is called. I have tried that from the client side by calling clearCache on the view AND clearEntityCache on the transaction, but they don't seem to do anything. I have also called clear cache on the app module side in the method that calls the stored procedure, but it doesn't seem to do anything either. I also turned on the JBO debugging messages and I can't see any message stating that the Entity or View cache was cleared. It appears that these calls do nothing.
    Is there a way to work around this to make the Entity/View chaches completely refresh from the database?
    Thanks
    Erik

    Typically the client layer never has access to entities. This API is the one exception. The way to keep it cleaner would be to create a custom Application Module method, and inside that perform the clear cache, rather than burdening the client to have to know about any details of underlying entity objects. Keep that hidden.
    I wouldn't think you should need to clear the entity cache to do what you're doing, though. If you have a reproducible test case -- with SQL script that creates your example global tempory table -- if you could create a TAR on Metalink and ask support to file a bug for it, that would be great so we can look into it.

  • How to clear uploaded files cache

    on my phone i hane no option for rooting to get access to system files but whenever i upload a large (15 megs or so) file it claims a huge portion of my phone system memory to what im guessing is cache the file im uploading.
    this extra data is not freed by the system at startup and im not sure if the options in clear private data will completely clear it.
    is there a way to either clear uploaded files or atleast force firefox to use my sd.card storage space for uploads/plugins/ addons or anything else it needs to atore?

    Hello,
    Please see the support request below. It contains tips on how to reduce the size of the cache and also how to move the cache to external storage.
    https://support.mozilla.org/en-US/questions/947996

  • How to clear my MAC cache

    Do MACs get bogged down like PCs and need to have a cache or anything cleared?   Any help you could give me would be appreciated.

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    The free anti-malware application ClamXav is not crap, and although it’s not routinely needed, it may be useful in some environments, such as a mixed Mac-Windows enterprise network.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • How to clear BPEL WSDL Cache  from out side  bpel console

    hi ,
    Is it any way to clear wsdl cache other than bpel console option.
    Please any one can help me.
    Regards
    janardhan

    The short answer is Yes.
    I have a post here that does the undeployment.
    link : [http://oraclebpelindepth.blogspot.com/2008/09/undeploy-bpel-with-java.html]
    You would have to change the code below in there to a new one, that does the trick.
    iBPELDomainHandle.undeployProcess(new BPELProcessId("default","MyUndeployedBPELProcess"));
    Use clearWSDLCache() method that is part of the IBPELDomainHandle Interface.
    The final code will look like
    iBPELDomainHandle.clearWSDLCache();
    I hope you are prepared to use Java API for this.
    Every Little Helps
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • How to clear cookies and cache?

    How is this done?

    Settings -> Safari -> Clear Cookies and Data. You can also clear the browser History if you like.

  • How to clear temp files/caches

    Hey, I was watching some HD video streams yesterday and i went back to my macbook today with it telling me i had zero kb available. I was thinking that the stream must have gone into a cache somewhere, so i used cocktail to empty user caches, freeing up about 200mb. I also used the safari clear cache function and restarted but all im still at just 270mb free.
    I think i had about 5gb free yesterday, so it went somewhere. Help?

    in omni sweeper i am coming across some curiosities -
    There are 2 "users" folders, both appear to be identical in size and contents. I was thinking it could be just the way the program shows "macintosh HD" and "username". the folder is 21.4 GBx2, so is my OS somehow making a duplicate users folder? Because i need to include the total 42.8GB there with the other totals omni gives me to get my hd capacity of 80gb.
    i could do a pic but this is the output of the program:
    21.4 GB Users
    21.4 GB Users
    13.3 GB Library
    13.6 GB Applications
    2.3 GB System
    2.1 GB private -(used space on my linux partition)
    1.7 GB Volumes
    so this all adds up to about 75GB, but i dont see my bootcamp partition.? and the duplicate users folder? not making sense. but it adds up. my toshiba hd capacity is 74.5 according to disk utility, making up that is 56.5GB macintoshHD, my windows part is 14.2GB, and linx part is 3.4GB).
    So yeah, weird that omni gets me the total space correct but, if i have 21.4GB of this duplicate folder then that could explain why i have always thought i was missing space... but within the finder, there is no indication of a duplicate folder, (also i used the program invisibles to show invisible folders and i still have only the one users folder when i look at mac hd on my macbook)
    And not to further add to the stew, but omni comes up with that last big item, the 1.7gb Volumes folder. its contents are only a very few items that are contained on a separate hd i have currently hooked up to my tower. when you double click on a folder that omni shows in its list, the finder pulls up that folder, for my 2 users folders, finder on the tower pulls up two windows showing the good old "Users" folder within a list. When i click on that volumes folder, i get nothing. FYI, the volumes folder is apparently an invisible folder, it is useless so i will delete it.
    good news there, but i am still wondering about the two users folders omni comes up with, i wouldnt know which to delete...
    edit: i wanted to mention that there is only one user, but i did at one point a while ago attempt to change the computer name, dont know if somehow that could have resulted in this mysterious identically updated folder over time...
    Message was edited by: kindkind1
    Message was edited by: kindkind1

  • Fiori Enhancment - BSP how to clear buffer/cache?

    Hi All,
    So I'm trying to make some enhancmenets to a Fiori app. I have downloaded it and reuploaded is as a new BSP application.
    I wanted to make some changes to the BSP, so I changed the code directly, in SAP.
    I thought I must be doing something wrong, but my changes weren't having any effect.
    To further test this I wrote some nonsense which should ahve broken it... but it still ran fine!
    To test further again I went to SICF and deactivated the node!! ANd it STILL worked fine!
    I opened new sessions in my browser, and new incognito windows, and closed it all and reopened it all, but it STILL works fine!
    There is clearly some kind of caching/buffering going on here, I've found the tables: O2PAGDIR and O2PAGDIRT have buffered values (found out this from ST02)
    But how do I clear it?! I turned buffering off in these tables, to see if that worked, and made another change, and tried to reload the table... but STILL the page loads with no changes.
    Please, can anyone tell me how to clear the buffer/cache that means that when I make UI chanegs in a BSP it doesn't show them?!
    Thank you
    Lindsay

    Hi Mauro,
    I overcame this issue in a variety of ways:
    Firstly, I do all the customisation of the BSP applications locally on my machine.
    Then I upload the whole BSP using the program /UI5/UI5_REPOSITORY_LOAD.
    In order to make sure the display you see in your browser is the up-to-date version, there are various cache clearing things you can do:
    Program /UI5/RESET_CACHEBUSTER - this has no UI, and takes only a second to run
    Transaction /UI5/THEME_TOOL : double click on "Invalidate Cache" to refresh the theme cache (if you have made theme changes)
    Then you have the two model caches mentioned above by Ashish - if you changes the Gateway service but aren't seeing these changes you should run these to ensure the model is up-to-date.
    Browser caches: make sure you browser cache is cleared: for Chrome this is easy: hit F12 (to get Dev toold open), clickk on the cog icon, and tick the box "Disable cache (while DevTootls is open)" - then keep devtools open while refreshing the page.
    The best way to enhance the BSP applications is locally on your machine, and do all your testing locally before uploading.
    I hope this helps, let me know how you get on.
    Lindsay

  • 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

  • Clear internet history - cache

    How to clear my MBA cache from "sticking" website?
    Scenario:
    Today as I started writing in the address bar to search, the drop down list from the address bar showed web sites I have been to 3 months ago.
    I do clear my web history, and re-set safari regularly.
    My default search engine is google.
    I only use "private" browsing, and secure wi fi connections (or 3G).
    I do ask web sites "not to track me", remove cookies after browsing.
    Any advice?

    Rest everything, and deleted cookies. Privacy> Block Cookies>From Third Party and Advertisers.
    Just 3 minutes reading my hotmail. Here are the cookie (surprisingly, non from google!

Maybe you are looking for

  • ERROR when I try to open or save an existing WorkBook

    Hi all, Can you help me to solve my problem please. When I try to open some existing WB there is an error message "No entry found". So when I open some existing WB and try to save them as an existing WB it gives me an error message "Document store ac

  • How long does Microsoft Small Business Server 2008 support?

    Hi, How long does Microsoft SBS 2008 (Vista like server installation)? At what time we have to upgrade our server? Thanks,  Eddy

  • Visually impaired - Wish to change background colors ...

    Hi, What I wish to do sounds simple to me, yet I cannot see a way to do it. I want the title bar to be white with black text, or it could be dark blue with bold white text, either would work fine. I want the menu bars to be on a white background. I w

  • How to return two parameter

    hi is it possible to return more than one paremeter in the method,how can i return the pass parameter in the following method hi is it possible to return more than one paremeter in the method,how can i return the pass parameter in the following metho

  • ECATT error CALL_TRANSACTION_USING_NESTED

    HI All, We are suddenly having dumps when running eCATTs in all system. What happened? Error in the ABAP Application Program The current ABAP program "SAPLSTTF" had to be terminated because it has come across a statement that unfortunately cannot be