Sunday 15 February 2015

h2 - Separate spring-boot apps with embedded databases conflict -



h2 - Separate spring-boot apps with embedded databases conflict -

i have 2 spring-boot applications both utilize embedded h2 databases, pointing different db files in different directories. utilize h2 database simple internal login administrative tasks respective applications. if have both started on same machine @ same time 2 applications conflict; i.e. logging 1 app logs out of other app.

i thought them using different database url's, pointing different files in different directories, engine running in embedded mode in separate apps, there not conflict.

the apps configured standalone embedded tomcat. thoughts on doing wrong?

cookies no path shared between servers running on same host. need give 1 if them context path (as in server.contextpath).

spring-boot h2

No comments:

Post a Comment