Re: Exception thrown during CAS serialization for Remote UIMA-AS Service

2012-06-14 Thread Jörn Kottmann
You write a string to the CAS which contains a non-xml character. This character cannot be serialized into XMI, and thats what this exception is about. Have a look at our documentation explaining the issue:

Re: Exception thrown during CAS serialization for Remote UIMA-AS Service

2012-06-14 Thread Thomas Ginter
Jorn, Thanks for the link to that section of documentation. The mention of the XMLUtils class was just what I needed. I wrote an XmlFilter class that uses XMLUtils to detect invalid XML characters and replace them with spaces so that our annotation offsets will still match the original text.

CollectionProcessComplete Event thrown with Outstanding CAS Count

2012-06-14 Thread Thomas Ginter
My UIMA-AS 2.3.1 service is returning the CollectionProcessComplete event while there are still CAS objects outstanding. The client log shows: INFO: Client in CollecitonProcessComplete - OutstandingCasCount=2 TotalCasRequestsSentBetweenCpCs= I always seem to end up losing 2 CAS objects