Alain Knaff wrote:
Just FYI, the loanbroker example hangs every two requests (the first
succeeds, the second hangs, the third succeeds, ...).
This problem occurs both with the M2 release and the most recent
snapshot (apache-servicemix-3.0-incubating-20060907.104512-15.tar.gz)
If there is any other version that I could try where this might be
fixed? (downloadable from which URL?)
Thanks,
Alain
Ok, I learned from another message that the "unofficial 3.0" version can
be downloaded from http://servicemix.goopen.org/site/servicemix-30.html
Indeed, with this version it is a lot better, although still not perfect.
Now, the request no longer hangs, but instead the final
requestor.close(); hangs (happens about once every ten tries or so,
after it has hung once, it seems to hang more frequently).
When a hang happens, the _next_ attempt fails with the following error:
[java] WARN - MultiplexingRequestor - Response received
for unknown request: ActiveMQTextMessage {commandId = 50,
responseRequired = true, messageId =
ID:aknaffpc-39340-1158760925808-6:0:2:1:22, originalDestination = null,
originalTransactionId = null, producerId =
ID:aknaffpc-39340-1158760925808-6:0:2:1, destination =
queue://demo.org.servicemix.output, transactionId = null, expiration =
0, timestamp = 1158761596414, arrival = 0, correlationId = 1, replyTo =
null, persistent = true, type = null, priority = 4, groupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false, userID =
null, content = [EMAIL PROTECTED],
marshalledProperties = [EMAIL PROTECTED],
dataStructure = null, redeliveryCounter = 1, size = 0, properties =
null, readOnlyProperties = true, readOnlyBody = true, text = null}
After changing the client code so as to use a random name for the reply
queue:
String returnQ="demo.org.servicemix.output" +(int)(1000*Math.random());
Destination outQueue = new ActiveMQQueue(returnQ);
... the hang on requestor.close() still happens, but now it no longer
negatively affects the next request.
Any ideas how to fix that hang on requestor.close()?
Thanks,
Alain