Also, please provide a complete stack trace

Jerry

On Wed, Jul 5, 2017 at 9:29 AM, Jaroslaw Cwiklik <cwik...@apache.org> wrote:

> Hi, looks like a Connection has been recovered but the code has a stale
> Session created with a previous connection. I will try to reproduce. The
> remote C++ service is not an issue here.
>
> Once you restart the broker (not the uima-as client), can you send more
> than one CAS?
>
> Jerry
>
> On Wed, Jul 5, 2017 at 8:24 AM, Nelson RIvera (JIRA) <dev@uima.apache.org>
> wrote:
>
>> Nelson RIvera created UIMA-5477:
>> -----------------------------------
>>
>>              Summary: javax.jms.IllegalStateException: The Session is
>> closed after establish connections between uima-as client and ActiveMQ
>>                  Key: UIMA-5477
>>                  URL: https://issues.apache.org/jira/browse/UIMA-5477
>>              Project: UIMA
>>           Issue Type: Access
>>           Components: Async Scaleout
>>     Affects Versions: 2.9.0AS
>>          Environment: ubuntu xenial, openjdk-8-jdk
>>             Reporter: Nelson RIvera
>>
>>
>> In my program main, i initialize a uimas-as client only once and I use
>> this client to consume all requests to a displayed service uima-as.
>>
>> Before process a request i ask to uima-as client with:
>> BaseUIMAAsynchronousEngine_impl.connectionOpen()
>> and if the result es "false", i stop the uima-as client and initialize it
>> again.
>>
>> With some steps, still undefined, but basically when restart the UIMA-AS
>> Broker
>> without restart service uima-as.
>> The instruccion to uima-as client
>> BaseUIMAAsynchronousEngine_impl.connectionOpen() return "true", but
>> them i get a "javax.jms.IllegalStateException: The Session is closed"
>> when proces the request.
>>
>> One peculiarity is that, is a primitive annotator implented in c++,
>> but is deployed with de deployAsyncService.sh de uima-as directly.
>>
>>
>>
>> --
>> This message was sent by Atlassian JIRA
>> (v6.4.14#64029)
>>
>
>

Reply via email to