Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-05 Thread nelson rivera
Please can you give me the url to source code with the changes, to test. 2017-07-05 16:19 GMT-04:00, Jaroslaw Cwiklik : > Just delivered a few changes to deal with a stale Session. Can you build > from source and test. > Jerry > > On Wed, Jul 5, 2017 at 2:21 PM, Jaroslaw Cwiklik > wrote: > >> Tha

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-05 Thread Jaroslaw Cwiklik
Just delivered a few changes to deal with a stale Session. Can you build from source and test. Jerry On Wed, Jul 5, 2017 at 2:21 PM, Jaroslaw Cwiklik wrote: > Thanks. Will check the code and work on a fix > > Jerry > > On Wed, Jul 5, 2017 at 2:10 PM, nelson rivera > wrote: > >> Here the stack t

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-05 Thread Jaroslaw Cwiklik
Thanks. Will check the code and work on a fix Jerry On Wed, Jul 5, 2017 at 2:10 PM, nelson rivera wrote: > Here the stack trace for the error that asked me: > jul 05, 2017 2:08:50 PM > org.apache.uima.adapter.jms.client.ActiveMQMessageSender run > ADVERTENCIA: > javax.jms.IllegalStateException:

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-05 Thread nelson rivera
Here the stack trace for the error that asked me: jul 05, 2017 2:08:50 PM org.apache.uima.adapter.jms.client.ActiveMQMessageSender run ADVERTENCIA: javax.jms.IllegalStateException: The Session is closed at org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:771) at

Re: Broken conections after ACTIVEMQ restart with service uima-as CasMultiplier and delegate remote

2017-07-05 Thread nelson rivera
Hi, i know that the behavior that you described should be the correct. But no is the case, because the broker is restarted the both times after that a request is completely successful, all uima-as service are finished and none are running. After second restart, the logs of remote delegate service

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-05 Thread nelson rivera
This behavior is random, not occurs always. In the most of the simple programs and simple test case tested, after restart the UIMA-AS Broker without restart service uima-as, the instruccion to uima-as client "BaseUIMAAsynchronousEngine_impl.connectionOpen()" return "false" and correctly i initializ

Re: Broken conections after ACTIVEMQ restart with service uima-as CasMultiplier and delegate remote

2017-07-05 Thread Jaroslaw Cwiklik
Hi, the above problem is a different issue from the Session Closed reported earlier which occurs in the uima-as client. Please provide a stack trace for that. The issue you are reporting above is an expected behavior. The remote is trying to deliver msgs to a temp reply queue which no longer exist

Broken conections after ACTIVEMQ restart with service uima-as CasMultiplier and delegate remote

2017-07-05 Thread nelson rivera
i have a aggregate service uima-as that it contains a CasMultiplier, after this casmultiplier in the flow one of the delegates is remote. The delegate remote is a primitive annotator implented in c++,but is deployed with de deployAsyncService.sh de uima-as directly. With these step i get the error