How to stop caching on the server

Hello,
Can anyone please guide me as to how do we disable caching on the
portal server since the changes i am making in the JSP pages are not
reflected immediately. I have already cleared the browser cache but now i
want to clear the cache on the portalserver. I have also cleared all the
class files created when the jsp was compiled but still there is no change.
If anyone has faced similar problems and can throw some light on it.
akshay

Akshay
I faced the same problem as you did.I went thru what Adrian advisesd and it works.Did
you update teh correct XML file?.In my case,the weblogic.xml file is whawt holds
this property and resides in
D:\wlportal4.0\applications\portal\dp2\WEB-INF\weblogic.xml
where 'dp2' is the sample portal iam working on.
I hope this helps.
- Logesh
"akshay" <[email protected]> wrote:
Hi Adrian,
Thanks again for the quick reply but even this setting
did not
work.
This has created a major development problem and the only way out i found
was either to restart the server or change the name of the file which
i am
accessing. Please suggest some other way to achieve this no caching state
on
the server i even cleared the browser cache.
Thanks in advance
akshay
"Adrian Fletcher" <[email protected]> wrote in message
news:[email protected]...
Akshay,
Ok, now I understand your problem. What you need to do is to changethe
JSP
operating parameters for this webapp. These parameters are found inthe
weblogic.xml file associated with your webapp. The reference for thejsp
descriptor element can be found here:
http://edocs/wls/docs61/webapp/weblogic_xml.html#1012195
I think the parameter you need to change is pageCheckSeconds. Ifyou set
this to 0 then the page is checked every request.
Hope this helps,
Sincerely,
Adrian.
Adrian Fletcher.
Senior Software Engineer,
BEA Systems, Inc.
Boulder, CO.
email: [email protected]
"akshay" <[email protected]> wrote in message
news:[email protected]...
Hi adrian,
Thanks for your quick reply I am not aware about theclustered
environment but here i have created a jsp page (named first.sjp)
to
check
a
connection pool i have created which i have placed it along with
the
index.jsp page of stockportal and using the following URl i havemade a
request http://<myportalserver>:7501/stockportal/first.jsp the first
time
when i request for this page it works fine -- the data flows perfectlybut
after making any changes say for example if i change the table name
from
where the data is to be fetched
it does not show me the new data it shows me the data from the previous
table. whereas if i change the name of the jsp page and request itworks
fine. I want to disable this caching
at the server to make this thing work i cleared all the cache ofthe
browser
but still could not achieve no cache state.
thanks in advance
akshay
"Adrian Fletcher" <[email protected]> wrote in message
news:[email protected]...
Akshay,
The design of the caching in portal is such that all changes should
be
reflected immediately, even across a cluster. However there isone
outstanding issue around a performance enhancement for the anonymoususer
case, where this cache is not updated unless the associated .portal
file
is
datasynced. So for changes to the default group either test with
a
logged
in
user of this group or do a datasync to clear the cache.
If this does not solve your problem please let us know.
Sincerely,
Adrian.
Adrian Fletcher.
Senior Software Engineer,
BEA Systems, Inc.
Boulder, CO.
email: [email protected]
"akshay" <[email protected]> wrote in message
news:[email protected]...
Hello,
Can anyone please guide me as to how do we disable caching
on
the
portal server since the changes i am making in the JSP pages
are not
reflected immediately. I have already cleared the browser cachebut
now
i
want to clear the cache on the portalserver. I have also cleared
all
the
class files created when the jsp was compiled but still there
is no
change.
If anyone has faced similar problems and can throw some light
on it.
akshay

Similar Messages

  • How to STOP and START the BO EXPLORER/POLESTAR - LINUX

    Dear friends,
    Could you please let me know on How to STOP and START the BO EXPLORER/POLESTAR on LINUX platform?
    Thank you,
    Nikee

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • How to Stop and restart the midtier?

    Hello All,
    I have installed Oracle AS (Infraturcture & middle tier , BI & Forms) on same Linux box.i.e: Oracle As 10.1.2.0.2 (Rel 2, x86 for Linux), SLES 9
    Here is my question:
    How to Stop and restart the midtier?
    Regards,
    DN

    biforms.sh
    export ORACLE_HOME=/opt/oracle/biforms
    export OH=$ORACLE_HOME
    export PATH=$OH/bin:$OH/opmn/bin:/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/bin
    export ORACLE_SID=ORCL
    export LD_LIBRARY_PATH=$OH/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib:/tools/lib
    infra.sh
    export ORACLE_HOME=/opt/oracle/infra  <-- or correct one!
    export OH=$ORACLE_HOME
    export PATH=$OH/bin:$OH/opmn/bin:/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/bin
    export ORACLE_SID=ORCL
    export LD_LIBRARY_PATH=$OH/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib:/tools/libAs you see, only the first row differs from these two scrips. Because I'm lazy, I usualy set export OH. Under certain circumstances you might want to add DISPLAY to biforms.sh. Set it to localhost:0 or whatever is correct.
    Martin

  • How to Stop and restart the OC4J_BI_FORMS?

    I have Oracle AS 10.1.2.0.2 (Rel 2) installed. (Infratsructure & BI & Forms) on same computer.
    my question is :
    How to Stop and restart the OC4J_BI_FORMS?
    Regards,
    DN

    Just as any other OC4J:
    opmnctl stopproc -process-type=OC4J_BI_FORMS
    opmnctl startproc -process-type=OC4J_BI_FORMS
    or
    opmnctl restartproc -process-type=OC4J_BI_FORMS
    cu
    Andreas

  • My new nano keeps going into sleep mode every copy of minutes while music is playing.  I can't figure out how to stop this.  The user guide isn't too helpful.  Any ideas?

    My new nano keeps going into sleep mode every copy of minutes while music is playing.  I can't figure out how to stop this.  The user guide isn't too helpful.  Any ideas?

    This is usually a sign that your iPod's headphones are not plugged in all the way.  Make sure that you cannot see any of the silver still showing from the headphone's plug.  You should hear a sort of popping/clicking noise when inserting the headphones letting you know that they have been fully seated.
    B-rock

  • How to change language of the server monitor ?

    hi all,
    How to change language of the server monitor ? i got it in japanese and would like to turn it into English.
    Thx for your help,

    We use japanese strings only when your server locale has "jp": FindNoCase("Japan", GetLocale()) NEQ 0. So you may not be able to individually change  server monitor's flash client, but there are two ways to change it back to english on server level
    1) Check your server locale and change it to anything but japanese.
    2) Rename smresource_en.xml to smresource_jp.xml in CFIDE\administrator\monitor (take a back up).
    Thanks,
    Chandan Kumar

  • HT204389 Can any tell me how i stop siri sayin the words i am typing when typing a message??

    Can any tell me how i stop siri sayin the words i am typing when typing a message??

    Hellooo Frndz....:)  i have to use UISplitviewController.and I want to do add UISplitViewController To UINavigationController but problem is that i can't do this...:(   i use MGSplitViewController Bt I Dont know Perfectly Use Of MGSplitViewController...
    so , plz give me answer for how to add UISplitViewController to UINavigationController ???
    --THNKS>>

  • Apple Mail has stopped talking to the server, or so it seem

    My Apple Mail has stopped talking to the server (Mobile Me), or so it seems. I was sending a couple of attachments the other day and too late realised that they were huge. They were PDF's I'd done, and I hadn't checked the size, so I ended up with 32Mb of attachments on a single email.
    This seemed to mess things up. I tried deleting the sending message from Mail as I couldn't seem to stop it sending, which I think I managed to do, but it kept reappearing in the drafts and deleted folders.
    I can access mail fine from Mobile Me and have managed to send what I needed from there, but now Mail doesn't seem to connect to the server (I just get the wheel), and whilst its trying my other mail accounts, which are on another ISP, disconnect.
    Mail is giving me an error message now when I try to quit: +"Some actions taken while the account "me.com" was offline could not be completed online"+. The additional info says that operation could not be completed: MFMessageErrorDomain error 1028
    Can anyone point me in the right direction to resolve this?
    Many thanks...

    R,
    Not looking the correct place. Home means to click on he Icon of House that represents your user account folder as found in the sidebar of every Finder window. Then in that User Library. You clicked on the hard drive icon, but then looked in the Library at its root level -- wrong Library.
    Also can be written as ~/Library.
    Ernie
    Message was edited by: Ernie Stamper

  • How To Stop Bridge Rebuilding the Cache Unnecessarily

    The Problem
    For me, this problem was manifest on a MacBook Pro with an external hard drive attached.  The hard drive would be perpetually working and both it, and the laptop, would be getting extremely hot as a result.
    Bridge would keep rebuilding the cache in folders to which the cache had been exported; and even when the contents had not been changed, nor the folder renamed and/or moved.  There was, therefore, no reason for Bridge to rebuild the cache – but there it was churning away.
    The solution
    The solution is simple, once you have eliminated all the other possibilities (see below) – and that is to increase the Adobe Camera Raw cache to something substantial (between 10 and 20 GB).  This will eliminate the endless rebuilding.  This can be set in Camera Raw's Preferences.
    Comments
    I discovered this solution on the Lightroom Forum, from users who were complaining of Lightroom being slow.  The explanation is that Lightroom derives its preview images from the Camera Raw cache.  Clearly this is also true for Bridge. If the cache is too small it may be that the preview images have been deleted to make way for other more recent ones and so it will have to 'rebuild' the cache deleting earlier preview images, thus producing an endless re-cycle of rebuilding – again and again.
    The deriving of preview images from Camera Raw's cache seems also to be confirmed by the behaviour of Bridge should Camera Raw be engaged on another task.  If this is the case, I have found that when using Bridge to view images it will start to rebuild its cache until Camera Raw is freed-up and then it will stop (having found the preview images it needs).
    Other Possibilities
    The above solution comes with the caveat that Bridge's cache is not corrupted; and that in Bridge's Preferences ‘Automatically Export to Folders Where Possible’ has been selected, and the cache items have been set to maximum (Bridge Preferences > Cache).  If using an external drive the drive preferences should be set so that it does not sleep.
    I hope this helps other who have struggled with this problem.  $35 please, Adobe.

    For those interested in the Camera Raw Cache here is a link  http://forums.adobe.com/message/3315333
    From what is said in the link it does not follow that it will reduce rebuilding the general cache as it is only cacheing raw image data, but if it works who am I to say what is going on.

  • Server crashed. How do I reset iPads so they stop looking for the server?

    I was using the OSX Server app on an old Mac Mini when it crashed. A cart of iPads had been set up to use Profile Manager with the Device Enrollment Program part of Apple Mobile Deployment. I have deleted the server from the Device Enrollment Program, but my iPads are stuck in set up looking for the server. I am willing to put them back in Configurator at this point, but Configurator will not recognize them. Help!

    Yes, MaxAuthTries is involved here as a limit, but -vvv should tell you more of what's going on...
    Warning: Permanently added '[FQDN]:2336' (RSA) to the list of known hosts.
    is normal for a new ssh connection.
    Too many authentication failures for USER
    usually means the password is wrong, or the ssh certificate is not accepted or not acceptable.   Or that you might possibly have tried a large number of different logins, and bumped into MaxAuthTries.
    Try an ssh from the client into the target box with the -vvv switch (and the proper target port, if you're not using 22 here), and see if you can duplicate the error.  The -vvv turns on gonzo logging.  Depending on what's going on, you might also have to turn on logging in sshd.  That's usually a configuration file option within the context of the daemon.
    For grins, I'd also check DNS services on both the client and the server; use sudo changeip -checkhostname on the server, and dig +short www.example.com (substitute the FQDN of the server) on the client.

  • How to stop and start Managed Server using weblogicServer

    Hi
    We are new.
    We have 2 managed servers and an Admin Server.
    We're trying to use the command line to stop/start our Managed Server.
    Could someone share examples on how one could write the command line that's similar to the WLS console Server Start tab ?
    We have a couple of classpaths and a bunch a arguments;
    When we tried to start one of the managed server it defaults to use some other settings as opposed to the ones in Server Start tab.
    What did we do wrong ?
    Thanks

    Hi,
    Follow the below links,each n every links have various methods and example for starting and stopping of Weblogic services
    We have 2 managed servers and an Admin Server.
    We're trying to use the command line to stop/start our Managed Server.http://docs.oracle.com/cd/E15523_01/core.1111/e10105/start.htm#CIHBIGCD
    We have a couple of classpaths and a bunch a arguments;http://docs.oracle.com/cd/E13222_01/wls/docs90/admin_ref/weblogicServer.html#frequently_used_optional_arguments
    http://docs.oracle.com/cd/E13222_01/wls/docs90/admin_ref/weblogicServer.html#1008628
    Regards
    Fabian

  • How to leave emails on the server in os7?

    Where is the option to leave a copy of all emails on the server on Iphone os7 when using IMAP accounts?  It used to be under settings, advanced, but in os7 I can't find it anywhere? all my emails downloaded to my iphone are deleted from the server and I need it to stop.

    Follow these directions, but pay attention to comment 1 regarding drafts. Best instructions I've seen on how to set gmail up as IMAP.
    http://complexdiagrams.com/2009/01/19/imap-for-gmail-mailapp-iphone/

  • How do I gracefully shutdown the server from a script?

    I have a shutdown class that stop the server.
    When I'm using 'stop the server' from the console (after configure a
    new shutdown class to config.xml) it work good.
    How do I do the same from a script (cmd, bat or sh - doesn't metter).

    http://edocs.bea.com/wls/docs81/ConsoleHelp/startstop.html#1212202
    "avishosh" <[email protected]> wrote in message
    news:[email protected]..
    I have a shutdown class that stop the server.
    When I'm using 'stop the server' from the console (after configure a
    new shutdown class to config.xml) it work good.
    How do I do the same from a script (cmd, bat or sh - doesn't metter).

  • How to stop to display the main report page header in the subreport!

    Hello all,
    I have an existed report that display the CR page header on every page of the report. Now I added another subreport into report footer without using link. How do I stop to display the main report page header and display the subreport in the new page with subreport header only? I really appreciate your time to help me out on this issue. Thanks.

    Hi,
    I tried to supress the page header with (onlastrecord and TotalpageCount > 1) condition, but the last page of main report without page header. I still like the page header display on last record, but not on the subreport only. How do I get it? Thanks in advance.

  • How to save files on the server?

    I want to save a log on the server, how can I do this using Oracle?
    In SQL Server I used the "bcp" command.
    Thanks.

    as forbrich suggested you can use the UTL_FILE built-in package. here is an example code to read and write to a file.
    CREATE OR REPLACE PROCEDURE Read_Write_File (pvInFile Varchar2,
                                                 pOutFile Varchar2) IS
    vInFile   utl_file.file_type;
    vOutFile  utl_file.file_type;
    vNewLine  VARCHAR2(4000);
    x         PLS_INTEGER;
    vFlag  BOOLEAN := TRUE;
    BEGIN
      -- assuming Your_Directory is $HOME/myTxtFiles in a Unix Platform
      -- to check if definition is existing Select Directory_Name, Directory_Path From All_Directories;
      vInFile := utl_file.fopen('Your_Directory',pInFile,'r');
      vOutFile := utl_file.fopen('Your_Directory',pOutFile, 'w');
      IF utl_file.is_open(vInFile) THEN
        LOOP
          BEGIN
            utl_file.get_line(vInFile, vNewLine);
            x := utl_file.fgetpos(vInFile);
            dbms_output.put_line(TO_CHAR(x));
            utl_file.put_line(vOutFile, vNewLine, FALSE);
            utl_file.fflush(vOutFile);
            IF vFlag = TRUE THEN
              utl_file.fseek(vInFile, NULL, -30);
              vFlag := FALSE;
            END IF;
          EXCEPTION
            WHEN NO_DATA_FOUND THEN
              EXIT;
          END;
        END LOOP;
        COMMIT;
      END IF;
      utl_file.fclose(vInFile);
      utl_file.fclose(vOutFile);
    EXCEPTION
      WHEN others THEN
        RAISE_APPLICATION_ERROR (-20099, 'Unknown UTL_FILE Error');
    END;
    /

Maybe you are looking for

  • How to update the pricing, sales area details in Campaign

    Hi All, I need to create a campaign in CRM through program. For the same I have created it using the below: 1. create a Profle set using "'BAPI_PROFILESET_CREATE' with the appropriate "segmenttype". 2. create a target group using " BAPI_TARGETGROUP_C

  • Need help to replace hexadcimal character in flat file

    Hi, I am loading data from flat file. My flat file contains some hexadecimal characters. Hence when I load the data the load fails. I have checked many routines on SDN but could not get exact solution. Actually in some of my fields TAB or CARRIAGE RE

  • JDBC..

    Hi! What are all the interfaces and classes that are available in latest JDBC version 3.0?. how can i retrieve the values from database without making use of ResultSet in JDBC?. is there any seperate methods are there other than Result Sets? -Thanx

  • How to Add Active Directory user to Admin Role

    Hi All, I am trying to figure out how to add a AD user to the Admin Role.. I am connected to AD and can see the user (myself), however, when I try to add myself to the admin role, it says user not found. I go to Security Realms > myreals > Roles and

  • Can I use suquery in Values calues

    Can i use Subquery in Values caluse. INsert into copy_emp values (select * from emp);