I have those added to Tomcat's Java Options using tomcat8w.exe -Dhttp.proxySet=true -Dhttp.proxyHost=proxy.ucmo.edu -Dhttp.proxyPort=1234 -Dhttps.proxySet=true -Dhttps.proxyHost=proxy.ucmo.edu -Dhttps.proxyPort=1234
I can see these entries in the catalina.log upon startup: 23-Jun-2017 14:44:52.125 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttp.proxySet=true 23-Jun-2017 14:44:52.125 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttp.proxyHost=proxy.ucmo.edu 23-Jun-2017 14:44:52.125 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttp.proxyPort=1234 23-Jun-2017 14:44:52.125 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttps.proxySet=true 23-Jun-2017 14:44:52.125 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttps.proxyHost=proxy.ucmo.edu 23-Jun-2017 14:44:52.125 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dhttps.proxyPort=1234 23-Jun-2017 14:44:52.125 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit I tried adding entries to /conf/catalina.properties and ../bin/catalina.sh, but never saw anything in the logs that indicated they were being used. I think it is using the proxy server, but our server team isn't seeing in traffic from the server in the proxy logs. Also, if I malform the proxy host in the above Java Opts, I start getting failed connection errors to google-analytics in the dspace.log. That to me would indicate traffic is being proxied and successful connections are being made... Thanks, Shannon -- Mr. Shannon Meisenheimer Office of Technology University of Central Missouri WDE0608 [email protected] Work Phone: (660) 543-8483 On Sat, Jun 24, 2017 at 6:25 AM, Tom Desair <[email protected]> wrote: > Hi Shannon, > > Try adding these options to the TOMCAT_OPTS (for Tomcat) and JAVA_OPTS > (for any CLI scripts) environment variables: > >> -Dhttp.proxyHost=proxy.ucmo.edu -Dhttp.proxyPort=1234 >> -Dhttps.proxyHost=proxy.ucmo.edu -Dhttps.proxyPort=1234 >> -Dhttp.noProxyHosts="localhost|127.0.0.1" >> >> > Does that work? > > Best regards, > Tom > > > [image: logo] Tom Desair > 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586 > Gaston Geenslaan 14, Leuven 3001, Belgium > www.atmire.com > <http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=tomdesair> > > 2017-06-23 21:58 GMT+02:00 Shannon Meisenheimer <[email protected]>: > >> Hi All, >> >> I've asked this before, but I'll try again :) >> >> We have running DSpace with Tomcat (only, no Apache). Our DSpace server >> is behind a proxy. Our server team is wanting all traffic coming in/out to >> go through the proxy and it currently isn't. >> >> I've configured the proxy settings in dspace.cfg and configured the proxy >> in tomcat's Java options. However, we aren't seeing the traffic in the >> proxy logs. >> >> Is there anywhere else the proxy host and port need to be configured? >> >> Is anyone else running DSpace behind a proxy server? >> >> Thanks, >> Shannon >> -- >> Mr. Shannon Meisenheimer >> Office of Technology >> University of Central Missouri >> WDE0608 >> [email protected] >> Work Phone: (660) 543-8483 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "DSpace Technical Support" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/dspace-tech. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
