It's all about the answers!

Ask a question

Deploying Custom WAR file on WebSphere Liberty


Unknown User (19125) | asked Feb 25 '21, 1:53 a.m.

 We want to deploy a custom WAR file on our WebSphere Liberty Server. Earlier we had Traditional WebSphere configured for hosting the ELM Applications. Also, we had deployed a custom war file on Traditional WebSphere. Now then, we have migrated to WebSphere Liberty, how do we deploy the war file wrt the Liberty.


Can anyone help here

2 answers



permanent link
Ralph Schoon (63.1k33646) | answered Feb 25 '21, 2:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 This is the documentation for WLP on how to deploy applications: https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/twlp_dep.html


permanent link
Bartosz Chrabski (3.4k12649) | answered Feb 25 '21, 3:29 a.m.

 In easy steps:


1) Rename you app.war file to app.war.zip
2) Unpack your app.war.zip to app.war directory
3) Move file and directory to /opt/IBM/JazzTeamServer/server/liberty/servers/clm/apps
4) Edit /opt/IBM/JazzTeamServer/server/liberty/servers/clm/apps/conf/application.xml

5) Add following line to your application.xml file

<application type="war" id="rediapp" name="rediapp" location="${server.config.dir}/apps/rediapp.war" context-root="/">

context-root is context under which application willl be available.

6) Restart your liberty server

Your answer


Register or to post 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.