arrow_back history picture_as_pdf This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ~~NOTRANS~~ ~~Title: Deployment: mod_proxy~~ Usually, a JVx application will be installed on a Java application server like Tomcat, Wildfly, etc. This will be good enough for small and simple scenarios but Enterprise installations are behind a load balanced web server like Apache httpd, nginx, etc. We'll show you a simple configuration option for Apache httpd with mod_proxy: Assume the application is avaiable under http://localhost:8080/webapp/web/ui/ In order to use an Apache httpd in front of Apache Tomcat, simple add following to the config file of Apache httpd: <file bash> ProxyPass /webapp/PUSH ws://localhost:8080/webapp/web/ui/PUSH ProxyPassReverse /webapp/PUSH ws://localhost:8080/webapp/web/ui/PUSH ProxyPass /webapp http://localhost:8080/webapp timeout=300 ProxyPassReverse /webapp http://localhost:8080/webapp timeout=300 </file> The application will be available under http://www.yourdomain.com/webapp/web/ui/ If you plan to use the application in the root of your domain, e.g. http://www.yourdomain.com/ You'll need a different configuration: <file bash> ProxyPassReverseCookiePath /webapp / ProxyPass /APP http://localhost:8080/webapp/web/ui/APP ProxyPassReverse /APP http://localhost:8080/webapp/web/ui/APP ProxyPass /PUSH ws://localhost:8080/webapp/web/ui/PUSH ProxyPassReverse /PUSH ws://localhost:8080/webapp/web/ui/PUSH ProxyPass /VAADIN http://localhost:8080/webapp/VAADIN timeout=300 ProxyPassReverse /VAADIN http://localhost:8080/webapp/VAADIN timeout=300 ProxyPass /UIDL http://localhost:8080/webapp/web/ui/UIDL timeout=300 ProxyPassReverse /UIDL http://localhost:8080/webapp/web/ui/UIDL timeout=300 ProxyPass / http://localhost:8080/webapp/web/ui timeout=300 ProxyPassReverse / http://localhost:8080/webapp/web/ui timeout=300 </file>