Redeploy a single web.xml file

Most Maximo settings or java code can be deployed by copy/pasting the file directly to the installed folder in Websphere without having to rebuild and redeploy the application. However, with web.xml, it doesn't work that way. Sometimes, we need to update this file to increase timeout setting or enable/disable integrated security mode

Sure, we can directly modify the file in Websphere without redeployment, but we will also have update the file in a few temporary folders for which, I find the process quite tedious.

Recently, my colleague told me we can just deploy the single web.xml file instead. Below is the process:

- Update the web.xml file with new settings




- Log in to Websphere console, open Applications > Application Types > WebSphere enterprise applications: select "MAXIMO" application by ticking on the checkbox next to it, click on Update button

- In "Application update options", select "Replace or add a single file" option

- In the textbox below "Specify the relative path....", specify: maximouiweb.war/WEB-INF/web.xml

- In the "Specify the path to the file", choose "Local file system", and click on "Choose file" to browse and select the updated web.xml file, click Next. 

- Click OK on the next screen to deploy. Click Save when the deployment process is completed. Wait for a minute for the new settings to be propagated, then restart Maximo.



No comments:

Post a Comment