WebSphere Application Server & Liberty

  • 1.  Initialization of WebSphere

    Posted Mon October 18, 2021 02:27 PM
    Hallo,

    How can i find the executable target type property and change it manually?

    Accidentally  i changed it from Java_class to jar and now i can not start the sever to change it from WebSphere console.

    Thank you in advance.


    ------------------------------
    ioannis moutzouris
    ------------------------------


  • 2.  RE: Initialization of WebSphere

    Posted Tue October 19, 2021 04:42 AM
    Helo Ioannis, please can you be a bit more specific on what you've done, where your problem is and what you want to achieve?

    Thanks - Hermann

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

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



  • 3.  RE: Initialization of WebSphere

    Posted Tue October 19, 2021 06:44 AM
    Edited by ioannis moutzouris Tue October 19, 2021 06:45 AM
    Hallo Hermann,

    My problem is that accidentally in the profile I created in Websphere I changed the executable target type (configuration found in Application servers->server1-> Process definition) from Java_class to jar.

    Now i can not start the server (server1) or log in to the Websphere console.

    How  can I change the executable target type ?

    Thanks in advance.

    Ioannis


    ------------------------------
    ioannis moutzouris
    ------------------------------



  • 4.  RE: Initialization of WebSphere

    Posted Tue October 19, 2021 09:21 AM
    Edited by Hermann Huebler Tue October 19, 2021 09:22 AM
    Hello Ioannis,
    well, die you check the server.xml in <profile_home>/config/cells/<cellname>/nodes/<node_name>/servers/<server_name>/server.xml where you might change that:
    <processDefinitions xmi:type="processexec:JavaProcessDef" xmi:id="JavaProcessDef_1589188541703" workingDirectory="${USER_INSTALL_ROOT}" executableTargetKind="JAVA_CLASS" executableTarget="com.ibm.ws.runtime.WsServer">
    ​

    You can take a backup copy of that and edit the server.xml using your favorite editor as shown above.

    Hope that helps - Hermann



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

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