You obviously didn't read the text of this thread. :) 
Perhaps you meant to post this to the main "Automate Cache Flush"
thread? - http://www.javasystemsolutions.com/arslist/view/89045563

What is engineering going to do to relieve the effort and time spent by
your customers in managing this flush process? It is too cumbersome,
slow, and painful as it stands today.

Please refer to the start of this thread - "Automate Cache Flush - RANT"
- http://www.javasystemsolutions.com/arslist/view/89045588


Regards,
 
Andrew Goodall
Software Engineer 2 | Development Services |  jcpenney . www.jcp.com  

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of SUBSCRIBE arslist Jimmy Wu
Sent: Monday, March 05, 2012 4:36 PM
To: arslist@ARSLIST.ORG
Subject: Re: Automate Cache Flush - RANT

Yes, Remedy eng is watching on this list.
Actually it is not difficult to do the automate cache flush at all. You
can create a jsp file (say flushAllCache.jsp) like below and put it in
<mid-tier>/shared directory, then you can involve the "Flush" command by
this dos prompt (Unix version could be different, but similar)

start "" "http://<mid-tier_host>:<port#>/arsys/shared/flushAllCache.jsp

Regards,

Jimmy.

=========================flushAllCache.jsp

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.remedy.arsys.share.Cache" %>
<%@ page import="com.remedy.arsys.prefetch.PrefetchTask" %>
<%
    Cache.flush(false, null);
    //PluginFactory.cleanup();
    PrefetchTask.schedule(PrefetchTask.PREFETCH_DELAY); //restart
prefetch on cache flush
%>
<html>
<head>
All Server caches flushed.
</head>
  <body><title>BMC Remedy Mid Tier - Flush Mid-Tier Cache</title></body>
</html>

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
<font face="monospace"size="-3"><br>The information transmitted is intended 
only for the person or entity to which it is addressed and <br>may contain 
confidential and/or privileged material. If the reader of this message is not 
the intended<br>recipient, you are hereby notified that your access is 
unauthorized, and any review, dissemination,<br>distribution or copying of this 
message including any attachments is strictly prohibited. If you are not<br>the 
intended recipient, please contact the sender and delete the material from any 
computer.<br>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to