Re: Deep classloader switching fails Ruta tests - some thoughts

2016-08-19 Thread Peter Klügl
ruta-core was built successfully on jenkins :-) Am 19.08.2016 um 11:09 schrieb Peter Klügl: > Thanks Richard, I forgot that there are no problems at all if I use > uimaFIT "correctly". > > > +1 I will adapt ruta to use descriptions > > > I do already some stuff you mention below, but the part wit

Re: Deep classloader switching fails Ruta tests - some thoughts

2016-08-19 Thread Peter Klügl
Thanks Richard, I forgot that there are no problems at all if I use uimaFIT "correctly". +1 I will adapt ruta to use descriptions I do already some stuff you mention below, but the part with the inlined analysis engines was a bit neglected. Best, Peter Am 19.08.2016 um 10:08 schrieb Richa

Re: Deep classloader switching fails Ruta tests - some thoughts

2016-08-19 Thread Richard Eckart de Castilho
I have been thinking a bit about this. > On 19.08.2016, at 09:57, Peter Klügl wrote: > > What are our options concerning the three projects? The functionality in > ruta calling analysis engines is needed (preferable without switching in > future). With the present release versions of UIMA/uima

Re: Deep classloader switching fails Ruta tests - some thoughts

2016-08-19 Thread Peter Klügl
Yes, uimaFIT should not create a resource manager, or at least there should be an option to reuse a given one... or at least a given classloader. The switching is somewhat problematic for me and Ruta, but did not cause too serious problems yet. There is of course ResourceManagerFactory.setResourc

Re: Deep classloader switching fails Ruta tests - some thoughts

2016-08-18 Thread Richard Eckart de Castilho
Hm, I think this could also be addressed via the UimaContextHolder that was discussed elsewhere. uimaFIT could check if there is an active context and re-use its resource manager instead of creating a new one. What do you think? Cheers, -- Richard > On 18.08.2016, at 23:16, Marshall Schor wrot

Re: Deep classloader switching fails Ruta tests - some thoughts

2016-08-18 Thread Marshall Schor
Some other things to consider: The way Ruta is using uimaFIT in the failing case results in multiple analysis engines created with different resource managers, but the CAS from one is (I think - didn't check this...) sent through the AE of another. When multiple AEs are used this way with a commo

Re: Deep classloader switching fails Ruta tests - here's the analysis

2016-08-18 Thread Marshall Schor
It didn't fail for me on trunk when running the whole test suite. but it did fail running just the one test UimaFitAnalysisEngineWithManditoryParameterTest. I put in a catcher to see where all the class loaders are being created, and they're all (all 8 of them!) being created as a result of the te

Re: Deep classloader switching fails Ruta tests

2016-08-18 Thread Marshall Schor
ok, I'll take a look. On 8/18/2016 1:20 PM, Richard Eckart de Castilho wrote: > On 18.08.2016, at 08:39, Peter Klügl wrote: >> No idea yet why the tests fail... >> >> Am 18.08.2016 um 02:29 schrieb Apache Jenkins Server: >>> See

Deep classloader switching fails Ruta tests

2016-08-18 Thread Richard Eckart de Castilho
On 18.08.2016, at 08:39, Peter Klügl wrote: > > No idea yet why the tests fail... > > Am 18.08.2016 um 02:29 schrieb Apache Jenkins Server: >> See > On 17.08.2016, at 19:18, Marshall Schor (JIRA) wrote: > Marshall Schor