Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Oracle Portal Invalidation Caching

Oracle Portal Invalidation Caching

From: <kenneth.franqueiro_at_gmail.com>
Date: 18 May 2007 09:28:02 -0700
Message-ID: <1179505682.224805.116820@k79g2000hse.googlegroups.com>


I'm currently working on getting a handle on using invalidation caching in Oracle Portal (using 10.1.4). I found and followed the directions in their Developer's Guide (http://download-east.oracle.com/ docs/cd/B14099_19/portal.1014/b14135/pdg_java_adv.htm#CHDGBJIH), but I'm having no luck getting the code for manually invalidating the cache to work. The call to invalidate() always returns 0, i.e. it didn't invalidate anything.

The page DOES cache, and the cache DOES expire when the pageExpires period elapses; it simply doesn't invalidate when I manually tell it to in the code.

Just to be sure, here's a list of what I *have* done:
* added the init-param element inside web.xml

In the way of other possibly-relevant configuration:
* The portlet is on an otherwise blank page with nothing else on it.
The page is set to "Don't Cache".
* The provider is set to Public information.

Things I've noticed thus far:
If I manually clear out the cache for the provider via the portal's interface, I can see in the webcache log that one object does indeed become invalidated. However, if I manually clear out the cache for the *portlet*, it invalidates 0 objects. Not sure whether this is a hint at all as to what's wrong.

I've been struggling with this for a while now, and I'm really not sure what little thing I might be missing. Any pointers would be greatly appreciated. I'm bound to have left out some details somewhere, so please say so if there's any further information I can investigate/provide to help narrow down the issue.

I apologize if this wasn't the best group to post this in, since there's a lot of java/oracle related groups on here. If someone knows a more appropriate group to post this in, please let me know.

Thanks in advance.
--Ken Received on Fri May 18 2007 - 11:28:02 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US