4

Is there a possibility to configure several webapps in a spring boot with embedded tomcat in a way that:

I saw already:

Using multiple dispatcher servlets / web contexts with spring boot - as far as I understand we actuall have here one webapp with one ServletContext and classloader.

Configure multiple servletcontainers/servlets with spring boot - here different ports are used for webapps and I would prefer to have it on one port

Community
  • 1
  • 1
gumis88
  • 41
  • 2
  • Would this answer your question http://www.davidtanzer.net/running_multiple_spring_boot_apps_in_the_same_jvm – Vishal Jumani Jul 06 '16 at 16:12
  • Sounds like what you need is a web server sitting in front of your webapps. – kryger Jul 07 '16 at 09:00
  • @Vhshal Jumani: In solution from http://www.davidtanzer.net/running_multiple_spring_boot_apps_in_the_same_jvm different ports must be used and I would prefer to have one port for all webapps – gumis88 Jul 07 '16 at 10:27

1 Answers1

0

There is a possible solution over on Softare Engineering Exchange: How to wrap multiple Spring Boot applications in a single one

(I'm aware this is an ancient question, but I was looking for an answer to it today.)

ManicDee
  • 732
  • 6
  • 16