Monday, February 27, 2012
Playing with RAP 1.5
Last weekend I started to try my RCP based app on a RAP1.5 target platform. Of sure I had to make some changes, most annoyingly I had millions of toolkit.paintBordersFor that isn't implemented in RAP. I could make the Nebula Gallery widget work with some restrictions. I still have some headache with the CkEditor integration as the RAP Browser does no Events. But I think with some hints from the community I can make this out. It started quite as an experiment, but after some 20 hours I now can get a feeling that I can make everything work.
Sunday, February 19, 2012
VAADIN and mod_proxy
Yesterday I tried to deploy a beta relase of my new Vaadin application on my debian box. I'm running it on an embedded jetty 6.x that I needed to get proxied by my apache web server. I found several posts about how to do this, and explanations that the VAADIN servlet has some troubles with beeing behind a proxy. The app on jetty on my side is running on localhost:8889/shop. It looks quite strange to me, but it works. I needed the /APP/ config to make StreamResources work. The proxy configuration that finally worked goes like this:
<VirtualHost *:80>ServerName shop.buchmanager.comProxyPass /VAADIN/ http://127.0.0.1:8889/VAADIN/ProxyPass /APP/ http://127.0.0.1:8889/APP/ProxyPass / http://127.0.0.1:8889/shop/ProxyPreserveHost On# Local reverse proxy authorization override# Most unix distribution deny proxy by default (ie /etc/apache2/mods-enabled/proxy.conf in Ubuntu)<Proxy *>Order deny,allowAllow from all</Proxy></VirtualHost>
Subscribe to:
Posts (Atom)