Wso2GadgetServer: how to use a proxy?

I installed wso2GadgetServer-1.4.2 on our corporate network. Access to external data sources is available through a proxy server. In /repository/conf/wrapper.conf I added the following:

wrapper.java.additional.11=-Dhttp.proxyHost=<ip of our proxy>
wrapper.java.additional.12=-Dhttp.proxyPort=<port the proxy is listening to>
wrapper.java.additional.13=-Dhttp.nonProxyHosts=127.0.0.1|localhost

I (re) launched GadgetServer and reopened the panel. The (external) content of the (predefined) gadget was not displayed. Instead, a timeout message was displayed. Inside /repository/logs/wrapper.logs I found the corresponding entries, for example:

INFO   | jvm 1    | 2012/04/12 08:24:21 | Apr 12, 2012 8:24:20 AM org.apache.shindig.gadgets.servlet.ProxyBase outputError
INFO   | jvm 1    | 2012/04/12 08:24:21 | Warnung: Request failed
INFO   | jvm 1    | 2012/04/12 08:24:21 | org.apache.shindig.gadgets.GadgetException: org.apache.http.conn.ConnectTimeoutException: Connect to soa-platform.blogspot.com/209.85.148.132:80 timed out
INFO   | jvm 1    | 2012/04/12 08:24:21 |   at org.apache.shindig.gadgets.http.BasicHttpFetcher.fetch(BasicHttpFetcher.java:351)
[...]
INFO   | jvm 1    | 2012/04/12 08:24:21 | Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to soa-platform.blogspot.com/209.85.148.132:80 timed out

Anyone have an idea how to solve the problem?

btw: 2 people pointed out the same problem at http://wso2.org/forum/thread/21081

+3
source share
1 answer

WSO2 ESB 4.0.3 - - . http. , :

wrapper.java.additional.11=-DproxyHost=<ip of our proxy>
wrapper.java.additional.12=-DproxyPort=<port the proxy is listening to>
wrapper.java.additional.13=-DnonProxyHosts=127.0.0.1|localhost
+2

All Articles