October 23, 2017 at 9:09 am #19232
I’m trying to run OpenAM (5.1.1), OpenDJ (5.0) using docker-compose to run a local development environment.
version: "2" services: openam: container_name: openam image: openam:local ports: - 8040:8080 links: - opendj depends_on: - opendj opendj: container_name: opendj image: opendj:local ports: - 1389:389
Both containers run but I cannot get OpenAM to connect to OpenDJ when trying to create a new configuration in OpenAM (Step 4: User Data Store Settings – Could not connect to the server.
I’m using the forgerock docker repository branch release 5 as the base to generate the containers. How can I let OpenAM connect to OpenDJ?October 23, 2017 at 3:30 pm #19244Warren StrangeParticipant
The 5.5 platform binaries have been published. I’d suggest starting with:
For your specific issue, I would skip configuration of the user data store in the installer, and add it later once AM is up and running. You can exec into the AM container to find out if it can reach the DJ user store.October 23, 2017 at 7:47 pm #19248
That’s exactly the thing I’m doing :-)
I’m running OpenAM and it comes up with the configuration screen. I then create a new configuration and in the section User Store, I try to have it connect to the running OpenDJ instance. Which fails. I’ve looked at adding extra_hosts (which seemed to have solved the issue in the past) in the Docker Compose file but have had no luck yet making the connection to OpenDJ.
PeterOctober 23, 2017 at 8:43 pm #19249Warren StrangeParticipant
To clarify, are you trying to configure the user store from the configurator screen, or is AM already up and running OK (with an embedded store), and you are attempting to add the user store to the realm?
I would recommend the later approach.
October 24, 2017 at 7:30 am #19258
- This reply was modified 1 year, 10 months ago by Warren Strange.
I’m trying to configure the user store from the configurator screen. I’ll try the later approach.November 19, 2018 at 11:45 pm #23906ardentkurtParticipant
Was this ever resolved? How? I am running into the same issue. I am attempting to add the user data store after openam starts up.
You must be logged in to reply to this topic.