It's all about the answers!

Ask a question

Deploying Custom WAR file on WebSphere Liberty


Unknown User (192) | asked Feb 25, 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 (59.4k23642) | answered Feb 25, 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.1k12141) | answered Feb 25, 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.