Siebel Administration >  Clear Cache using Server Manager

 

We need to clear cache after making some configuration changes in Siebel.
e.g. after we update LOVs or responsibilities.
We would sometimes update these values using scripts (EIM/Batch Jobs or Shell Scripts)
and it was quite difficult to find how to clear cache for some languages.I had
no idea about Korean or Japanese. Even for languages I knew sometimes it was not easy to
find the page to clear cache from as Siebel does not translate everything the way you
would expect it to.
Lastly, we would have several object managers for each language and it was a lot of manual
work to log in several times.
The best way to clear cache is to use the server manager command. hese are the steps.

1) login to srvrmgr

2) ensure all the servers in the enterprise are running, run this command

list appserver show SBLSRVR_NAME, SV_DISP_STATE

3) get the list of all the components you want to clear the cache on:

list compdef eCommu% show CC_ALIAS, CC_DISP_ENABLE_ST

Note that your components may be named something else other than eCommu, change this
name if you need to.


- all the actions below should be done for all the component definitions
- when some component definition is not in the "Active" state,
you must either exclude it from the below action or you must bring it into the "Active" state first

4) start the reconfiguration
reconfig compdef <name of the component definition>

5) ensure yourself the component is in the valid reconfiguration state
– the command below must provide the „Reconfiguring“ reading for all
the components being reconfigured – if the status is not Reconfiguring you must resolve that situation

list compdef eCommu% show CC_ALIAS, CC_DISP_ENABLE_ST

– if the status is not Reconfiguring you must resolve that situation.
The following command could help you:

cancel reconfig compdef <name of the component definition>

6) commit the reconfiguration (in other words clear the
cache for our purposes and launch the new “clear“ processes)

commit reconfig compdef <name of the component definition>

7) wait a couple of minutes for the Siebel servers to propagate changes