WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Add an second WebSphere Application Server from Admin Console

    Posted Tue March 01, 2022 01:05 PM
    Hello together,

    i want to deploy two different applications (Let's name it Application A and B) with two different configurations to WebSphere.
    I want to set a different value for the variable abaxx.config.file for Application B under Server-> Server Types -> server1-> Java and Process Management -> Process Definition-> Java Virtual Machines -> Custom properties (Screenshot attached).

    So the easiest solution would be to create another WebSphere Application Server. Something like server2. But the problem is (unlike it its described in the IBM documentation -> https://www.ibm.com/docs/en/was-zos/8.5.5?topic=servers-creating-application ) there is no "new-button" to create a new Application Server. How can I create a new application Server for my application B?

    I am running WebSphere Traditional in a Docker Container in Version 9.0.5.10.

    Thank you very much for your help.

    ------------------------------
    Alper Özdemir
    ------------------------------


  • 2.  RE: Add an second WebSphere Application Server from Admin Console

    Posted Tue March 01, 2022 03:46 PM
    That button is only available if you are running WebSphere Application Server Network Deployment, or WebSphere Application Server for z/OS. You are running base which makes sense given you are running in a docker container. Given you are running WebSphere in a Docker container you should use 2 docker images one for each application. A docker container should have a single running process and creating a second server would result in two processes which isn't the best practice docker model.

    ------------------------------
    Alasdair Nottingham
    ------------------------------



  • 3.  RE: Add an second WebSphere Application Server from Admin Console

    Posted Wed March 02, 2022 04:41 AM
    Outside the container world, you could achieve this by either creating a new WAS profile or by creating a second server for an existing profile as documented here:
    https://www.ibm.com/docs/en/was/9.0.5?topic=scripting-creating-server-using
    But as Alasdair mentioned, it is not recommended to run two WAS processes within a container.

    BTW: You should not use the WebSphere admin console at all if running in a container.
    Instead you should use jython scripts to configure your WAS instances as described here:
    https://github.com/WASdev/ci.docker.websphere-traditional#running-jython-scripts-individually

    ------------------------------
    Lars Besselmann
    Integration Technical Specialist, IBM Technology Sales, EMEA
    IBM
    Düsseldorf
    ------------------------------