> scanner1 looks at dir1 with jar1, jar2....jar 100 in it
> 
> scanner 2 looks at dir2 with jar101...jar200 in it.
> 
> I haven't checked recently but I thought scanning happened in its own
> thread.

Yes each DS which extends from ADS gets its own thread.
 
> scanner1 starts, new thread deploys jar1...
> 
> scanner2 starts, new thread deploys jar101,jar102,jar103
> thread 1 deploys jar2,jar3.
> 
> thread2 finishes jar200
> thread1 is still on jar50.
> 
> If you have one scanner, they will be deployed in order 1...200.
> 
> Maybe I am wrong about the threads.

No you are right.  When I desgined this I had the understanding that the MBean 
dcependencies made ordering an extra and usless step... which is why it was 
removed from the original impl I commited.

That was a mistake on my part and I put it back in... that said I think that 
we need to get back to a point where we can pull the sorting back and let the 
dependency system handle the details of ordering.  I think we are close to a 
final (ok semi final) solution which will simplify the DS componets and allow 
for them to do more (like I descibed with DS peers + more).

Lets just get this fixed.  I think we have a good understanding of the 
problem.  I think we have several options for solutions.  Lets dig through the 
details find the solutuon and implement it.

This is linked to the deployer re-design work that needs to be done, but I 
think it can be isolated and thus we can and should continue working on a 
solutuon for it now, while we settle the requirements for the next and 
hopfully close to last iteration on deploytment managment.

You are really the lead for this, so let us know what the plan is... we really 
need this fixed.

I think this is a 3.1 fix, so getting 3.0 out is probably a bit more 
important, assuming we are still planning to release that soon.

--jason

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to