IBM TechXchange Group

TechXchange Group

Your hub for all things community! Ask questions, connect with fellow members, get the support you need, and stay informed with the latest updates.

 View Only
  • 1.  Deploying a .war file on a new WebSphere Application Server instance

    Posted Wed February 01, 2023 03:16 PM
    Good morning!

    WebSphere Application Server is a new concept I'm learning, so bear with me. 

    I'm looking to deploy a .war file to the application server using the Linux command line only... The end goal is to have this process automated, so a silent install/deploy of the .war file is necessary. I've scoured the internet and cannot find anything straightforward. Can someone help point me in the right direction? 

    Thank you!

    ------------------------------
    julio olimpio
    partner exec
    Esri
    south dartmouth MA
    (978) 764-2036
    ------------------------------


  • 2.  RE: Deploying a .war file on a new WebSphere Application Server instance

    Posted Thu February 02, 2023 01:51 AM
    Hi Julio, here some links:
    wsadmin is the scripting framework to install applications and configure WebSphere Application Server.
    The easiest way to start with wsadmin is to use the command assistant.
    https://www.ibm.com/docs/en/was-nd/9.0.5?topic=console-administrative-actions-command-assistance
    This will allow you to execute the command once from the WAS Admin console, the assistant will then show the resulting wsadmin command.

    The following links describe how to install and use wsadmin for application management:
    https://www.ibm.com/docs/en/was-nd/9.0.5?topic=scripting-installing-enterprise-applications-using-wsadmin
    https://www.ibm.com/docs/en/was-nd/9.0.5?topic=wsadmin-managing-deployed-applications-using-scripting

    ------------------------------
    [Lars] [Besselmann]
    Integration Technical Specialist, IBM Technology Sales, EMEA
    IBM
    Düsseldorf
    [Lars.Besselmann@de.ibm.com]
    ------------------------------



  • 3.  RE: Deploying a .war file on a new WebSphere Application Server instance

    Posted Sat February 04, 2023 09:07 AM
    If you need some samples of automation you can check my Ansible scripts

    https://github.com/ebasso/ansible-ibm-websphere


    This role uses wsadmin.sh to change ldap configuration

    https://github.com/ebasso/ansible-ibm-websphere/blob/master/roles/was-dmgr-config-ldap/tasks/main.yml


    ------------------------------
    ENIO RUBENS BASSO
    ------------------------------



  • 4.  RE: Deploying a .war file on a new WebSphere Application Server instance

    Posted Mon February 06, 2023 04:56 AM
    iam check