{"id":4505,"date":"2015-03-29T23:00:04","date_gmt":"2015-03-29T15:00:04","guid":{"rendered":"http:\/\/rmohan.com\/?p=4505"},"modified":"2015-03-29T23:00:04","modified_gmt":"2015-03-29T15:00:04","slug":"clearing-websphere-7-0-temporary-file-caches","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=4505","title":{"rendered":"Clearing WebSphere 7.0 temporary file caches"},"content":{"rendered":"<h2>Problem(Abstract)<\/h2>\n<p class=\"wordwrap\">This document shows the correct directories to delete when clearing WebSphere 7.0 cache<\/p>\n<h2>Symptom<\/h2>\n<div class=\"ibm-domino-rtf\">\n<p class=\"wordwrap\">New changes, such as Fix Pack, Interim Fix Pack, LAFIX\/hot fix or XML changes do not take affect after deploying new maximo.ear file.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h2>Resolving the problem<\/h2>\n<div class=\"ibm-domino-rtf\">\n<p class=\"wordwrap\">Follow the steps below to clear the WebSphere application server cache when deploying the maximo.ear.<\/p>\n<p class=\"wordwrap\">Add this procedure of clearing WebSphere cache every time you rebuild and redeploy the ear files.<\/p>\n<hr align=\"left\" size=\"7\" width=\"100%\" \/>\n<p>1. <b>Shut down MXServer<\/b>.<\/p>\n<p>2. <b>Uninstall <\/b>the <b>Maximo <\/b>enterprise application <b>completely<\/b>.<\/p>\n<p>3. <b>Delete cached files<\/b> from temp, tranlog, wstemp and, optionally, logs directories:<\/p>\n<p><b>Windows <\/b>(where the WebSphere location is c:\\program files\\ibm\\websphere\\appserver, the application server profile is called ctgAppSrv01, the node is called ctgNode01, and the Maximo server is called MXServer). *.* means contents of the named directory:<br \/>\n<tt>C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\ctgAppSrv01\\temp\\ctgNode01\\MXServer\\*.*<\/tt><br \/>\n<tt>C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\ctgAppSrv01\\tranlog\\ctgCell01\\ctgNode01\\MXServer\\*.*<\/tt><br \/>\n<tt>C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\ctgAppSrv01\\wstemp\\*.*<\/tt><br \/>\n<tt>(optional) C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\ctgAppSrv01\\logs\\MXServer\\*.*<\/tt><br \/>\n<b>Unix <\/b>(where the WebSphere location is \/opt\/IBM\/WebSphere\/AppServer\/profiles\/ctgAppSrv01, the application server profile is called ctgAppSrv01, the node is called ctgNode01, and the Maximo server is called MXServer). *.* means contents of the named directory:<br \/>\n<tt>\/opt\/IBM\/WebSphere\/AppServer\/profiles\/ctgAppSrv01\/temp\/ctgNode01\/MXServer\/*.*<\/tt><br \/>\n<tt>\/opt\/IBM\/WebSphere\/AppServer\/profiles\/ctgAppSrv01\/tranlog\/ctgCell01\/ctgNode01\/MXServer\/*.*<\/tt><br \/>\n<tt>\/opt\/IBM\/WebSphere\/AppServer\/profiles\/ctgAppSrv01\/wstemp\/*.*<\/tt><br \/>\n<tt>(optional) \/opt\/IBM\/WebSphere\/AppServer\/profiles\/ctgAppSrv01\/logs\/MXServer\/*.*<\/tt><br \/>\n4. <b>Delete MAXIMO.ear<\/b> from installedApps, both the contents of the directory and the directory itself:<\/p>\n<p><b>Windows <\/b>(locations as above):<br \/>\n<tt>C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\ctgAppSrv01\\installedApps\\ctgCell01\\MAXIMO.ear<\/tt><br \/>\n<b>Unix <\/b>(locations as above):<br \/>\n<tt>\/opt\/IBM\/WebSphere\/AppServer\/profiles\/ctgAppSrv01\/installedApps\/ctgCell01\/MAXIMO.ear<\/tt><br \/>\nYou do not need to delete MXIEHS.ear directory.<\/p>\n<p>5. <b>Deploy <\/b>the <b>Maximo <\/b>enterprise application. If using LDAP server authentication, make sure that the permissions are set as previously for the Maximo enterprise application.<\/p>\n<p>6. <b>Synchronize <\/b> <b>nodes<\/b>. System Administration &gt; Nodes, check the node to synchronize, then click the Synchronize button.<br \/>\n[Use Full resynchronize if you have made manual file edits on the node. Deploying a Maximo ear does not make manual file edits on the node, so it should not be necessary to use this function. Full synchronize can take a much longer to complete. If Synchronize fails immediately, manual synchronization will be necessary.]<\/p>\n<p>7. <b>Restart <\/b> <b>MXServer<\/b>.<\/p>\n<hr align=\"left\" size=\"7\" width=\"100%\" \/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Problem(Abstract) <\/p>\n<p class=\"wordwrap\">This document shows the correct directories to delete when clearing WebSphere 7.0 cache<\/p>\n<p> Symptom <\/p>\n<p class=\"wordwrap\">New changes, such as Fix Pack, Interim Fix Pack, LAFIX\/hot fix or XML changes do not take affect after deploying new maximo.ear file.<\/p>\n<p>&nbsp;<\/p>\n<p> Resolving the problem <\/p>\n<p class=\"wordwrap\">Follow the steps below to clear the WebSphere application server [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4505"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4505"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4505\/revisions"}],"predecessor-version":[{"id":4506,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4505\/revisions\/4506"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}