标签:tla down utf-8 lease time nio install classname nbsp
修改confluence的配置文件
[root@localhost usr]# cd /opt/atlassian/confluence
[root@localhost confluence]# ls -a
. .. bin conf confluence .install4j install.reg jre lib LICENSE licenses logs NOTICE README.html README.txt RELEASE-NOTES RUNNING.txt synchrony-proxy temp uninstall webapps work
[root@localhost confluence]# dir
bin conf confluence install.reg jre lib LICENSE licenses logs NOTICE README.html README.txt RELEASE-NOTES RUNNING.txt synchrony-proxy temp uninstall webapps work
[root@localhost confluence]# cd conf
[root@localhost conf]# cat -n server.xml
1 <Server port="8000" shutdown="SHUTDOWN" debug="0">
2 <Service name="Tomcat-Standalone">
3 <Connector port="8090" connectionTimeout="20000" redirectPort="8443"
4 maxThreads="48" minSpareThreads="10"
5 enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
6 protocol="org.apache.coyote.http11.Http11NioProtocol" />
7
8 <Engine name="Standalone" defaultHost="localhost" debug="0">
9
10 <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
11 <Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
12 <!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
13 <Manager pathname="" />
14 <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
15 </Context>
16
17 <Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0" reloadable="false" useHttpOnly="true">
18 <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
19 </Context>
20 </Host>
21
22 </Engine>
23
24 <!--
25 To run Confluence via HTTPS:
26 * Uncomment the Connector below
27 * Execute:
28 %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
29 $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
30 with a password value of "changeit" for both the certificate and the keystore itself.
31 * Restart and visit https://localhost:8443/
32
33 For more info, see https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS
34 -->
35 <!--
36 <Connector port="8443" maxHttpHeaderSize="8192"
37 maxThreads="150" minSpareThreads="25"
38 protocol="org.apache.coyote.http11.Http11NioProtocol"
39 enableLookups="false" disableUploadTimeout="true"
40 acceptCount="100" scheme="https" secure="true"
41 clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" SSLEnabled="true"
42 URIEncoding="UTF-8" keystorePass="<MY_CERTIFICATE_PASSWORD>"/>
43 -->
44 </Service>
45 </Server>
46
标签:tla down utf-8 lease time nio install classname nbsp
原文地址:http://www.cnblogs.com/jasonlam/p/7815192.html