November 8, 2016 at 3:39 pm #14114FrotonisParticipant
at first let me explain what i want to do.
I wanna have two separate instances of OpenAM 13 running on same tomcat container.
One which will run as instance1.domain.org/openam and second as instance2.domain.org/openam-mail
Both of instances have separate configuration and user’s datastore.
I have already configured both instances but when i start my new instance openam-mail the first one tell me No Configuration found.
Can you pls help me to solve this issue? I had considered that it is possible to have two instances which each of them using different cookie name.
thanks for answers.November 8, 2016 at 5:46 pm #14118Bill NelsonParticipant
Installation of two different instances of openam into the same container is not supported by ForgeRock. This is mainly due to the bootstrap files created during the installation.November 8, 2016 at 10:50 pm #14124Nikolaos GiannopoulosParticipant
The problem with 2 OpenAM servers running in one container is already outlined by Bill. Of course nothing stops you from deploying 2 Tomcat instances on different ports with each containing their own OpenAM….
However, this sounds like a great application of OpenAM realms were in each realm could map to a specific FQDN and each realm could employ a distinct User datastore that is configured within the realm.
Think of realms as a partitioning in OpenAM were even SSO will not work across realms so you really end up with 2 sets of services and benefit from one configuration, LDAP, JVM, etc… to maintain / operate!
–NikolaosNovember 9, 2016 at 6:47 am #14129FrotonisParticipant
@bill-nelsonidentityfusion-com thanks i was afraid of it. :)
@nikolaosgac – I already have three realms with same configuration. My main problem is, that i have to support parallel authentication across two of them. Like i mentiond in my previous post https://forgerock.org/topic/is-there-way-to-have-second-cookie-for-given-realm/.
As you know when you are already authenticated againts one realm you are not able to authenticate into another without logout from the first one.
Maybe i should configure next container for this functionality. (Or handle the cookie management for realms and create this functionality for other people who looking for similar solution :D )
thanks guys for answers
You must be logged in to reply to this topic.