IBM Support

Rebuilding and Redeploying Maximo EAR File(s)

Question & Answer


Question

Process to deploy a new Maximo EAR file into an existing environment

Answer

IBM WebSphere Application Server

Build MAXIMO.ear

  1. Start an administrative command prompt or terminal window.
  2. Change directory to the deployment directory
    1. Windows default: c:\IBM\SMP\maximo\deployment
    2. Linux default: /opt/IBM/SMP/maximo/deployment
  3. Run buildmaximoearwas8.cmd|.sh
Linux terminal window

Deploy MAXIMO.ear

MXServer
  1. Log in to the WebSphere Integrated Solution Console: http://<server>:<port>/admin, for example http://mxserver:9060/admin
  2. On the left side, expand Servers, then Server Types. Click Application Servers.
  3. On the right side, check the box next to the Maximo Application Server (default MXServer)
  4. Click Stop.
Maximo application
  1. On the left side, expand Applications, then Application Types. Click Enterprise Applications.
  2. Check the box next to application for the EAR you are redeploying (default MAXIMO)
  3. Click Uninstall.
  4. Once uninstalled, save changes. Click Install.
  5. Browse to the location of the EAR you are deploying (default maximo\deployment\default\maximo.ear)
  6. Click Next.
How do you want to install the application?
  1. Click Next.
Select installation options
  1. Click Next.
Map modules to servers
  1. Select all components, then select the Application Server (default MXServer) and holding down the Ctrl key, webserver1, if you have a web server configured.
  2. Click Apply.
  3. Click Next.
  4. Select the correct Virtual Host (default maximo_host) for each component.
Map virtual hosts for Web modules
  1. Click Next.
  2. Click Finish.
  3. When the EAR is deployed, click Save to Master Configuration.
  4. Go back to MXServer. Tick the box next to it, and click Start.

Oracle WebLogic Server

Build the EAR file(s) (see above)

From a command prompt change to the maximo\deployment folder and run buildmaximoear to build the Maximo EAR and buildhelpear to build the Maximo Help EAR.

  1. Log in to the Administration Console:http://<server>:<port>/console, for example, mxserver:7001/console
  2. Click Lock & Edit
  3. Click Deployments.
  4. Select the application for the EAR you are redeploying, default Maximo
  5. Click Delete.
  6. Once deleted, click Install.
  7. Browse to location of the maximo.ear and select (i.e. maximo\deployment\default)
  8. Click Next.
  9. Select Install this deployment as an application
  10. Click Next.
  11. Click Finish.
  12. Click Activate Changes.
  13. From the file structure delete the files in the following folder, for example:
  • Windows: C:\Oracle\Middleware\Oracle_Home\user_projects\domains\<domain name>\servers\<app server>\tmp
  • Linux: /app/oracle/middleware/wls_home/user_projects/domains/<domain name>/servers/<app server>/tmp
  1. Start the Maximo Application Server.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5;7.6;7.6.1","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSWT9A","label":"IBM Control Desk"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5;7.5.1;7.5.3;7.6;7.6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 July 2021

UID

swg21462246