How to proxy settings » History » Revision 1
Revision 1/3
| Next »
Henning Blohm, 24.09.2012 14:52
How to proxy settings¶
When you are working in an intranet setup it may be required to specify proxy server configuration so that your Z2 installation can reach our repositories (notable by an exception or warning at start up that indicates that our server name could not be resolved).
In that case, go to Z2_HOME/run/bin and open the file launch.properties in a text editor (e.g. notepad on windows). Add the properties proxyHost and proxyPort (and if you have, proxyUser and proxyPassword - which is unlikely).
Your launch.properties file should read similar to this afterwards (but please do NOT copy & paste this fragment! Only add the two properties mentioned (and substitute myproxyhost, myproxyport accordingly):
#
# alternative VM profiles for the home process
# VM opts
# default
#
home.vmopts=\
-Xms32M -Xmx32M -cp z.jar \
-DproxyHost=myproxyhost -DproxyPort=myproxyport \
-Dcom.sun.management.config.file=management.properties \
-Djava.util.logging.config.file=logging.properties \
-Dcom.zfabrik.home.concurrency=5 \
-Dcom.zfabrik.home.layout=environment/home \
-Dcom.zfabrik.home.autoVerifyInterval=600 \
-Dcom.zfabrik.home.attainOperationTimeOut=300000 \
-Dcom.zfabrik.dev.local.workspace=../../.. \
-Dcom.zfabrik.dev.local.repo=../../work/repos/dev
# override when -mode debug
home.vmopts.debug=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=5000 -Dworker.debug=true
# override when -mode verbose
home.vmopts.verbose=-verbose:gc -XX:+PrintClassHistogram
Updated by Henning Blohm about 12 years ago · 1 revisions