WebSphere Application Server & Liberty

 View Only
  • 1.  set console identity from wsadmin

    Posted Fri February 05, 2021 10:21 AM
    I would like to set the console identity from a script.

    Some documentation from IBM suggests that the console is a Deployment called "isclite", and there is a property called "ISC.CONSOLE.ID.CUSTOM" that has the value I want to see and manipulate. How would I go about drilling in to that property?

    ------------------------------
    Blessings,
    Jason Uppenborn
    Sr. Technical Maximo Consultant
    Ontracks Consulting
    ------------------------------


  • 2.  RE: set console identity from wsadmin

    Posted Fri February 05, 2021 02:39 PM
    It is not possible to set the console identity via a script.

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



  • 3.  RE: set console identity from wsadmin

    IBM Champion
    Posted Mon February 08, 2021 12:38 PM
    Hello Jason,
    as Alasdair responded before you can't set this via wsadmin.

    But what you can do if you start your script on the server with the master repository (dmgr or standalone server) is update the property ISC.CONSOLE.ID.CUSTOM in the file <profile_home>/config/cells/<cell_name>applications/isclite.ear/deployments/isclite/isclite.war/WEB-INF/consoleProperties.xml directly. I know it's not the same and has limitations but the best I could find so far to automate this.

    For example set this property to:
    <consoleproperties:console-property id="ISC.CONSOLE.ID.CUSTOM" value="HHUE's Console"/>

    results in this prompt:


    ------------------------------
    Hermann Huebler
    2innovate IT Consulting GmbH
    Vienna
    Austria

    #IBMChampion
    ------------------------------