March 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

March 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Clearing WebSphere 7.0 temporary file caches

Problem(Abstract)

This document shows the correct directories to delete when clearing WebSphere 7.0 cache

Symptom

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.

 

Resolving the problem

Follow the steps below to clear the WebSphere application server cache when deploying the maximo.ear.

Add this procedure of clearing WebSphere cache every time you rebuild and redeploy the ear files.


1. Shut down MXServer.

2. Uninstall the Maximo enterprise application completely.

3. Delete cached files from temp, tranlog, wstemp and, optionally, logs directories:

Windows (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:
C:\Program Files\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\temp\ctgNode01\MXServer\*.*
C:\Program Files\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\tranlog\ctgCell01\ctgNode01\MXServer\*.*
C:\Program Files\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\wstemp\*.*
(optional) C:\Program Files\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\logs\MXServer\*.*
Unix (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:
/opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/temp/ctgNode01/MXServer/*.*
/opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/tranlog/ctgCell01/ctgNode01/MXServer/*.*
/opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/wstemp/*.*
(optional) /opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/logs/MXServer/*.*
4. Delete MAXIMO.ear from installedApps, both the contents of the directory and the directory itself:

Windows (locations as above):
C:\Program Files\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\installedApps\ctgCell01\MAXIMO.ear
Unix (locations as above):
/opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/installedApps/ctgCell01/MAXIMO.ear
You do not need to delete MXIEHS.ear directory.

5. Deploy the Maximo enterprise application. If using LDAP server authentication, make sure that the permissions are set as previously for the Maximo enterprise application.

6. Synchronize nodes. System Administration > Nodes, check the node to synchronize, then click the Synchronize button.
[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.]

7. Restart MXServer.


Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>