Maybe the scripts setApplicationServerProperties.sh and then saveApplicationServer.sh?
Take in mind that integrated server is like liberty profile and liberty profile can edit as Herman's suggestion or in Power i case from
Hope this helps.
Original Message:
Sent: Wed January 12, 2022 01:47 AM
From: Kishore Kushwaha
Subject: Update Server configuration file in the IBM WebSphere Application Server (int app svr V 8.5)
Hi Gabriel,
These are available scripts under the folder "/QIBM/ProdData/OS/ApplicationServer/bin":
but no script is provided to configure/update the server.xml ???
------------------------------
Kishore Kushwaha
Original Message:
Sent: Tue January 11, 2022 03:34 AM
From: Gabriel Aberasturi
Subject: Update Server configuration file in the IBM WebSphere Application Server (int app svr V 8.5)
hello Kishore,
Because IBMi WebSphere Integrated Web Application Server (int app svr V 8.5) is only for Power i platform and following the next link (Integrated Web Application Server Vs. WebSphere Application Server tab)
https://www.ibm.com/support/pages/integrated-web-application-server-ibm-i-frequently-asked-questions
Not sure what scripts do you have in "/QIBM/ProdData/OS/ApplicationServer/bin" (could you put the list of scripts?) but as alternative you can use "Web IBM Web Administration for IBM i"
Or as suggested by Herman edit server.xml file.
Hope this helps,
------------------------------
Gabriel Aberasturi
Original Message:
Sent: Mon January 10, 2022 05:24 AM
From: Kishore Kushwaha
Subject: Update Server configuration file in the IBM WebSphere Application Server (int app svr V 8.5)
Hi Hermann,
Thanks for suggesting how to update the server.xml for required features.
But my question is not for, how the XML file can be updated, even my question is if WebSphere is provided various scripts to setup/run Java Spring Boot Web Application on the IBMi WebSphere Integrated Web Application Server (int app svr V 8.5) by using the Application Server's shell scripts provided in the folder "/QIBM/ProdData/OS/ApplicationServer/bin",
So how to update the server.xml by using such scripts/commands not to update manually(by opening the XML file in editior), or it's not provided yet??
------------------------------
Kishore Kushwaha
Original Message:
Sent: Mon January 10, 2022 03:16 AM
From: Hermann Huebler
Subject: Update Server configuration file in the IBM WebSphere Application Server (int app svr V 8.5)
Hello Kushwaha,
ok, understand now. From your previous update I thought that some double quotes are missing. Hence the confusion.
If you need to add features you can either use an editor of choice to add the required features to the XML. If you don't want to use the editor there is also an eclipse plug-in available (not sure if it exists for other development environments as well) which allows you to build the server.xml.
Hope this helps - Hermann
------------------------------
Hermann Huebler
2innovate IT Consulting GmbH
Vienna
Austria
#IBMChampion
Original Message:
Sent: Mon January 10, 2022 02:54 AM
From: Kishore Kushwaha
Subject: Update Server configuration file in the IBM WebSphere Application Server (int app svr V 8.5)
Hi Hermann,
The following features are missing in the default XML file
<feature>springBoot-2.0</feature><feature>webSocket-1.1</feature><feature>transportSecurity-1.0</feature><feature>beanValidation-2.0</feature><feature>restConnector-2.0</feature>
Yes, after setting up the web server application, need to start the same application, which requires updating the server.xml file for missing features,
So asking that, is there any command/script to update the XML file appropriately.
------------------------------
Kishore Kushwaha
Original Message:
Sent: Mon January 10, 2022 01:49 AM
From: Hermann Huebler
Subject: Update Server configuration file in the IBM WebSphere Application Server (int app svr V 8.5)
Hello Kushwaha,
what exactly is wrong in the XML file after the deployment? As you are deploying the application using the provided scripts the XML file is supposed to be correct. Therefore I'd suggest you open a support case with IBM to get that clarified as it should never be required to fix the server.xml manually when running supported deployment steps.
Hope this helps - Hermann
------------------------------
Hermann Huebler
2innovate IT Consulting GmbH
Vienna
Austria
#IBMChampion
Original Message:
Sent: Wed January 05, 2022 10:09 AM
From: Kishore Kushwaha
Subject: Update Server configuration file in the IBM WebSphere Application Server (int app svr V 8.5)
Update Server configuration file "server.xml" in the IBM WebSphere Application Server (int app svr V 8.5)
I am able to setup/run Java Spring Boot Web Application (the war file) on the IBMi WebSphere Integrated Web Application Server (int app svr V 8.5) by using the Application Server's shell scripts provided in the folder "/QIBM/ProdData/OS/ApplicationServer/bin" as: shell scripts
- createApplicationServer.sh -server 'my_server' -startingPort '9999' -userid xxxxxx
- installApplication.sh -server 'my_server' -applicationPath '/home/myserver.war' -applicationName 'myserver' -contextRoot '/'
- startApplicationServer.sh -server 'my_server'
Means by using the provided shell scripts able to do the below tasks:
- Create the Application Server (int app svr V 8.5)
- And then install/setup Java Spring Boot web application in it
- Then start/run the Java web application
But before starting/running the Java web application (by startApplicationServer.sh in step 3), need to modify the Server configuration file "server.xml" manually (need to add missing "" in xml file); because no shell script is provided to modify the configuration file.
Can we do this manual task (Server configuration file modification task) by using any script? Any suggestion will be appreciated.
------------------------------
Kishore Kushwaha
------------------------------