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.  Initialization of WebSphere

    Posted 10/18/21 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 10/19/21 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 10/19/21 06:44 AM
    Edited by ioannis moutzouris 10/19/21 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 10/19/21 09:21 AM
    Edited by Hermann Huebler 10/19/21 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
    ------------------------------