I tried to run two instances of Spring DM Server (2.0.1.RELEASE) on the same machine. Everything is OK except the shutdown does not work properly.
Here is what I did:
1. Made a copy of the whole installation.
2. Searched for any kind of the port number specifications. I found them in dmk.sh and some files under config directory. I changed those ports so that two instances would not clash.
3. Started both instances with their corresponding startup.sh scripts. Looked good.
4. Called shutdown.sh on the second (altered) instance. The first instance shut down instead, the second one was still running.
Is there a solution to this? Am I missing some port number or parameter?
The same problem exists in 1.0.2 version, I hoped it would be fixed in 2.0.1.