Caching problem in EP6 SPS13

Hello,
I developed an iView (Eclipse + PAR) and I just would like to be sure that this iView would be really executed each time it is called.
In order to see if the iView is really executed, I display a time stamp (with milliseconds) on the screen.
When I call this iView very quickly several times from the browser, I get the same time stamp (same millisecond several times)!
Nevertheless, I set the properties as follow:
- Allow Client-Side Caching = NO
- Cache Level = NONE
Here is an extract of my code:
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
          Calendar now = Calendar.getInstance();        
          int hh = now.get(Calendar.HOUR_OF_DAY);        
          int mm = now.get(Calendar.MINUTE);        
          int ss = now.get(Calendar.SECOND);
          int ms = now.get(Calendar.MILLISECOND);        
          int mois = now.get(Calendar.MONTH) +  1;        
          int jour= now.get(Calendar.DAY_OF_MONTH);        
          int annee = now.get(Calendar.YEAR);                   
          response.write("<br>"+jour+" / "+mois+" / " +annee+ "   "+ hh+":"+mm+":"+ss+","+ms );
It seems that the caching is performed at the server level...
Do you have any idea?
Thanks in advance.
Thierry

There is an additional property of the Cache called the Validity Period.
More on iView properties here:
http://help.sap.com/saphelp_nw04/helpdata/en/13/81a66d100011d7b84b00047582c9f7/content.htm
Also, the Page itself can be cached, if the iView in question is within a Portal page.
Additionally, try the different isolation methods for the iView to see if they'll make a difference.

Similar Messages

  • Upgrading from EP6 SPS09 to EP6 SPS13 - SDM returncode 4

    Hi SDN,
    I tried to patch my portal EP6SPS09 to EP6SPS13 . After reaching the installation step "Deploy EAR File" the update procedure stops at the seventh step "Deploy via SDM" with the error message SDM could not start returncode 4.
    I have seen this problem in serveral updates (SP11, SP12) before and I was always able to fix this issue, but not in this case.
    So I investigated this problem and found the following error in callviaSDM.log
    05/08/06 14:49:03 -  ***********************************************************
    05/08/06 14:49:05 -  Start updating EAR file...
    05/08/06 14:49:05 -  start-up mode is lazy
    05/08/06 14:49:08 -  EAR file updated successfully for 3765ms.
    05/08/06 14:49:08 -  Start updating...
    05/08/06 14:49:09 -  EAR file uploaded to server for 621ms.
    05/08/06 14:59:09 -  ERROR: Not updated. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Already started operation with application sap.com/irj in the cluster. No other operation with this application is allowed at the moment..
                         Reason: Cannot lock [2005080614452393400000sgisbruap33t...............205004850, DEPLOY_LOCK_AREA, sap.com/irj, X]; it is in use by the same owner.; nested exception is:
                            com.sap.engine.frame.core.locking.LockException: Cannot lock [2005080614452393400000sgisbruap33t...............205004850, DEPLOY_LOCK_AREA, sap.com/irj, X]; it is in use by the same owner.
                            at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:592)
                            at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
                            at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
                            at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
                            at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
                            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                            at java.security.AccessController.doPrivileged(Native Method)
                            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
                            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
                         Caused by: com.sap.engine.frame.core.locking.LockException: Cannot lock [2005080614452393400000sgisbruap33t...............205004850, DEPLOY_LOCK_AREA, sap.com/irj, X]; it is in use by the same owner.
                            at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:160)
                            at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:420)
                            at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:1090)
                            at com.sap.engine.services.deploy.server.TransactionManager.lockApplication(TransactionManager.java:127)
                            at com.sap.engine.services.deploy.server.TransactionManager.registerTransactionWithLock(TransactionManager.java:89)
                            at com.sap.engine.services.deploy.server.DeployServiceImpl.registerTransactionWithLock(DeployServiceImpl.java:1847)
                            at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3031)
                            at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:580)
                            ... 10 more
                         For detailed information see the log file of the Deploy Service.
    05/08/06 14:59:09 -  ***********************************************************
    Aug 6, 2005 2:59:09 PM   Info: End of log messages of the target system.
    So I looked for a regarding note and found the sap note: 710966 DEPLOY_LOCK error during upgrade . I check the lock status of my sap.com/irj application.
    The sap.com/irj is not running properly or the sap.com/irj is not installed.
    So I reistalled the whole system EP6 SR1 and repeated the upgrade. The Upgrade of the WAS runs successfully, but the EP upgrade crashes again. I do not have a cluster version. I tried to upgrade my portal with the safe mode and without safe mode.
    Has anyone of you installed EP6 SPS13 successfully?
    My system:
    1 CPU
    Oracle DB
    JVM 1.4.2_07
    OS Win2000
    Please help.
    Best Regards,
    Olaf Reiss
    Message was edited by: Olaf Reiss

    In addition:
    The last log entry in my default trace shows the lock (see the log below).
    #1.5#00A0D1B98E97003F0000003700000ABC0003FDCE40F58480#1123487225039#com.sap.portal.pcd.Gl.Admin#sap.com/irj#com.sap.portal.pcd.Gl.Admin#Guest#108####9627f24107e011da8c3d00a0d1b98e97#SAPEngine_Application_Thread[impl:3]_13##0#0#Info#1#/System/Server#Plain###[Pcd.getServiceUser] Found service user#
    #1.5#00A0D1B98E97003F0000004C00000ABC0003FDCE41B1C36F#1123487237376#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#Guest#108####9627f24107e011da8c3d00a0d1b98e97#SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#/System/Server#Plain###[LoggerManager] Logger appr_logger - definition not found! All mesagges will be send to the location com.sap.portal.portal. Please define the locationName in logger.xml. Method call stack - see trace message in com.sap.portal.runtime#
    #1.5#00A0D1B98E9700400000000100000ABC0003FDCFC6423603#1123493756583#com.sap.engine.services.deploy##com.sap.engine.services.deploy#Administrator#243####6bc3dce007ee11da8eff00a0d1b98e97#SAPEngine_Application_Thread[impl:3]_31##0#0#Error#1#/System/Server#Java#deploy_5070##Already started operation with application sap.com/irj in the cluster. No other operation with this application is allowed at the moment.#1#sap.com/irj#
    #1.5#00A0D1B98E9700400000000200000ABC0003FDCFC642384A#1123493756583#com.sap.engine.services.deploy##com.sap.engine.services.deploy#Administrator#243####6bc3dce007ee11da8eff00a0d1b98e97#SAPEngine_Application_Thread[impl:3]_31##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Already started operation with application sap.com/irj in the cluster. No other operation with this application is allowed at the moment.
                at com.sap.engine.services.deploy.server.TransactionManager.lockApplication(TransactionManager.java:138)
                at com.sap.engine.services.deploy.server.TransactionManager.registerTransactionWithLock(TransactionManager.java:89)
                at com.sap.engine.services.deploy.server.DeployServiceImpl.registerTransactionWithLock(DeployServiceImpl.java:1847)
                at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3031)
                at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:580)
                at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
                at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
                at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
                at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
                at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                at java.security.AccessController.doPrivileged(Native Method)
                at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
                at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
    Caused by: com.sap.engine.frame.core.locking.LockException: Cannot lock [2005080809460049600000sgisbruap33t...............205004850, DEPLOY_LOCK_AREA, sap.com/irj, X]; it is in use by the same owner.
                at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:160)
                at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:420)
                at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:1090)
                at com.sap.engine.services.deploy.server.TransactionManager.lockApplication(TransactionManager.java:127)
                ... 14 more
    #1.5#00A0D1B98E9700410000000100000ABC0003FDD02BBCE425#1123495458931#com.sap.engine.services.deploy##com.sap.engine.services.deploy#Administrator#244####c8de4c3007f311daa13f00a0d1b98e97#3     Telnet 172.28.138.95      Mon Aug 08 12:03:48 CEST 2005##0#0#Error#1#/System/Server#Java#deploy_5005##Application com.sap/irj is not deployed on cluster element Server 0 20_50048 and it is not possible to get its status.#3#com.sap/irj#Server 0 20_50048#get its status#
    #1.5#00A0D1B98E9700410000000200000ABC0003FDD02BBCE60C#1123495458931#com.sap.engine.services.deploy##com.sap.engine.services.deploy#Administrator#244####c8de4c3007f311daa13f00a0d1b98e97#3     Telnet 172.28.138.95      Mon Aug 08 12:03:48 CEST 2005##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application com.sap/irj is not deployed on cluster element Server 0 20_50048 and it is not possible to get its status.
                at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3712)
                at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1256)
                at com.sap.engine.services.deploy.command.GetStatusCommand.exec(GetStatusCommand.java:104)
                at com.sap.engine.services.shell.processor.environment.CommandBase.exec(CommandBase.java:132)
                at com.sap.engine.services.shell.processor.Interpreter.applyLineCommand(Interpreter.java:391)
                at com.sap.engine.services.shell.processor.Interpreter.apply(Interpreter.java:150)
                at com.sap.engine.services.shell.processor.Shell.work(Shell.java:142)
                at com.sap.engine.services.shell.processor.managers.ShellProcessThread.run(ShellProcessThread.java:113)

  • Caching problem w/ primary-foreign key mapping

    I have seen this a couple of times now. It is not consistent enough to
    create a simple reproducible test case, so I will have to describe it to you
    with an example and hope you can track it down. It only occurs when caching
    is enabled.
    Here are the classes:
    class C1 { int id; C2 c2; }
    class C2 { int id; C1 c1; }
    Each class uses application identity using static nested Id classes: C1.Id
    and C2.Id. What is unusual is that the same value is used for both
    instances:
    int id = nextId();
    C1 c1 = new C1(id);
    C2 c2 = new C2(id);
    c1.c2 = c2;
    c2.c1 = c1;
    This all works fine using optimistic transactions with caching disabled.
    Although the integer values are the same, the oids are unique because each
    class defines its own unique oid class.
    Here is the schema and mapping (this works with caching disabled but fails
    with caching enabled):
    table t1: column id integer, column revision integer, primary key (id)
    table t2: column id integer, column revision integer, primary key (id)
    <jdo>
    <package name="test">
    <class name="C1" objectid-class="C1$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t1"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c2">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    <class name="C2" objectid-class="C2$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t2"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c1">
    <extension vendor-name="kodo" key="dependent" value="true"/>
    <extension vendor-name="kodo" key="inverse-owner" value="c2"/>
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="table" value="t1"/>
    <extension vendor-name="kodo" key="ref-column.id" value="id"/>
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    </package>
    </jdo>
    Because the ids are known to be the same, the primary key values are also
    used as foreign key values. Accessing C2.c1 is always non-null when caching
    is disabled. With caching is enabled C2.c1 is usually non-null but sometimes
    null. When it is null we get warnings about dangling references to deleted
    instances with id values of 0 and other similar warnings.
    The workaround is to add a redundant column with the same value. For some
    reason this works around the caching problem (this is unnecessary with
    caching disabled):
    table t1: column id integer, column id2 integer, column revision integer,
    primary key (id), unique index (id2)
    table t2: column id integer, column revision integer, primary key (id)
    <jdo>
    <package name="test">
    <class name="C1" objectid-class="C1$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t1"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c2">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.id" value="id2"/>
    </extension>
    </field>
    </class>
    <class name="C2" objectid-class="C2$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t2"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c1">
    <extension vendor-name="kodo" key="dependent" value="true"/>
    <extension vendor-name="kodo" key="inverse-owner" value="c2"/>
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="table" value="t1"/>
    <extension vendor-name="kodo" key="ref-column.id" value="id2"/>
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    </package>
    </jdo>
    Needless to say, the extra column adds a lot of overhead, including the
    addition of a second unique index, for no value other than working around
    the caching defect.

    Tom-
    The first thing that I think of whenever I see a problem like this is
    that the equals() and hashCode() methods of your application identity
    classes are not correct. Can you check them to ensure that they are
    written in accordance to the guidelines at:
    http://docs.solarmetric.com/manual.html#jdo_overview_pc_identity_application
    If that doesn't help address the problem, can you post the code for your
    application identity classes so we can double-check, and we will try to
    determine what might be causing the problem.
    In article <[email protected]>, Tom Landon wrote:
    I have seen this a couple of times now. It is not consistent enough to
    create a simple reproducible test case, so I will have to describe it to you
    with an example and hope you can track it down. It only occurs when caching
    is enabled.
    Here are the classes:
    class C1 { int id; C2 c2; }
    class C2 { int id; C1 c1; }
    Each class uses application identity using static nested Id classes: C1.Id
    and C2.Id. What is unusual is that the same value is used for both
    instances:
    int id = nextId();
    C1 c1 = new C1(id);
    C2 c2 = new C2(id);
    c1.c2 = c2;
    c2.c1 = c1;
    This all works fine using optimistic transactions with caching disabled.
    Although the integer values are the same, the oids are unique because each
    class defines its own unique oid class.
    Here is the schema and mapping (this works with caching disabled but fails
    with caching enabled):
    table t1: column id integer, column revision integer, primary key (id)
    table t2: column id integer, column revision integer, primary key (id)
    <jdo>
    <package name="test">
    <class name="C1" objectid-class="C1$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t1"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c2">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    <class name="C2" objectid-class="C2$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t2"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c1">
    <extension vendor-name="kodo" key="dependent" value="true"/>
    <extension vendor-name="kodo" key="inverse-owner" value="c2"/>
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="table" value="t1"/>
    <extension vendor-name="kodo" key="ref-column.id" value="id"/>
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    </package>
    </jdo>
    Because the ids are known to be the same, the primary key values are also
    used as foreign key values. Accessing C2.c1 is always non-null when caching
    is disabled. With caching is enabled C2.c1 is usually non-null but sometimes
    null. When it is null we get warnings about dangling references to deleted
    instances with id values of 0 and other similar warnings.
    The workaround is to add a redundant column with the same value. For some
    reason this works around the caching problem (this is unnecessary with
    caching disabled):
    table t1: column id integer, column id2 integer, column revision integer,
    primary key (id), unique index (id2)
    table t2: column id integer, column revision integer, primary key (id)
    <jdo>
    <package name="test">
    <class name="C1" objectid-class="C1$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t1"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c2">
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="column.id" value="id2"/>
    </extension>
    </field>
    </class>
    <class name="C2" objectid-class="C2$Id">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t2"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column" value="revision"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map" value="value">
    <extension vendor-name="kodo" key="column" value="id"/>
    </extension>
    </field>
    <field name="c1">
    <extension vendor-name="kodo" key="dependent" value="true"/>
    <extension vendor-name="kodo" key="inverse-owner" value="c2"/>
    <extension vendor-name="kodo" key="jdbc-field-map" value="one-one">
    <extension vendor-name="kodo" key="table" value="t1"/>
    <extension vendor-name="kodo" key="ref-column.id" value="id2"/>
    <extension vendor-name="kodo" key="column.id" value="id"/>
    </extension>
    </field>
    </class>
    </package>
    </jdo>
    Needless to say, the extra column adds a lot of overhead, including the
    addition of a second unique index, for no value other than working around
    the caching defect.
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • I am facing a caching problem in the Web-Application that I've developed us

    Dear Friends,
    I am facing a caching problem in the Web-Application that I've developed using Java/JSP/Servlet.
    Problem Description: In this application when a hyperlink is clicked it is supposed to go the Handling Servlet and then servlet will fetch the data (using DAO layer) and will store in the session. After this the servlet will forward the request to the view JSP to present the data. The JSP access the object stored in the session and displays the data.
    However, when the link is clicked second time then the request is not received by our servlet and the cached(prev data) page is shown. If we refresh the page then request come to the servlet and we get correct data. But as you will also agree that we don't want the users to refresh the page again and again to get the updated data.
    We've included these lines in JSPs also but it does no good:
    <%
    response.setHeader("Expires", "0");
    response.setHeader("Cache-Control" ,"no-cache, must-revalidate");
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Cache-Control","no-store");
    %>
    Request you to please give a solution for the same.
    Thanks & Regards,
    Mohan

    However, when the link is clicked second time then the request is not received by our servlet Impossible mate.. can you show your code. You sure there are no javascript errors ?
    Why dont you just remove your object from the session after displaying the data from it and see if your page "automatically" hits the servlet when the link is clicked.
    cheers..
    S

  • Bridge update does not fix caching problems.

    Dear Adobe,
    The 5.0.1.23 update for Bridge CS6 does NOT fix the problem of constantly re-caching layered TIF files.
    I originaly reported the problem here on May 16, 2012.
    http://forums.adobe.com/thread/1007560
    At that time I also submitted a bug report via photoshop.com, and received an e-mail response from Adobe support confirming the problem had been replicated in their lab and promising a fix in the next update.
    I've since tracked several other reports of this bug and related cache problems.
    I assume that, at best, we will have to wait another 6 months or more for the next update. How can I assure this bug will be addressed?

    redcrown on guard wrote:
    The 5.0.1.23 update for Bridge CS6 does NOT fix the problem of constantly re-caching layered TIF files.
    At that time I also submitted a bug report via photoshop.com, and received an e-mail response from Adobe support confirming the problem had been replicated in their lab and promising a fix in the next update.
    Thank you for this bit of information. Maybe it means I can stop the deactivations/uninstall/reinstall/reactivate cycle to try yet another solution. And hopefully, this will stop the re-caching problem with other than tif files.
    regards
    *S*

  • Caching problem in Chrome and Firefox

    Hey folks,
    I ran into a weird problem.  I created a video player based on the Strobe Media Playback.  I added a couple of plugins.  This player is used to watch progressive download FLV files.
    I ran into the following issue.  I watch part of a video.  I select another one.  Then I select the previous one again.  Only the cached portion of the first video is shown.  The entire video will not be downloaded again from the server, but only the portion already cached on the client.
    This problem is really bad in Chrome.  When I restart FF, I can watch the entire video.  Not in Chrome.  The only way to solve this in Chrome is to clear the cache.
    Any ideas?
    The website is live, so you can test this yourselve.  http://www.submergeproductions.com/videos.aspx
    All help very welcome, because this is a major issue.
    Follow up.  I made a quick fix.  I added a random number to the FLV url to force a redownload from the server, but this quite a dirty fix. I would rather have a restart/continuation of the download if the file was only partially downloaded.
    Thanks,
    Peter

    Hi Silviu,
    the reason why it works now is because I uploaded a modified version.  I append "?<random number> to the URL.  That prevents caching problems because the browser hasn't got the version cached.  But I still report it as a bug.
    Peter

  • Caching problem of servlet

    Hi guys
    We are facing this problem of caching within our project. The project aims to generate a html code to pick up some rich media ads details at random and displaying on the html file where the generated code is expected to be pasted. We developed two servlets, one which extracts the ads from the database randomly and then depanding on the ad type it calls the other servlet as src of an iframe, which in turn puts all code for displaying the rich media ads. The script which we are generating for the user to paste onto their pages is:
    <script LANGUAGE="JAVASCRIPT" src="http://192.168.1.6:8080/advert_java/servlet/GetAdServlet?region=1&zone=1&type=nossi&cachevar=yes">
    </script>First servlet (GetAdServlet) returns the javascript statements and thus is called using this generated code. Now cotents of the iframe are supplied by the second servlet ie richMediaServlet. This servlet is called like
    iframeURL = fullHttpDir+"/servlet/RichMediaServlet?";
    iframeURL += "bannerCode="+ RNBanner (BannerCode to be called);
    out.println("document.write(\"<iframe  src='"  + iframeURL +  "' height=" + hheight +" width="+ wwidth + " SCROLLING=no FRAMEBORDER=0 MARGINWIDTH=2 MARGINHEIGHT=2 onfocus='window.focus(); return iframeFocus()'>\");");
    out.println("document.write(\"</iframe>\");");This richmediaServlet returns HTML into <iframe>. when richmediaservlet is called, a parameter 'bannerCode' is passed. then richmediaServlet fatches the banner from the database and displays the banner into the <iframe>.
    Now the problem comes when we run the html file containing the script tag mentioned above, and refresh our page, ideally it should pick the ads randomly and pass it on to RichMediaServlet.
    I also try debugging both servlets. I called the getadservlet from javascript mentioned above and put debugging info in both the servlets, now for every refresh we do on the html side, we are getting a different random bannercode in adservlet but in richmedia when we print the bannercode received in querystring it is taking an older value which was displayed some time back and keeps on doing this for quiet a long time, making it look like some caching problem of RichMediaServlet.
    Instead when we tried to put the same html <script> code into another servlet's doGet, everything seems to be working fine.
    i have also used the following code to prevent the caching on both the setvlets
    long currentTime = System.currentTimeMillis();
    response.setHeader("Cache-Control", "no-cache, must-revalidate");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("Last-modified", currentTime);
    response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");     and following in the iframe's head tag before the iframe tag in the getAdServlet.
    out.println("document.write('<head>');");
    out.println("document.write('<meta http-equiv=\"Cache-Control\" content=\"no-cache,must-revalidate\">');");
    out.println("document.write('<meta http-equiv=\"Pragma\" content=\"no-cache\">');");
    out.println("document.write('<meta http-equiv=\"Last-modified\" content=\""+ currentTime + "\">');");
    out.println("document.write('<meta http-equiv=\"expires\" content=\"Sat, 6 May 1995 12:00:00 GMT\">');");
    out.println("document.write('</head>');");I request you all geeks to try and help me to your best. The project is at its final stages and in high urgency now.

    i think the caching is being in the browser, with the iframe.
    You should try passing a random param to the servlet in the iframe URL, something like:
    var a = Math.random() * 10000000; //for example
    out.println("document.write(\"<iframe  src='"  + iframeURL +"&rand="+a+"' height=" + hheight +" width="+ wwidth + " SCROLLING=no FRAMEBORDER=0 MARGINWIDTH=2 MARGINHEIGHT=2 onfocus='window.focus(); return iframeFocus()'>\");");
    out.println("document.write(\"</iframe>\");");
    ...It should force the browser to ask for the servlet again
    hope this helps...

  • Caching problem with Internet Explorer

    Hi,
    users of an ApEx application I'm working on are reporting that when they're deleting an uploaded file from one of the pages in the application (using Internet Explorer), the link to the file remains. This is however not an issue in FireFox, and after some research I found out that this is a caching problem in IE. It can be avoided by making IE check for newer versions of stored pages every time a page is visited, but it is clearly not an option to ask all our users to do this. I also learned that it can be fixed by randomizing the file URL every time the page is loaded, but I don't know how to randomize a URL, nor how to make it still point to the uploaded file.. Any help would be appreciated!
    Thanks,
    -Kjetil

    Kjetil,
    This problem is also there if you use Flash Charts with a drilldown. See this posting:
    http://www.deneskubicek.blogspot.com/
    It will also link you to a corresponding thread and to an example in my demo application.
    The idea with a random number changing you link is the same I used in extending my
    xml chart package.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • ADF cache problem

    Hello,
    I'm developing a web application with an ADF tree accessing to a Content DB repository. When I deploy the application and navigate to the tree everything look fine. The problem occurs, when the content of the repository changed outside of the web application (e.g. a file will be deleted with Oracle drive), the tree doesn't display the changes. The only way to get the right state of the tree, clear the browser cache and reload the page again. In my opinion it looks like a caching problem. Putting the following meta information in the html header also failed!
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="expires" content="0"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    Is there a possibility to disable the caching of such ADF components?
    Hope you can help me!
    Thanks,
    Alex

    This will probably help you: http://www.oracle.com/technology/products/ias/web_cache/afc/index.html
    Regards,
    Koen Verhulst

  • Cache problem for this

    Hi
    in the saw.sessionsinfo.xml file ,i change the home link prop true to false
    but it not remove from the presentation side
    below is my file
    Below is my script file
    plz check it
    give if any errors
    <?xml version="1.0" encoding="UTF-8"?>
    <resourceBundle xmlns="oracle.bi.ps.resourceBundle/v1">
    <gdexpression id="noLogoffUI" expr="session.hideLogoffLink" />
    <gdexpression id="syndicate" expr="session.syndicate" />
    <gdexpression id="canAccessDashboards" expr="privileges.Access['Global Portal']" />
    <gdexpression id="hdrLinkCatalog" expr="true" />
    <gdexpression id="hdrLinkOpen" expr="true" />
    <gdexpression id="hdrLinkAdvanced" expr="true" />
    <gdexpression id="hdrLinkHelp" expr="true" />
    <gdexpression id="hdrLinkHome" expr="false" />
    <gdexpression id="hdrLinkGSearch" expr="true" />
    <gdexpression id="hdrLinkNew" expr="true" />
    <gdexpression id="hdrLinkDashboards" expr="true" />
    <gdexpression id="hdrLinkSettings" expr="true" />
    <gdexpression id="bipKeepAlive" expr="session.bipKeepAlive" />
    <gdexpression id="bipWebUrl" expr="system.config['AdvancedReporting/WebURL']" />
    <gdexpression id="bipExternalRepository" expr="system.config['AdvancedReporting/ExternalRepository']" />
    <gdexpression id="biComposerContext" expr="system.config['BIComposer/ContextPath']" />
    </resourceBundle>
    plz anybody give solution for this
    Edited by: ARYABRAHMA on Feb 5, 2013 3:38 AM

    is cache problem for this

  • Qaaws not refreshing query triggered from Xcelsius, maybe a cache problem

    Hi,
    I'm having a problem with QAAWS and Xcelsius
    I'm using a List Builder component to select multiple values in this case STATES from the efashion universe
    I use the selected states as values to feed a prompt in a QAAWS query, the qwaas query has  the SALES REVENUE as the resultset and in the conditions it has a multi prompt for STATES
    When I preview my dashboard, I select the States, then UPDATE the values and then refresh the query with a CONNECTION REFRESH button, The first time I do this it works fine and returns the Sales revenue.
    If I add a new State to my selection and then run update and run run again the query with the refresh button, it doesn't work any more and it shows again the value retrieved from the first query
    First I thought that the query wasn't triggered by Xcelsius, but by doing some more tests I found that actually the query runs but it returns the value from the first query
    I think this is a cache problem , so is there a way to tell QAAWS to always run the query and not use the cache?
    thanks,
    Alejandro

    Hello Alejandro,
    QaaWS indeed uses a cache mechanism to speed up some Xcelsius interactions (from XI 3.0 onwards), but your issue should not be induced by this, as cache sessions are discriminated according to session user id & prompt values, so if you are correctly passing prompt values, QaaWS should not serve you with the previous values by error.
    Could you specify how you are passing several prompt values to the QaaWS? There might be an issue there, so make sure that:
    1. QaaWS query prompt is set using In List operator, otherwise only first value will actually be taken into account,
    2. In Xcelsius Designer Data Manager, web service input paremeters are duplicated to accept several input values (you cannot submit you list of prompt values as a list to a single input parameter).
    If this still does not work, I'd suggest you debug your dashboard runtime using an HTTP sniffer like Fiddler (available from http://www.fiddler2.com/) which enable you to inspect the sent & recieved HTTP messages with the server, where you should verify which prompt values are sent to the QaaWS servlet.
    FYI, you can set the QaaWS cache lifetime for each query, by going into QaaWS edition first wizard screen, click Advanced... button and change value for timeout parameter (default is 60 seconds)
    Hope that helps,
    David.

  • ASO cache problem with Windows 7

    I have a large base of AS2 classes that support my application.  I've been working on it for a few years and I'm very familiar with the ASO cache problem that causes edits to not be compiled.  Well, I hit it today and I can't get rid of the old files.  I'm running CS5.5 and I used the menu first.  Then I manually deleted the ASO files.  Then I rebooted the computer and searched the entire C: drive for ASO files and deleted all of them.  Nothing worked.  I finally renamed one of my class files (and the the necessary edits that flowed therefrom) and that one file was recompiled. Obviously there is a hidden cached file somewhere.  I have Win7 Pro 64-bit.  Has anyone had a similar problem?  The last thing I want to have to do is rename all of my class files or tear down and rebuild my development box.  TIA

    3.1 is not "fine" and the drivers leave much to be desired.
    You will probably need to do a Safe Mode and uninstall, rollback, system restore. Use your DVD for Windows 7.
    Not sure of the support issues and details on MacBook Pro 13" as to whether you have graphic driver issue, AppleHFS, or other (and to say 'total hangup' doesn't really lead to what and why).

  • Touchscreen TV app slows down - caching problem?

    We have created an interactive Touchscreen using flash CS4 - http://www.cadstudio.co.nz/client_hlc/home.swf
    The Touchscreen is already in the showroom.
    Every morning it is restarted.
    By midday the whole application slows down to the point were it becomes very slow.
    I presume this is a caching problem.
    In order to resolve this we close down IE and restart it (playing the SWF file through Internet Explore on full screen mode).
    Once it has restarted it plays at the correct speed.
    Does any one know of a solution to this problem?
    I have thought about setting up windows 7 to reboot IE and have the flash file restart every few hours however a client may be navigating through the
    display when it reboots it self. I would prefer to avoid this if possible.
    Thanks.

    The Touchscreen TV is offsite however i will try and monitor it with that application you sent through.
    I have just read that using event listeners may cause the problem.

  • PI Caching Problem

    Hello Experts,
    we are faced with a strange problem. We are using SAP PI 7.1 EHP 1 and we have developed some integration processes. Now we have transported our software component to another SAP PI 7.1 without EHP 1. Transport also was successful.
    Everything worked fine. Then we did some changes in our software component and transported it again. Now we are faced with the problem that one of our four intergration processes have not been upgraded after the transport. In the sxi_cache the integration process always have the date of the first transport of our software component.
    Can anybody help? All cache refreshes and a restart of the PI dont solved the problem.
    We also did a copy of this integration process and activated it. The copy is never shown in the sxi_cache. It seem like the integration process doesn't exist. But he is there.
    Have anybody ever had the same problem? How you solved this?
    Thanks for your help in advance.

    Go to http://<host>:<java port>/rwb/sub/cache_monitoring/notification_table and look into problems tab to get more details regarding cache problems on your system.
    You can fix the problem by creating a new version of the object in dev and transporting it
    OR
    Doing a full cache refresh in SXI_CACHE

  • Possible caching problem

    I have a Pag1.jsp with 2 buttons, a dropdown with a button, as well as a datatable with an action link. Everthing works fine; the buttons, action links and dropdown. The problem arises with the actionLink; on the remote jsp pages the user can hit a button which takes him back to page 1.jsp. HOWEVER, IF HE USES THE BROWSER'S BACK ARROW HE GOES BACK TO PAGE1.JSP, BUT NOW THE 2 BUTTONs NO LONGER DIRECT PROPERLY, BUT SEND HIM TO THE LAST PAGE THE ACTIONLINK DIRECTED HIM TO. This problem is only caused by the browser back arrow and is removed by going to page1.jsp and hitting the refresh button...Is this a caching problem and what can I do about? Thanks for taking the time to read this.

    Hi ,
    I tried reproducing your problem with information provided by you , but was not able to reproduce. I was successful in bringing up the correct JSP pages on the click of buttons. The browsers back button takes me to the previous visited page and the button ,Action Links redirect me to the right JSP pages.
    Regards,
    Creator Team.

Maybe you are looking for

  • Web Dynpro OVS question

    Hi, I'm calling an OVS custom search help for an input field in a table. The problem is the value list of the search help should be obtained depending on the value of the input field, and other values in the same table line. Hence for each table line

  • Parameter Metadata?

    Post Author: nweber CA Forum: JAVA We've just added about 20 reports and were hoping to use the same general purpose dynamically populated parameter screen for all of them.  I expected that I would be able to query a report for the list of parameters

  • Bandwidth control on WLC

    Hi, There is some kind of bandwidth control for ssid guest on the WLC?

  • Copy a folder from one user to another  with the enterprise SDK

    Can anyone tell me how to copy a request in "My favorites" from one User to another with the enterprise SDK ? thanks in advance a great day to you'all Quentin

  • How to reinstall SSOUI ?

    Hi There, Due to login problems I want to reinstall SSOUI. Where or what do I need to download to install SSOUI ? (allready uninstalled SSOUI, and installed social, qt and reinstalled the latest firmware, but no succes here) Thanks in advance, Reg