Anyone know how to prevent outbound proxy user information from appearing in the process listings?
when running ps -ef, you see something like this:
/opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -XX:MaxPermSize=256m -Xms2048m -Xmx2048m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dhttp.proxyHost=<PROXY_HOST> -Dhttp.proxyPort=<PORT> -Dhttp.nonProxyHosts=<LIST> -Djava.proxyUser=<PROXY_USER> -Djava.proxyPassword=<PROXY_PASSWORD> -Dhttp.auth.ntlm.domain=<DOMAIN> -XX:+PrintGCDateStamps -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/atlassian/jira/endorsed -classpath /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start
Thanks
You can put these properties in jira-config.properties.
EDIT: Cancel this answer, it doesn't work.
Hi Jamie, can you provide us with the property name to define the proxy configuration (proxyUser and proxyPassword) in jira-config.properties?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's just the same as in the command line:
java.proxyPassword=<PROXY_PASSWORD>
I wondered if you could only put properties in there that are listed in jpm.xml, but I tested it and it worked fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
perfect! i'll create a kb out of this. thanks jamie.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Btw, Mark has put java.proxyPassword in his example, but afaik it is http.proxyPassword.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I tested this again and it didn't work. But there should be a way to put properties in a file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've not had any success with this yet. But thanks for your suggestion Jamie.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.