caching problems
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > caching problems




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    caching problems  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:06 PM

Hi

I am having a tough time with a really simple problem of portlet caching.
I configured my portlet.xml file as

<cache>
<expires>3000</expires>
<shared>yes</shared>
</cache>

And  I have configured the page cache options to shared and 3000 also(I have
 tried other numbers too.... just in case).
I am testing that if the cache is working or not by using a Sys out statemen
t in my portlets viewJSP file.

But every time I try to refresh my page it prints that in log.

Am I doing everything right. And if so do I have to configure anything else.

Pls Help.
Thanx in Advance
Sachin








[ Post a follow-up to this message ]



    Re: caching problems  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:06 PM

try this:
enable your app server's servlet caching;
restart server.





[ Post a follow-up to this message ]



    Re: caching problems  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:06 PM


Thanx a lot FrumbleFoot......
Its working!!!!!.... but I have another problem now.
What I need to do is the page should change in the browser if I change the J
SP. But I am not able to achieve this...I have a portlet in which you can ch
ange the view through configure. When I configure the portlet using configur
e icon to change the view,
It changes. My guess is it invalidates the cache somehow. But how can I achi
eve the same when I change a jsp file manually. Is there any setting in the 
Server which checks when the page was modified last???
And if somebody has some good resources for Portal/Portlet Caching pls post 
a link... Since the infocenter has very few details about the same.

Thanx in Advance
Sachin





[ Post a follow-up to this message ]



    Re: caching problems  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:06 PM

Edit file \appserver\config\cells\"instanceportal"\applications\wps.ear\depl
oyments\wps\wps.war\WEB-INF\ibm-web-ext.xmi

change reloadingEnabled="false" to reloadingEnabled="true"
startServer server1
startServer WebSphere_Portal

regards.

Julio Kochem





[ Post a follow-up to this message ]



    Re: caching problems  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:06 PM

I already have that enabled but still I am getting the cached page???????





[ Post a follow-up to this message ]



    Re: caching problems  
andreiss


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:06 PM

http://www-1.ibm.com/support/docvie...tf-8&lang=en+en







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:18 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register