Jetty

Parallel start of contexts

Details

  • Type: Wish Wish
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 7.2.0
  • Component/s: Servlet
  • Labels:
    None
  • Number of attachments :
    0

Description

It would be nice to startup contexts parallel.
Is this possible?

Activity

Hide
Greg Wilkins added a comment -

Good idea.
an implementation is in trunk now for 7.2

r2190

Show
Greg Wilkins added a comment - Good idea. an implementation is in trunk now for 7.2 r2190
Hide
David Wade added a comment -

Greg, where do we configure this?

Would like to try it to see if it cuts startup time.

Show
David Wade added a comment - Greg, where do we configure this? Would like to try it to see if it cuts startup time.
Hide
David Wade added a comment -

Ahh, its on the HandlerCollection.

So its like this:-

<Call name="addBean">
<Arg>
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
<Set name="contexts">
<Ref id="Contexts"/>
</Set>
<Get name="contexts">
<Set name="parallelStart">true</Set>
</Get>

Show
David Wade added a comment - Ahh, its on the HandlerCollection. So its like this:- <Call name="addBean"> <Arg> <New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager"> <Set name="contexts"> <Ref id="Contexts"/> </Set> <Get name="contexts"> <Set name="parallelStart">true</Set> </Get>
Hide
David Wade added a comment -

But it doesn't do anything in parallel... I can still see my 15 wars started serially.

Show
David Wade added a comment - But it doesn't do anything in parallel... I can still see my 15 wars started serially.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: