How to update existing war files in Websphere application server?
Dear Team,
Can anyone tell me how to update existing war files in Websphere Application server 8.5.5.10.
Already war file is deployed in server. We changed the class files inside the war. After changed, How to update the existing war in server.
Kindly assist us.
|
Accepted answer
Hi Preetha,
In the WAS console, expand the Applications -> Application Types menu, and then click WebSphere enterprise applications.
Then select the application you want to update and click Stop. After the application stops, select it again and click Update. Select the Replace the entire application option and locate (browse) the .war you want to install. then follow the instructions using the fast path. At the end, save to the master. Before restarting the application, it is recommended to clear the application cache. Preetha T selected this answer as the correct answer
Comments
Preetha T
commented Feb 26 '19, 5:44 a.m.
Dear Leonardo,
Thank you for your information. Can you tell me how to clear the application caches?
Leonardo Benevides
commented Feb 26 '19, 7:11 a.m.
Hello Preetha,
To clear the application cache:
1. Start the CLM server.
2. Run repotools-<app> -clean for each application that is installed. Note: This will also display the help output. For instance: - repotools-ccm -clean - repotools-jts -clean - repotools-qm -clean - repotools-rm -clean 1. To clear the application cache on WebSphere Application Server: Remove the contents from these directories under the profile root(e.g. <WAS_HOME>/<AppServer>/profiles/<Profile>), except for the noted help directory: temp, wstemp, workspace.
Note: Do not remove this directory, which is required for the CLM local help: temp/{jts_node}/{jts_server}/clmhelp_war.
2. To clear the class cache:
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.