I had the same problem with the rss-binding example.  If you're behind a
firewall, there is little to no information on how to configure ServiceMix
examples to work in this situation.  I had a brain fart this morning and
remembered reading a web page somewhere that talked about setting httpProxy
properties on the command line of the JVM.  I found the following URL: 

http://developerlife.com/lessons/jvmfirewalltunelling/default.htm

So then I moodified the BAT file in the bin directory to include the proxy
properties: 

set DEFAULT_JAVA_OPTS=-server -Xmx512M
-Dderby.system.home="%SERVICEMIX_HOME%\var"
-Dderby.storage.fileSyncTransactionLog=true -Dcom.sun.management.jmxremote
-Dhttp.proxyHost=(my proxy host) -Dhttp.proxyPort=3(my proxy port)


That fixed it and the rss-binding example works flawlessly now.  I hope this
works for you too.




zul wrote:
> 
> Hi,
> 
> It seems that running the http-binding example behind a http proxy server
> have a connection time-out problem. Where do I set the http proxy
> properties (such as proxyhost, proxyport, user, password) for connecting
> to the external server ("http://64.124.140.30:9090/soap";) and what is the
> properties name or is it set (have to hardcode) at the sending server
> program file ?
> 
> Thankx.
> 
> Regards,
>    Zul
> 

-- 
View this message in context: 
http://www.nabble.com/Http-Binding-Example-Running-Behind-a-HTTP-Proxy-server-tf2270077.html#a6306378
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to