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 -> Re: Oracle Portal Invalidation Caching

Re: Oracle Portal Invalidation Caching

From: <kenneth.franqueiro_at_gmail.com>
Date: 20 May 2007 21:49:51 -0700
Message-ID: <1179722991.754432.112040@a26g2000pre.googlegroups.com>


On May 18, 12:28 pm, kenneth.franque..._at_gmail.com wrote:
> 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
> * added the useInvalidationCaching element inside the provider.xml
> (and set pageExpires to 2)
> * ensured that the invalidation server is indeed running and being
> accessed successfully
> * added the code for manually invalidating the cache to my portlet
>
> 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

I hate to bump a post, but it occurs to me that this is the only post of the last oh, 6 or so on this group that has had no replies whatsoever. I'm not sure whether it's that no one knows the answer to this, or if it's that far off-topic - if the latter, please advise as to where it might be more on-topic. Thanks!

Or, if it's because I'm overlooking something extraordinarily stupid, please say so. Thanks again!

I admit I'm rather new to this, but this really is a seemingly common task I'm stuck on here, and yet searching elsewhere has netted me nothing so far. =/

--Ken Received on Sun May 20 2007 - 23:49:51 CDT

Original text of this message

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