The IntegrationServer will only run as long as you keep the session running. Either run it headless or as a server.
Original Message:
Sent: Wed August 28, 2024 02:25 AM
From: Kim Meynendonckx
Subject: Integration Node stops after deployment
Hi ,
In a container you don't need a integration node just the integration server.
Make sure there is working directory created and then start the server using "IntegrationServer -w <workingdir>"
Have a look at this repo https://github.com/ot4i/ace-docker
------------------------------
Kim Meynendonckx
Original Message:
Sent: Mon August 26, 2024 09:37 AM
From: Saad Ahmed
Subject: Integration Node stops after deployment
Hi, I've been deploying App connect as container using Docker file. Once once docker file is built, it creates an Integration Node, create an integration server inside nad deploy the application bar file but once its done the Node stops and i have to start it manually.
My container is up and running and there's no logs for stopping the Node.
The docker file and bash script is attached for further troubleshooting.
Docker File
'''
# Use a specific ACE image version
FROM ibmcom/ace-server:latest
ENV LICENSE=accept
# Copy the BAR file to the appropriate directory in the container
COPY my-integration-bar-file.bar /home/aceuser/ace-server/
#COPY MyScript.sh /usr/local/bin
COPY MyScript.sh /home/aceuser/ace-server/
RUN source /opt/ibm/ace-11/server/bin/mqsiprofile && /home/aceuser/ace-server/MyScript.sh
#CMD ["/usr/local/bin/MyScript.sh"
#ENTRYPOINT ["tail", "-f", "/dev/null"]
'''
Bash File
'''
#!/bin/bash
set -e
set -x
mqsicreatebroker TEST && mqsistart TEST && mqsicreateexecutiongroup TEST -e TESTSERVER && mqsideploy TEST -e TESTSERVER -a /home/aceuser/ace-server/my-integration-bar-file.bar
'''
------------------------------
Saad Ahmed
------------------------------