3
votes

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

1
Would this answer your question davidtanzer.net/… - Vishal Jumani
Sounds like what you need is a web server sitting in front of your webapps. - kryger
@Vhshal Jumani: In solution from davidtanzer.net/… different ports must be used and I would prefer to have one port for all webapps - gumis88

1 Answers

0
votes

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.)