Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] jetty, Vaadin, mod_proxy and absolute local URIs?

Folks;

we run a Vaadin 6.x application with an embedded Jetty behind an apache2 mod_proxy reverse proxy setup. The mod_proxy/jetty setup is something we're fairly familiar with, and it works well out of the box for most of our applications.

However, talking about the Vaadin applications, it seems to fail in some situations whenever Vaadin internally tries to guess server name and port using ServletRequest.getServerName() / .getServerPort() and ends up with name and port of the server instead of the proxy.

There seem to be some tickets for Vaadin, in example

http://dev.vaadin.com/ticket/4131 ,

but I fail to really work around this. Is there anything I can do about this, Jetty-wise? So far I introduced a ForwardedRequestCustomizer to my (embedded) Jetty configuration, but this doesn't change much about this particular behaviour. Any hints on that greatly appreciated... :/

TIA and all the best,
Kristian


Back to the top