-
Notifications
You must be signed in to change notification settings - Fork 39
Maximo failing to connect to database after docker-compose stop and docker-compose start #14
Comments
Hi, Thanks. |
Hello, Is this a database issue where restoring is not recommended and/or needs to be modified somehow? Thank you |
Hi, |
Doing some more digging, it looks like upon each docker-compose up (at least the second time after a fresh build), the IP is changing for the database container - despite the hostname remaining maxdb. MaxDB First startup:
After 'docker-compose stop' --> 'docker-compose up':
Snippet of SystemOut.log:
Is this intended behavior? If I define static IP in the docker-compose.yml would it break anything? Thank you |
Hi, Yes, Docker dynamically defines IPs with internal DHCP like system by default. I recommend every component depends with host name, but I think static IPs will be working. |
Hello,
I'm running into an interesting issue where after building the containers and verifying everything is working correctly, after running docker-compost stop then docker-compose start again, I can no longer access localhost/maximo due to a 500 error. Looking in the /opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/logs/MXServer/SystemOut.log logs, i notice the following failing:
BMXAA6421E - The system could not connect to the JDBC source: jdbc:sqlserver://;
Despite this message, netstat shows that 1433 is open on 0.0.0.0 on the db container and I can even access it using dbeaver on my host. Is there any guidance on how to solve this issue or ideas on why this issue might be occurring?
Thank you
The text was updated successfully, but these errors were encountered: