小编idd*_*dqd的帖子

码头虚拟主机

我正在尝试使用多个域配置 Jetty,我面临的问题是 Jetty 正在运行另一个名为 SmartfoxServer 的服务器产品,所以我不确定我是否真的可以按照我喜欢的方式配置它。

这是我的 jetty.xml:

<Configure id="Server" class="org.mortbay.jetty.Server">
    <!-- =========================================================== -->
    <!-- Server Thread Pool                                          -->
    <!-- =========================================================== -->
    <Set name="ThreadPool">

      <New class="org.mortbay.thread.QueuedThreadPool">
        <Set name="minThreads">10</Set>
        <Set name="maxThreads">200</Set>
        <Set name="lowThreads">20</Set>
        <Set name="SpawnOrShrinkAt">2</Set>
      </New>

      <!-- Optional Java 5 bounded threadpool with job queue 
      <New class="org.mortbay.thread.concurrent.ThreadPool">
        <Set name="corePoolSize">50</Set>
        <Set name="maximumPoolSize">50</Set>
      </New>
      -->
    </Set>



    <!-- =========================================================== -->
    <!-- Set connectors                                              -->
    <!-- =========================================================== -->
    <!-- One of each type!                                           -->
    <!-- =========================================================== -->

    <!-- Use this connector for many frequently idle …
Run Code Online (Sandbox Code Playgroud)

jetty domain virtualhost

2
推荐指数
1
解决办法
4526
查看次数

标签 统计

domain ×1

jetty ×1

virtualhost ×1