Spring boot integration.


we have a problem if we start the same application twice using different server ports.

java -Dserver.port=8080 -jar target\app-0.0.1-SNAPSHOT.jar java -Dserver.port=8090 -jar target\app-0.0.1-SNAPSHOT.jar It looks like the session gets immediately expired in the first application while the second application starting and vice versa if the second application is opened in new browser’s tab. Of course it’s working using different browsers or going incognito
What is going wrong here? The application is build as spring integration article described and working well.