Re: Approach to dependency injection in a non-distributed scenario (was: Dependency Injection support?)

2011-03-29 Thread Alex Chaphiv
Hi, I've been playing with your example, and it seems to break my existing code, so I came up with this solution that uses ExternalResourceDescriptions and avoids reflection: -- start code -- public static void main(String[] args) throws Exception { AnotherResourceManager arm = new AnotherRe

Re: Lost Connection to Delegate

2011-03-29 Thread Jaroslaw Cwiklik
Pierre, do you declare a timeout on Process in your aggregate deployment descriptor for the remote delegate? If not, perhaps CASes were sent to the remote delegate and subsequently dropped because the delegate was not unable to deliver them to the aggregate client. A timeout would help to recover t

Re: Lost Connection to Delegate

2011-03-29 Thread Pierre Pujalon
JC, I tested the work around and a listener to the delegate is indeed recreated. The CAS that were being processed pass through all annotators. But now I have other issues, but it is not the same each time I tried .Either the client is losing connection, or get block on the getCAS method as if