How do you flush the negative cache?
Hi all,
I am working with NetWeaver 2004s SR3 SP14 on SuSE 10 with Oracle. I wrote a custom login module and was trying to get SAP to load it. At first I made some reference mistakes (in provider.xml under the references tab) and it wouldn't load. Then I fixed the reference errors and tried to get it to load again and it still wouldn't load. I just keep on getting the error message:
[EXCEPTION]
{1}#2#com.mycompany.dc.netweaver.MyLoginModule#java.lang.ClassNotFoundException:
com.mycompany.dc.netweaver.MyLoginModule
Found in negative cache
I shut down and restarted SAP several times (using stopsap and startsap) and undeploying and redeploying my login module (the fixed version), but still, SAP refuses to load my login module because it is in the "negative cache".
If I keep the code the same, but change the name of the Java class and component name in provider.xml, then SAP happily loads my login module.
So I can work around the issue, but it is really annoying to change your configuration every time you make a mistake with the references... So I was hoping that someone would know how to flush the negative cache. Do I have to go into the database to do it?
-- Katrina
Hi Katrina,
did you found a way to flush the chache?
kind Regards,
Gerardo J
Similar Messages
-
How do I flush the portlet cache?
I have tried using the portlet cache (renderCacheable="true" ) on some data intensive pages and its working fine. When i make changes to to the data i need to be able to flush that cache though so that the portlets show the updated data.
I have tried to find a way to do this programaticly but so far i havent found any solution. How do i do this?Create a backingFile on the portlet
and from one of the methods (say handlePostbackData)
call
PortletBackingContext.getBackingContext(request).invalidateCache();
Chris Jolley
Portal Architect -
How can you purge the UCE cache?
Our Sun Update Connection Enterprise server version 1.1.1-314 on Solaris 10 was setup with a very large cache size. I reset it to 7.5gb via the line "( all ) ( invisible.server.__general.cache_size, 7500000);" in the server/cgi-bin/.ucr.rc file. Will the system automatically purge old blobs from the system or is there a command you can run to purge old cached patches from the system to free up disk space?
This is on the UCE server side. The /var/opt/SUNWuce area is huge, especially server public and private blob areas and the engine's DB area. Is there anyway to purge DB info and the blobs in the SUNWuce/server/public and SUNWuce/server/private areas? When you pre-cache baselines for a channel, is there a way to purge the old baseline cache from the system after awhile? Also what is in the postgressql DB and why does it grow to GBs in size? We have about 150 systems in UCE.
/opt/SUNWuce/server > du -hs *
8.4M bin
47M cgi-bin
321K defs
10M lib
1K logs
956M private
1K proxy
11G public
17M uploads
/var/opt/SUNWuce > du -hs *
16M agent
45G engine
70M server
/var/opt/SUNWuce/engine/db > du -hs *
2K initlog
45G pgdata
0K postgresql.log -
How do i flush the DNS cache on an iPhone?
TrYaN73 wrote:
How do i flush the DNS cache on an iPhone?
There's no specific way to do that exact thing in iOS. However, resetting network settings will help resolve a lot of network-related issues for both Wi-Fi and cellular connections.
Reset network settings by tapping Settings > General > Reset > Reset Network Settings. -
10G NEW FEATURE-HOW TO FLUSH THE BUFFER CACHE
제품 : ORACLE SERVER
작성날짜 : 2004-05-25
10G NEW FEATURE-HOW TO FLUSH THE BUFFER CACHE
===============================================
PURPOSE
이 자료는 Oracle 10g new feature 로 manual 하게
buffer cache 를 flush 할 수 있는 기능에 대하여 알아보도록 한다.
Explanation
Oracle 10g 에서 new feature 로 소개된 내용으로 SGA 내 buffer cache 의
모든 data 를 command 수행으로 clear 할 수 있다.
이 작업을 위해서는 "alter system" privileges 가 있어야 한다.
Buffer cache flush 를 위한 command 는 다음과 같다.
주의) 이 작업은 database performance 에 영향을 줄 수 있으므로 주의하여 사용하여야 한다.
SQL > alter system flush buffer_cache;
Example
x$bh 를 query 하여 buffer cache 내 존재하는 정보를 확인한다.
x$bh view 는 buffer cache headers 정보를 확인할 수 있는 view 이다.
우선 test 로 table 을 생성하고 insert 를 수행하고
x$bh 에서 barfil column(Relative file number of block) 과 file# 를 조회한다.
1) Test table 생성
SQL> Create table Test_buffer (a number)
2 tablespace USERS;
Table created.
2) Test table 에 insert
SQL> begin
2 for i in 1..1000
3 loop
4 insert into test_buffer values (i);
5 end loop;
6 commit;
7 end;
8 /
PL/SQL procedure successfully completed.
3) Object_id 확인
SQL> select OBJECT_id from dba_objects
2 where object_name='TEST_BUFFER';
OBJECT_ID
42817
4) x$bh 에서 buffer cache 내에 올라와 있는 DBARFIL(file number of block) 를 조회한다.
SQL> select ts#,file#,dbarfil,dbablk,class,state,mode_held,obj
2 from x$bh where obj= 42817;
TS# FILE# DBARFIL DBABLK CLASS STATE MODE_HELD J
9 23 23 1297 8 1 0 7
9 23 23 1298 9 1 0 7
9 23 23 1299 4 1 0 7
9 23 23 1300 1 1 0 7
9 23 23 1301 1 1 0 7
9 23 23 1302 1 1 0 7
9 23 23 1303 1 1 0 7
9 23 23 1304 1 1 0 7
8 rows selected.
5) 다음과 같이 buffer cache 를 flush 하고 위 query 를 재수행한다.
SQL > alter system flush buffer_cache ;
SQL> select ts#,file#,dbarfil,dbablk,class,state,mode_held,obj
2 from x$bh where obj= 42817;
6) x$bh 에서 state column 이 0 인지 확인한다.
0 은 free buffer 를 의미한다. flush 이후에 state 가 0 인지 확인함으로써
flushing 이 command 를 통해 manual 하게 수행되었음을 확인할 수 있다.
Reference Documents
<NOTE. 251326.1>I am also having the same issue. Can this be addressed or does BEA provide 'almost'
working code for the bargin price of $80k/cpu?
"Prashanth " <[email protected]> wrote:
>
Hi ALL,
I am using wl:cache tag for caching purpose. My reqmnt is such that I
have to
flush the cache based on user activity.
I have tried all the combinations, but could not achieve the desired
result.
Can somebody guide me on how can we flush the cache??
TIA, Prashanth Bhat. -
How do you change the default location address (in my pictures) of the IPOD Photo Cache ?
You do no specifically. It sounds like you are syncing a folder to the iPod. In that case:
From a Folder on Mac OS X, Windows XP, Windows Vista, or Windows 7
The iPod Photo Cache will be located in the folder you selected to sync with.
Thus, you have to change the location of the folder you sync with. -
How do you clear the cache in Lion?
How do you clear the cache in Lion?
Safari 6
Empty Caches
Safari > Preference > Advanced
Checkmark the box for "Show Develop menu in menu bar".
Develop menu will appear in the Safari menu bar.
Click Develop and select "Empty Caches" from the dropdown. -
How do you determine the optimal size for Mozilla Firefox?
How do you determine the optimal size for cache in Mozilla
Firefox? I am using Firefox 7.0.1 on a 64-bit Windows 7 Ultimate operating system with 3GB RAM and 300 GB hard drive, but I have other computers running Windows XP. If the answer doesn't apply to all current versions of Firefox on all supported Windows operating systems, please explain the differences. Is there a formula for calculating the best cache size?I found that the best idea is to let Firefox decide that itself.
-
How do you change the direction of a Tween Wipe effect
Hi all,
Completely new to the forums and I hopefully my query is straight forward. How do you change the direction in the pre-built tween effects available within Flash CS3 (primarily the Wipe effect). Example code:
var Animate_Box:Tween = new Tween(Box, "height", Strong.easeInOut, 0, 200, 1, true);
OR
var Animate_Box_2:Object = {type:Wipe, direction:Transition.IN, duration:1, easing:Strong.easeInOut};
TransitionManager.start(Box_2, Animate_Box_2);
Many thanks in advance.
Kam
ANSWERED:
Sorry for posting something so pointless!
You simply add 'startPoint:5' onto the end i.e.
var Animate_Box_2:Object = {type:Wipe, direction:Transition.IN, duration:1, easing:Strong.easeInOut, startPoint:5'};
TransitionManager.start(Box_2, Animate_Box_2);
startPoint:5' = can be any number depending on the direction of the Wipe you want.
Thanks,
KamWhat you really want is a way of automatically mirroring the the X and/or Y coordinates of the keyframes within the effect. This ability would be very useful.
But right now there's no way to do that. You'd have to do it manually. That effect actually uses the Slide parameter to generate the movement (instead of a discreet X/Y coordinate for the position.) Changing the first keyframe value of the Slide parameter to a negative number still doesn't give the effect I think you're looking for.
So, it's probably easier to just rebuild the effect the way you want it from scratch.
Bony -
How do you get the radio to work? Is another app or download required? Its a new Ipod nano - 8G, box doesn't say anything about "generation" ?? Appreciate any help
cr8tivsolutionsok, I see now the plug has to be pushed in really tight until the white is flush with the nano
-
How Best to Manage the Media Cache?
Hi. I use a Mac Pro and have a 24TB RAID which holds most of my media. My problem is how best to manage the Media Cache which gets very big, certainly to hold on my OS drive (as recommended) . I could store it in a separate "cache" folder on my RAID but will this effect performance? Or is it best to save it with its media? I would rather not trash the Cache files as I often need to draw upon older projects and it's media for current projects. I think this is the weakest part for FCP editors switching to Premiere.
Ideally you should have five internal 'drives':
OS/Programs
Projects
Cache/Scratch
Media
Exports
You've got the OS and Media drives worked out, now get those other three in place. -
How do you unstick the blue progress bar?
how do you unstick the blue progress bar? It most times, just sits there and the refresh button doesn't help.
1. Power cycle
Power off the router. Unplug it from the wall. Wait a while.
Plug it back to the wall. Power the router on. Wait until all the lights are lit properly.
It will take a while.
Restart the computer.
Start up in Safe Mode
http://support.apple.com/kb/PH11212
2 Empty Caches
Safari > Preference > Advanced
Checkmark the box for "Show Develop menu in menu bar".
Develop menu will appear in the Safari menu bar.
Click Develop and select "Empty Caches" from the dropdown. -
I'm having trouble with a Web site when I access it on my home computer, yet this same site looks fine on my Mini at work. One section of the index page generates a "can't find server" error, and the site's own logo won't display properly. It is a free hosting site. Sometimes I can upload files to it, other times I get a can't-find-server error when I try.
In answer to my query about this (to which I helpfully attached a screenshot of the incompletely loaded index page and its error messages), the host is telling me that I should "flush my DNS cache," which they say involves going into Terminal and giving the command "ookupd -flushcache" [sic]. (I've already surfed this briefly and the first result confirmed my suspicion that this doofus hasn't mastered copy-and-paste technique and the command actually should be "lookupd- flushcache".)
It's not just that their site doesn't load fully, though. They have some stuff on one of their pages that they encourage users to hotlink on personal Web sites, and I have done that with one of their banners. The banner, which was fine for months, now appears on my page as a broken icon, too, although it, like the site's home page, loads fine on my computer at work.
My first question is, is there any harm in flushing the DNS cache? The OS Daily page where I think they copied this advice from makes it sound like this is something only a Web server would need. If I do it on my home machine, could it cause problems? Could it disable my Internet connectivity?
Second, less urgent question, more for the netgeeks out there: Do you think this is a likely solution to my problem? Especially considering that the problem involves not only their site but an element on an external site linking back to them? I hate to play the sucker for some low-level geek whose main mission is to deflect my query.
Thanks
KathiKathi--
Like BDAqua says, there's nothing to worry about flushing the DNS cache. It's true that most people probably don't need to do it very often, but it's something easy and harmless to try, and it might well fix problems like yours.
One handy feature of Safari, even if you don't use it for anything else, is the "Activity" window. Open it from the "View" menu, and watch as your page loads. You can see exactly which components on the page are loading, which aren't and where they should be coming from. If you double-click an element in that list, Safari will try to open it in a new window. That is sometimes enough to give a clue as to why something isn't working.
You can use Safari's activity list along with the Network Utility from your Utilities folder to try to figure out why you're not getting the page elements. Suppose a graphic is listed as coming from http://www.server1.com/images/logo.jpg, but it's not loading.
First thing I would try in the Network Utility is to see if it will respond to pings. From that example, enter "www.server1.com" on the "Ping" page of the Network Utility and see if it answers back.
To find out if it's a DNS problem, you can use Safari's list to get the addresses of the problem elements, then see if the IP addresses match up on your computer at home to the one at work. If they don't, then it could be stale DNS.
You can use the Network Utility for DNS lookups, but I think they're hard to read, and, since you're already thinking about using the Terminal to flush the DNS cache, you can use nslookup. It's really simple:
<pre class="command">nslookup www.apple.com</pre>
Will give you something like this (the first two lines will likely be different):
Server: 208.67.222.222
Address: 208.67.222.222#53
Non-authoritative answer:
www.apple.com canonical name = www.apple.com.akadns.net.
Name: www.apple.com.akadns.net
Address: 17.251.200.32
If the addresses don't match, or you get a message that it can't find anything for your server, then you know it's a DNS problem. Perhaps they've changed some addresses and your home ISP's DNS servers themselves aren't updating.
You can even use nslookup to see what different DNS servers say about an address. Just add the IP address of a DNS server after the address you want to look up:
<pre class="command">nslookup www.apple.com 208.67.220.220</pre>
Just do a search on the 'net for free DNS servers, and you'll find a bunch to choose from.
charlie -
My internet lookup is slow. I have read that I can fix this by using either openDNS or googleDNS servers. How Do I flush my DNS cache after switching DNS servers?
Restart the computer.
-
How do you lock the screen on iphone 4?
How do you lock the screen on iphone 4 while on a call? I mute calls, activate face time and I have even called someone by accident during a call. I know there has to be a way to fix this. Please HELP!
It locks automatically when you hold it to your head.
If it fails to do this, then remove the case and see if it solves it.
If it does not, then do the basics - restart, reset, restore.
If that does not solve it, then make an appointment at the genius bar.
Maybe you are looking for
-
Share wireless internet modem from one computer to another with router model WRT120N
I am trying to share an internet connection of my Sprint wireless modem from computer 1 to computer 2. Is there a way to share the internet connection? I have successfully set up a Home Group. I have tried to share my internet connection by righ
-
I was loading a big file of photos from iPhoto to Adobe Photoshop CS3 and more then midway it keep collapsing, yet each time I re-open photoshop to load a small amount of photos, it load the previous photos again, and again it collapse. is there a wa
-
How to create a Gradient color with the same gradient in vertical direction
To fill a rectangle, for example, let's illustrate as following 111111111 222222222 333333333 444444444 555555555 444444444 333333333 222222222 111111111 where 1, 2, 3, 4, 5 denotes a color value. The following codes does not works. g2.setPaint(new G
-
Hi everyone, I have experience on Java , JSP and Servlet. Want to know how to upgrade to next level. 1.Do I need to learn Spring and Struts togerther? Any good book or resource in the net? 2. EJB 3 or Spring which one is more market value? Thanks
-
Taking export on different mount point.
We have two databases in one server. I want to take export of one schema from one database and store it directly on other database's mount point due to space crunch. How can i do that. We are using solaris 5.10 as OS and database version is 11.2.0.3