Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Parallel Start of Contexts

Would it be possible to start contexts in parallel? 

http://jira.codehaus.org/browse/JETTY-1250 indicates - yes. But even setting the attribute results in my contexts starting serially (as mentioned by the poster in the bug). I am using version 7.4.5.

My handlers are:

  <Set name="handler">
      <New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
        <Set name="handlers">
         <Array type="org.eclipse.jetty.server.Handler">
           <Item>
             <New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection">
      <Set name="parallelStart">true</Set>
             </New>
           </Item>
           <Item>
             <New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
           </Item>
         </Array>
        </Set>
      </New>
    </Set>

Krishna

Back to the top