Using JIRA UPM through download proxy

austen joe November 9, 2011

I have an instance of JIRA in my localhost. I am unable to configure pluging through my plugin panel to work through the download proxy

I have tried conflguring the proxy in the setenv.bat file:

set JVM_SUPPORT_RECOMMENDED_ARGS= "-Dhttp.proxyHost=proxyprd.abc.com -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*abc.com|*.abc.com|localhost"

I have also tried the workaround(disable upm):

set JVM_SUPPORT_RECOMMENDED_ARGS=" -Dupm.pac.disable=true"

and also going to:

http://localhost:8080/admin/viewplugins.action

to try to disable plugins... no luck

2 answers

1 accepted

0 votes
Answer accepted
austen joe November 13, 2011

Wrong Syntax, Don't need double quotes.

set JVM_SUPPORT_RECOMMENDED_ARGS= -Dhttp.proxyHost=proxyprd.abc.com -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*abc.com|*.abc.com|localhost

1 vote
Gregory Sudderth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 13, 2011

I modified setenv.sh to have these lines:

PROXY_ARGS="-Dhttp.proxyHost=proxy.mycorp.com -Dhttp.proxyPort=8080"

JAVA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=256m $JAVA_OPTS -Djava.awt.headless=true ${PROXY_ARGS} "
export JAVA_OPTS

Note: don't forget that last space after the ${PROXY_ARGS} before the quote!!!

Suggest an answer

Log in or Sign up to answer