标签:style http color io os ar 使用 java for
1:搭建tomcat
<Connector port="8080"
maxThreads="200" connectionTimeout="20000" acceptCount="400"
redirectPort="8443" minSpareThreads="10"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>
server.xml 文件中
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="false">
配置autoDeploy="false"。
<Connector port="8080"
maxThreads="200" connectionTimeout="20000" acceptCount="400"
redirectPort="8443" enableLookups="false" minSpareThreads="10" maxSpareThreads="150"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>
2:搭建zookeeper
3: solr搭建到tomcat中
<str name="host">${host:hbase-jrdata-01.pekdc1.jdfin.local}</str>
<int name="hostPort">${jetty.port:60030}</int>
<filterCache class="solr.FastLRUCache"
size="512"
initialSize="512"
autowarmCount="256"/>
<queryResultCache class="solr.FastLRUCache"
size="512"
initialSize="512"
autowarmCount="256"/>
<documentCache class="solr.FastLRUCache"
size="512"
initialSize="512"
autowarmCount="0"/>
<Context path="/solr" docBase="/soft/server/solr-4.10.0/dist/solr.war" debug="0" crossContext="true">
</Context>
标签:style http color io os ar 使用 java for
原文地址:http://www.cnblogs.com/fanweiwei/p/4036804.html