July 09, 2007

to clear testing server cache

/ehis/deployment/ejb/deployment cache - clear
restart server

Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
You have new mail.

[root@amp-trap01]# su - oraias
Password: ******
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
[oraias@amp-trap01]$ cd /tsapp/eHIS/deployment/ejb
[oraias@amp-trap01]$ ls
deployment.cache      deployment_old.cache  orion-ejb-jar.xml
[oraias@amp-trap01]$ ls -ali
total 17524
        14 drwxr-xr-x   2 oraias   other        512 Jul  2 13:51 .
        13 drwxr-xr-x   5 oraias   other        512 Jun 28 09:26 ..
      4067 -rw-r--r--   1 oraias   other    4480512 Jul  2 13:51 deployment.cache
      4028 -rw-r--r--   1 oraias   other    4351716 Jun 28 11:25 deployment_old.cache
        16 -rw-r--r--   1 oraias   other      99500 Jul  2 13:51 orion-ejb-jar.xml
{* stop service *}
[oraias@amp-trap01]$ /oraias/OraHome1/opmn/bin/opmnctl stopall
opmnctl: stopping opmn and all managed processes...

{* delete/rename cache file - i choose to rename *}
[oraias@amp-trap01]$ mv deployment.cache deployment.cache.20070709

{* start service *}
[oraias@amp-trap01]$ /oraias/OraHome1/opmn/bin/opmnctl startall
opmnctl: starting opmn and all managed processes...

{* check status *}
[oraias@amp-trap01]$ /oraias/OraHome1/opmn/bin/opmnctl status  

Processes in Instance: 10gASRel2.amp-trap01
-------------------+--------------------+---------+---------
ias-component      | process-type       |     pid | status  
-------------------+--------------------+---------+---------
LogLoader          | logloaderd         |     N/A | Down    
dcm-daemon         | dcm-daemon         |     N/A | Down    
OC4J               | home               |   23919 | Alive   
WebCache           | WebCache           |   23922 | Alive   
WebCache           | WebCacheAdmin      |   23920 | Alive   
HTTP_Server        | HTTP_Server        |   23921 | Alive   
DSA                | DSA                |     N/A | Down    

[oraias@amp-trap01]$ 

No comments:

Cerita BukuMuka

Cari dalam cerita ini