Just double checked this, and to get the proxy config working, entries are
needed in catalina.properties in the tomcat /conf directory. When I removed
these entries, the gadget xml could not be retrieved.

http.proxyPort=8080
http.proxyHost=proxy.com
http.nonProxyHosts=localhost, 127.0.0.1

I also had entries in the java options tab on the Tomcat config application,
but they proved to be redundant.

-Dhttp.proxyHost=proxy.com
-Dhttp.proxyPort=8080

Jeremy

On Mon, Sep 21, 2009 at 7:04 PM, Fisher, Tim <[email protected]>wrote:

> To get it working from Tomcat behind a firewall, where did you specify
> the proxy host and port.  Several months ago I was trying to get it
> working with Tomcat behind a proxy and had the same issues.  I was able
> to get it working from Jetty by specifying the -D options to maven, but
> never got Tomcat working because I didn't know where to specify the
> proxy host and port.  Putting those in the system-ext.properties file
> never worked.
>
> Tim
>
>
>
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or disclose
> it to anyone else. If you received it in error please notify us immediately
> and then destroy it.
>
> From: Jeremy Mason [mailto:[email protected]]
> Sent: Monday, September 21, 2009 12:01 PM
> To: [email protected]
> Subject: Re: Running Shindig behind a firewall
>
> Thanks. Downloading the latest and running using Jetty from the base
> directory with command line mvn -Dmaven.test.skip -Dhttp.proxyHost=<>
> -Dhttp.proxyPort=8080 -Prun works. After a "mvn clean install". It also
> works on Tomcat running from root.
>
> The problem was caused by me downloading the war from
> http://incubator.apache.org/shindig/download/index.html, specifically
> https://repository.apache.org/content/groups/public/org/apache/shindig/s
> hindig-server/1.0-incubating/shindig-server-1.0-incubating.war<https://repository.apache.org/content/groups/public/org/apache/shindig/s%0Ahindig-server/1.0-incubating/shindig-server-1.0-incubating.war>
> .
> This war or the way I installed it does seem to have an issue with
> proxies.
>
> Jeremy
>
> On Mon, Sep 21, 2009 at 4:00 PM, Terlecki, Stephen <
> [email protected]> wrote:
>
> > I run behind a firewall and don't have trouble with the firewall
> settings.
> >  When running jetty in dev, I pass the proxy settings through the
> > command line with -D params.  For configuration out on the servers, we
>
> > use the catalina properties and everything works well.
> >
> > Maybe there is something else blocking.
> >
> > I am working with latest from the trunk.
> >
> > Steve T.
> >
> > -----Original Message-----
> > From: Jeremy Mason [mailto:[email protected]]
> > Sent: Monday, September 21, 2009 9:49 AM
> > To: [email protected]
> > Subject: Re: Running Shindig behind a firewall
> >
> > Hi, picking up again after being out of this for some months. Using
> > Tomcat I'm getting the company firewall issue. Setting entries in
> > catalina.properties or -D java command line seems not to work.
> > Monitoring the network traffic shows the proxy settings are being
> > ignored. I'm going to pull latest code from head, rebuild and see if
> > there is a patch. Also run using Jetty. Would appreciate any comments.
> > Jeremy
> >
>
>

Reply via email to