Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Sergiu1 +XWiki.coldserenity - Content
-
... ... @@ -81,3 +81,17 @@ 81 81 {{/code}} 82 82 83 83 You need to edit ##WEB-INF/cache/infinispan/config.xml## for each instance of XWiki, and change the ##jmxDomain## value (found under the ##globalJmxStatistics## tag) to have a unique name. 84 + 85 + 86 +== Running XWiki behind proxy-server == 87 +Extension manager relies on remote repositories for searching and fetching available extensions, so if your XWiki is installed in a network accessing the internet through proxy-server, most likely extensions search will return you nothing and log files will contain ##connection refused## exceptions. 88 + 89 +In such cases you should configure XWkik to know your proxy-server. 90 + 91 +XWiki uses default Java proxy configuration through Apache httpclient. See [[http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html]] for more details. 92 +The main idea is to add a set of proxy-related properties to system scope. 93 + 94 +E.g. for Tomcat 6 it could be done in the following way. modify ##/<tomcat-home>/bin/catalina.sh## and added proxies to ##JAVA_OPTS## variable definition: 95 + 96 +##JAVA_OPTS="$JAVA_OPTS -Dappserver.home=$CATALINA_HOME -Dappserver.base=$CATALINA_HOME **-Dhttp.proxyHost=proxy.mycompany.com -Dhttp.proxyPort=7777 -Dhttps.proxyHost=proxy.mycompany.com -Dhttps.proxyPort=7777 -Dftp.proxyHost=proxy.mycompany.com -Dftp.proxyPort=7777** -Xmx1738m -Xms1738m -XX:MaxPermSize=256m $XWIKI_OPTS"## 97 +