Jsp not refresh on prodution

when i redepoly an application by updating it, its jsps are not refreshed. but on dev env ,it's ok. the pro env has two machine,take them as A & B.A is the admin machine ,and the app is not the machine B. I update the app from A ,but its jsps never updated,i have to delete the app from A,and then redepolyit,then it's ok. can someone tell me why ,or how can i update jsps without delete and redepoly?
I delele the jsp cache, and it seems work now...
Edited by: San on 2012-1-15 下午6:52

Hi,
In prod page-check-seconds value would be -1 .
check your weblogic.xml file.
Sets the interval, in seconds, at which WebLogic Server checks to see if JSP files have changed and need recompiling. Dependencies are also checked and recursively reloaded if changed.
The value -1 means never check the pages. This is the default value in a production environment.
The value 0 means always check the pages.
The value 1 means check the pages every second. This is the default value in a development environment.
In a production environment where changes to a JSP are rare, consider changing the value of pageCheckSeconds to 60 or greater, according to your tuning requirements.
so according to it.
Regards,
Kal

Similar Messages

  • JSP NOT REFRESHING PROBLEM

    Hi all,
    I am usng iPlanet 6.0 Application Server and iPlanet Web Server 4.1. Whenever i am changing the JSP it's not refreshing i.e the changes are not taking. But once i stop and restart the server its working
    I changed in the kregedit tool
    in Software\iPlanet\6.0\CCSO\SYSTEM_JAVA\Versioning
    Disable =0
    JSP_CACHE_SIZE = 0
    and i guven even 10 in jsp_Cache_size.
    please if any one knows how to activate the jsp dynamic loading please give me your solutions
    Thanks in advance
    Venkatesan.C

    could this be a problem with your machine/ISP caching the jsp page, even though you set the property to never cache, some ignore this.
    Try 'shift' refresh and all should be well.
    Chris

  • Hyperlinked JSP Page does not refresh contents

    I have a very typical problem.
    In my application whenever I call a jsp page using hyperlink without any querystring attached to it the page called does not refresh. However when I press refresh on the browser it does refresh the contents. Basically in this page I am using some session variables to fetch data. So I do not call the page by passing querystring instead set the attributes of session variables and then the page is called as a hyperlink.
    However if I call the same page using submit the values are refreshed.
    Help on this urgently will be appreciated.
    Thanks
    Manish

    Just set 'no-cache' option for the jsp page and test it. It should work. only you need to do is
    response.setDateHeader("Expires",0);
         response.setHeader("Pragma","no-cache");
         if(request.getProtocol().equals("HTTP/1.1")) {
              response.setHeader("Cache-Control","no-cache");
    have fun!!
    ---rajsekhar

  • JSP pages are not refreshing under wl 6.1 sp1

              I thought this could have been a problem solved long time ago but after searched
              through this list I could not find any solutin.
              Basically any change to the JSP is not refreshed on my wl server. Even after I
              set my browser to have 0 siye disk cache, 0 siye memory cache, and set the cache
              file name to something non-exists, the cached page kept coming back! It must have
              been cached by the web server. Deleting all the tmp files under WEB-INF did not
              work. Redeploy the web app did not work. Even after I restarted the server, it
              still sent me the old pages!!
              I must have missed something here???
              Many thanks and regards,
              Charles
              

    Have a look at this page:
              http://e-docs.bea.com/wls/docs61/////webapp/weblogic_xml.html#1012760
              The parameter "workingDir" is probably what you're looking for.
              Hope that helps,
              Nils
              Charles Chen wrote:
              >
              > Unbelievable!
              >
              > Here is what I found where the problem is:
              >
              > Apparently weblogic 6.1 sp1 is compiling and cacheing the JSP pages in the directory
              > /var/tmp!! That explains why even after I restart the server and still got the
              > old page! After remove the /vat/tmp/jsp_servlet/_jsp directory, I finally got
              > my changes recompiled.
              >
              > I am sure some where there is a doc describing how to change this directory ...
              >
              > Charles
              >
              > "Charles Chen" <[email protected]> wrote:
              > >
              > >I thought this could have been a problem solved long time ago but after
              > >searched
              > >through this list I could not find any solutin.
              > >
              > >Basically any change to the JSP is not refreshed on my wl server. Even
              > >after I
              > >set my browser to have 0 siye disk cache, 0 siye memory cache, and set
              > >the cache
              > >file name to something non-exists, the cached page kept coming back!
              > >It must have
              > >been cached by the web server. Deleting all the tmp files under WEB-INF
              > >did not
              > >work. Redeploy the web app did not work. Even after I restarted the server,
              > >it
              > >still sent me the old pages!!
              > >
              > >I must have missed something here???
              > >
              > >
              > >Many thanks and regards,
              > >
              > >
              > >
              > >Charles
              > >
              ============================
              [email protected]
              

  • Crystal Report Not Refreshing in browser

    Hi all,
    Am using crystal report for my web application so here am passing my parameter from jsp page
    but it is not refreshing
    For example
    I am select Month=jan my query goes this way.
    Select * from employee where month='jan' group by department order by designation
    when am intially design in eclipse in filter option am selecting 'jan' and when am running in browser am passing the same query with the parameter but here instead of 'jan' am passing month variable where my month variable changes every time according to user choose
    my crystal report is not getting refreshed ..
    hope u understood my problem
    Regards
    Vanishree.B

    Hi Tejomay ,
    I have tried that even after calling refresh() , it ;s not getting refreshed..but if am using signal table in my query  it is getting refreshed .but when am grouping with another table it is not refreshing..
    Regards
    Vanishree

  • Files Not Refreshed

    Building a JSP which dynamically creates an HTML page with an included javascript file using
    &lt;script LANGUAGE="JavaScript" type="text/javascript" src="myFile.js"&gt;&lt;/script&gt;
    The problem is when I make changes in the file myFile.js, the changes are not refreshed when I run the project. I have attempted to rebuild, exit jDeveloper and everything else I can think of yet it continues to use the old version. What is going on and why are the changes not reflected when being run?
    jDeveloper 9.0.5.16.27 under Win2K.

    Just to add to the fine advice so far, sometimes just toggling the View to Column View or whatever it isn't the back will update it.
    Wonder if this works in Tiger...
    http://www.versiontracker.com/dyn/moreinfo/macosx/24356

  • Servlet does not refresh in browser

    Hi,
    If I change a Servlet code, re-compile it and Refresh the browser (Firefox), it does not refresh. I can only get it to refresh if I re-start Tomcat (v 5.5.4).
    Is there a workaround for this please?
    I put the lines:
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("max-age", 0);
    response.setDateHeader("Expires", 0);
    at the top of my doGet method and this does not work.
    Thanks,
    Hal.

    Hi,
    For classes, you can set the reloadable parameter in your application configuration file (in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory)
    Set it to true if you want Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically reload the web application if a change is detected. This feature is very useful during application development, but it requires significant runtime overhead and is not recommended for use on deployed production applications. That's why the default setting for this attribute is false. You can use the Manager web application, however, to trigger reloads of deployed applications on demand.
    http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
    For JSPs, you can configure Jasper (in $CATALINA_BASE/conf/web.xml file) and use the reloading parameter.
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html

  • JSPs not loading properly

              Hi,
              When I load a jsp, the parameter values are not loaded properly.
              For example the following line:
              <frame name="workpane" id="workpane" frameborder="1" scrolling="No" marginwidth="0"
              marginheight="0" src="/jsp/library/generic/loading.jsp?refresh=/jsp/library/generic/workspace.jsp?rows1=66$rows2=34$activepane=/list$apn1=scope$apv1=5000$apn2=type$apv2=3$previewpane=/default_previewpane.html">
              IS LOADED AS
              Loading: strRefreshURL= with parameters Param=refresh=/jsp/library/generic/workspace.jsp?rows1=66$rows2=34$activepane=/list$apn1=scope$apv1=5000$apn2=type$apv2=
              3$previewpane
              values=/default_previewpane.html
              Why does it do it this way?
              Is the $ sign making it do it this way?
              Thanks
              

    Hi again,
              Actually, you could simplify your dilemma if you use
              java.net.URLEncoder to encode your URL's. You should first apply it to the nested URL you have here, then apply it to the outer URL. I.e.
              <% String nestedURL=java.net.URLEncoder.encode("\"action=loadtree&scope=" +
              Scope.getSystemScope() +
              "&type=" +
              ControllerFactory.getDocumentTypeForName("folder") +
              "&disurl=/jsp/system/admintree.jsp\">"); %>
              <frame name="treepane" id="treepane" frameborder="1" scrolling="No" marginwidth="0"
              marginheight="0" src="<%= nestedURL %>" >
              Keeping your code simple will save you a lot of headaches :)
              "Alex Worden" <[email protected]> wrote in message news:[email protected]...
              <frame name="treepane" id="treepane" frameborder="1" scrolling="No" marginwidth="0"
              marginheight="0"
              src="/jsp/library/generic/loading.jsp?refresh=/list?action=loadtree$scope=<%=Scope.getSystemScope()%>$type=<=ControllerFactory.getDocumentTypeForName("folder")%>$disurl=/jsp/system/admintree.jsp">
              so... I presume your src request is for..
              /jsp/library/generic/loading.jsp
              with the single parameter...
              refresh=/list?action=loadtree&scope=<%=Scope.getSystemScope()%>&type=<=ControllerFactory.getDocumentTypeForName("folder")%>&disurl=/jsp/system/admintree.jsp">
              I don't know why you're using $ instead of & here...?
              Also - it's ambiguous. Even I can't figure out which of these query parameters are intended to be part of the value for 'refresh' or are extra query parameters of 'loading.jsp'.
              This is why you need to URLEncode the parameters that you don't intend to be interpreted by 'loading.jsp'. The URLEncoded representation for ? is %3f and & is %26, so, this would mean your refresh value should be (assuming all of the query parameters are part of the "refresh" sub-query-parameter)...
              <frame name="treepane" id="treepane" frameborder="1" scrolling="No" marginwidth="0"
              marginheight="0"
              src="/jsp/library/generic/loading.jsp?refresh=/list%3faction=loadtree%26scope=<%=Scope.getSystemScope()%>%26type=<=ControllerFactory.getDocumentTypeForName("folder")%>%26disurl=/jsp/system/admintree.jsp">
              of course, if for example you meant for "26disurl=/jsp/system/admintree.jsp" to be a query parameter interpreted by 'loading.jsp' and not whatever servlet is mapped to '/list' then you'd use...
              <frame name="treepane" id="treepane" frameborder="1" scrolling="No" marginwidth="0"
              marginheight="0"
              src="/jsp/library/generic/loading.jsp?refresh=/list%3faction=loadtree%26scope=<%=Scope.getSystemScope()%>%26type=<=ControllerFactory.getDocumentTypeForName("folder")%>&disurl=/jsp/system/admintree.jsp">
              I hope that helps!
              "anil" <[email protected]> wrote in message news:[email protected]...
              >
              > Hi,
              >
              > Thanks for the insight. I really appreciate it.
              > For example can you show me how I should code the following line:
              >
              > <frame name="treepane" id="treepane" frameborder="1" scrolling="No" marginwidth="0"
              > marginheight="0" src="/jsp/library/generic/loading.jsp?refresh=/list?action=loadtree$scope=<%=Scope.getSystemScope()%>$type=<%=ControllerFactory.getDocumentTypeForName("folder")%>$disurl=/jsp/system/admintree.jsp">
              >
              >
              > Thanks once again,
              > Anil
              >
              > "Toad" <[email protected]> wrote:
              > >DOH! That too. Needs to & those. Essentially he's got nested links with
              > >query strings. Should be easy to fix up.
              > >
              > >"Alex Worden" <[email protected]> wrote in message
              > >news:[email protected]...
              > >> You can't use a ? to separate parameters. I think this is part of a
              > >single
              > >> parameter that is a URI he wants his servlet to redirect the client
              > >to or
              > >> something... I think you're confusing that with a &. He appears to
              > >have
              > >> substituted $ for &. It would be better to just escape these chars
              > >correctly
              > >> using URLEncoding %xx notation.
              > >>
              > >> "Toad" <[email protected]> wrote in message
              > >> news:[email protected]...
              > >> > He has two parameters:
              > >> >
              > >> > 1. refresh=/jsp/library/generic/workspace.jsp
              > >> > 2. rows1=66$rows2=34$activepane=/list$apn1=scope$apv1=5000
              > >> > $apn2=type$apv2=3previewpane=/default_previewpane.html
              > >> >
              > >> > The "/" must be replaced with %2F.
              > >> >
              > >> > "Alex Worden" <[email protected]> wrote in message
              > >> > news:[email protected]...
              > >> > > It looks like your src URL contains bogus ? characters. You should
              > >> encode
              > >> > > the ones that aren't meant to be interpreted as query-string
              > >delimiters.
              > >> > >
              > >> > > "anil" <[email protected]> wrote in message
              > >> > > news:[email protected]...
              > >> > > >
              > >> > > > Hi,
              > >> > > >
              > >> > > > When I load a jsp, the parameter values are not loaded properly.
              > >> > > > For example the following line:
              > >> > > >
              > >> > > > <frame name="workpane" id="workpane" frameborder="1" scrolling="No"
              > >> > > marginwidth="0"
              > >> > > > marginheight="0"
              > >> > >
              > >> >
              > >>
              > >src="/jsp/library/generic/loading.jsp?refresh=/jsp/library/generic/workspace
              > >> > >
              > >> >
              > >>
              > >..jsp?rows1=66$rows2=34$activepane=/list$apn1=scope$apv1=5000$apn2=type$apv2=
              > >> > > 3$previewpane=/default_previewpane.html">
              > >> > > >
              > >> > > > IS LOADED AS
              > >> > > >
              > >> > > > Loading: strRefreshURL= with parameters
              > >> > >
              > >> >
              > >>
              > >Param=refresh=/jsp/library/generic/workspace.jsp?rows1=66$rows2=34$activepan
              > >> > > e=/list$apn1=scope$apv1=5000$apn2=type$apv2=
              > >> > > > 3$previewpane
              > >> > > > values=/default_previewpane.html
              > >> > > >
              > >> > > > Why does it do it this way?
              > >> > > > Is the $ sign making it do it this way?
              > >> > > >
              > >> > > > Thanks
              > >> > > >
              > >> > >
              > >> > >
              > >> >
              > >> >
              > >>
              > >>
              > >
              > >
              >
              [att1.html]
              

  • Can not refresh server manager Error:0x8007045b

    OS: Windows 2012 R2 Core
    Services: Hyper V
    I was trying to remote reboot and the session hung. No worries I decided I could just reboot the next morning. So I rebooted the next day but when I go into server manager I get
    an errror can not refresh server manager Error:0x8007045b. Did some research found suggestions to fix it using a DISM.exe /Online /Cleanup-image /Restorehealth.
    But then I get an error 1115 A system Shutdown is in progress. I attempt to fix this issue using pskill winlogon but the issue pursistest. I have restarted the server several times now. Not sure how to fix this.
    Thanks in advance,
    Jake

    Hi,
    In addition to the above information,
    Checkout the below thread for similar discussion,
    http://social.technet.microsoft.com/forums/windowsserver/en-US/a700e9f6-4491-4c70-8bd0-d9d3111e2f70/windows-reboot-error
    Regards,
    Gopi
    JiJi
    Technologies

  • Can not refresh page after save properly(When not saving master record)

    I am using jdeveloper 11g R2 (11.1.2.3) JSF Facelet
    In some use case I have Address as master table and Person as detail table
    For some business reason I need to don't save same addresses
    eg:
    If +1 Test St+ is in database already and new user coming and adding this address with new person
    I need to use the row in database not creating a new address
    I do saving in doDML method of Address with some hashing algorithm and it is fine
    My problem is that I can not refresh page after save properly
    User coming to page think Adding a new address and a new person but in fact no new
    address added because of business I describe above
    Any ideas how I can implement this?
    Appreciate that
    Regards
    Mohsen

    Hi,
    from your description it is not clear why the page doesn't refresh. It could be a problem in your implementation code - who knows. What if you perform the address check on a command button that actually submits the new address? If the check returns true (address exists) you would call row.refresh(forget new row); and re-query the view object so the address coming from the database is displayed. If you wanted to use the doDML then yuou need to be aware that doDML doesn't help removing the row the user created. It just ignores the database update but the entity is still around, which in my suggested solution wont be the case.
    Frank

  • Can not refresh the metrics in schedular

    Post Author: sachinddalal
    CA Forum: Performance Management and Dashboards
    Hi,
    When I refresh the metric using schedular, the metric is not refreshed , nor schedular return any error. But when checked in metrics proparties, the last refresh date is not changed, niether the values are updated.
    Whe I try to refresh the metric manual, the values are refresh.
    Please help me to troubleshoot the problem of refreshing metric through schedular.
    Thanks,
    Regards
    Sachin Dalal

    Post Author: jezbraker
    CA Forum: Performance Management and Dashboards
    Scheduler is pretty horrid for refreshing metrics.Better of to use the Rules engine and create a rule thats based on a schedule that based on condition (1=1 works well ) then refreshes metircs.troubleshooting is best done with the trace options in setup/parameters.there are a few other ways or seeing what the schedulers up to - but id stick to rules if i were you.

  • Clicking a tree node does not refresh the fields in the table component

    hi all,
    I am using a tree component along with a table component in my page.so whenever i am clicking on a node it should display the relevant information of that node in the table from the database.But whenever i am doing the page is not refreshing and the old values of the textfields in the table still exist.i have written the code to populate the table in a button click event.It is working fine but the same is not working when i am clicking any node in the tree component.Can anyone provide a solution to this problem.
    Thanks and regards,
    Prasant Kumar

    Never mind... I actually found something that works...
    treeModel.nodeStructureChanged(leadSelection);

  • Report Portlets do not refresh data.

    How can I refresh a report portlet?
    I have created a report and a forms provider based on the same table. I put the portlets on separate TABS on the same PAGE. The report works fine, but when I update the information on the form and return to the report it does not reflect the changes. I have pressed 'refresh', I have gone to another page and come back, no luck. The only way to see the changes is to log out and back in again. Any ideas?
    Thanks, Deb

    I had caching turned off. When I turned on both content and page definition, I was unable to query my forms. The forms and reports are on the same page, different tabs. When I select cache page definition only, I get the same results as no caching. The forms will query my data, I can update, but when I return to the reports TAB, the data has not changed. (Yes, I did click refresh.) I have found that if I click the 'Customize' link on the portlet containing the report and then click 'OK' the data will update. This, however gives me a new error that I will worry about later. For now, the users have 'Minimize' but do not have the 'Customize' Link and the 'minimize' link does not refresh the data, nor give me the new error.

  • Workbook not refresh after running Planning Function (BI-IP)

    Hi! Folks,
         I have a problem with the Bex Analyser which not refresh the data after running Planning Function.
    Step 1: Run Planning Function (There are some changes in records)
    Step 2: I have to Run Process Variables again and input the same selection in the pop-up variables
    Step 3: The changed records will be shown...
    Can I have some coding in the Layouts of Bex Analyzer to refresh the data after running Planning Function?
    Brgds,
    Supasake

    Hi,
    I had a similar problem that the resuls of my planning function were not automatically shown. Only if I did "something else" like saving or running another function the results were displayed.
    I think I solved it by upgrading my SAP GUI6.4 with patch 14. the results of planning functions should be automatically displayed.
    D

  • When I resume my laptop from sleep/hiberante, firefox is hung. It will prompt me with a dialog when I quit, so it is still running, but the page display is blank and will not refresh. I noticed this since about beta 7

    Firefox is running when my laptop comes out of system standby, but the page that was displaying when the laptop went into sleep mode is now a white canvas that does not refresh.
    The application is not hung, because I get prompted to save tabs when I quit, but for some reason, I can't prompt Firefox into refreshing the screen.
    I'm running Firefox on a Thinkpad T400 which has Intel 4 series Express integrated Graphics.

    This also happened if the network adapter is disabled then enabled. My computer is Windows 7 x64. Firefox needs to be killed from taskman before it will load a new instance of the application. I can also reproduce with all add-ons disabled.

Maybe you are looking for

  • Agent is not uploading the data.

    Agent is not able to ping repository.. 2007-08-09 11:36:28 Thread-76 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository 2007-08-09 11:36:28 Thread-76 ERROR pingManager: nmepm_pingReposURL: Did not receive a respo

  • Need suggestion for hooking up 3 monitors to my desktop PC

    Hello everyone, I am wanting to know the best and cheapest way to hook up 3 monitors to my PC. I have an HP Pavilion HPE h8-1234 with a 6 core AMD FX-6120 processor at 3.5ghz(up to 4.1ghz in turbo) with 10gb of DDR3-1600 RAM. My graphics card is a Ra

  • Hyper-v core physical harddisk

    I am running a Hyper-v core 2012 server and I want to add 2 physical disks to a VM. These will be setup in raid1 after they have been connecting. I have done some research but it is difficult to find information about this related to the "core" versi

  • Issues with parallel processing in Logical Database PCH and PNP

    Has anyone encountered issues when executing programs in parallel  that utilizes the logical database PCH or PNP? Our scenario is the following: We having have 55 concurrent jobs that execute a program that use the logical database PCH at a given tim

  • [Solved] Date command not working, maxing out memory and cpu.

    So I've encountered and incredibly strange problem. Today, I was working on a script for my bar panel. I was following z3bra's guide "Meeting at The Bar Really simple stuff, nothing harmful: #! /bin/sh # Fox - do whatever # Gathers various info to be