> > I'm not sure I'm getting the multi-threading thing, could you say a bit > more about it? > > -- > Jean-Sebastien > <[EMAIL PROTECTED]> >
Thread 1 and thread 2 call ContributionService.contribute. Each contribution contains a defintions.xml file so both threads try to add policy sets etc. Since SCADefinitions uses unsynchronized ArrayLists this is exposed to failure. SCADefinitionsUtil also has some code that isn't thread safe. Greg