-
September 16th, 2009, 09:28 AM
#3
Let's concentrate on the Data Adapter side.
I see that the two adapter initialization phases log in parallel, until the following line:
Finished loading Data Adapter ......
Then, the two JMS connection phases should start, deferred to different threads, through
new ConnectionLoopTSQS(jmsHandler, recoveryPause, logger).start();
but only one of them produces some log.
The ConnectionLoop code is not shown.
Assuming that it is the same as in our demo code,
I notice that there is a static member, called phase in it,
that, unfortunately, both of us missed when we analyzed the code for reentrancy.
The member is remembered across subsequent instantiations of ConnectionLoop,
in order to manage the recovery in some way.
Hence, its behavior may be wrong if multiple parallel instantiations of ConnectionLoop are performed.
This is likely the cause of the problem; note that the same may apply to the generator side.
I'm afraid the ConnectionLoop class has to be revised or reimplemented for your use case.
Please, try; we can't go that far.
Anyway, I suggest you adding %t to your ConversionPattern in the Server log configuration file,
in order to get thread information in the log.
Similar Threads
-
By emese in forum General
Replies: 1
Last Post: July 15th, 2011, 11:08 AM
-
By tuongkha in forum Adapter SDKs
Replies: 2
Last Post: March 18th, 2008, 09:11 AM
-
By Alessandro in forum General
Replies: 0
Last Post: January 25th, 2008, 10:19 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 11:43 PM.
Bookmarks