|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
concurrent messages on messageflow gives error |
« View previous topic :: View next topic » |
Author |
Message
|
hesh |
Posted: Sat Mar 05, 2005 3:42 am Post subject: concurrent messages on messageflow gives error |
|
|
Newbie
Joined: 05 Mar 2005 Posts: 4
|
Hi ,
I am doing performance testing for WBI-MB 5.0 on AIX 5.2 . I have a single message flow running on an execution group . The details of the message flow is as follows
It has HTTPInputNode which takes the message in BLOB domain . A compute node follows the HttpNode which does some processing on the message . Then there is floworder node - the first flow writes to MQ , the second flow has a compute node which generates an ack message and then the HttpReply node.
I use OpenSTA for testing . I have a servlet which forms th SOAP message and does soapConnection.call to the broker.
When i send messages 1 at a time , the flow works . The number of instances is 50 , configured in the bar file.
When i send concurrent messages , say 50 , for 30 messages i get the ack messages , for the reamining messages ,i get the following error on the servlet after the call com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:te
xt/html. Is this an error message instead of a SOAP response? . The number of erros i get is not consistent for each try .
But the message flow has processed all the 50 messages since i am able to see the db updates done by the compute node .
But if i send concurrent 20 messages , it works . For any number more than 20 , i get erros . Am I missing some configuration parameter for httplistener of broker ?? Please help. |
|
Back to top |
|
 |
bim_newbie |
Posted: Mon Mar 07, 2005 1:37 pm Post subject: |
|
|
Newbie
Joined: 16 Feb 2005 Posts: 8
|
I am not sure why you are using 50threads of the same message flow in the same execution Group. This may be causing the execution group memory to grow and resulting in errors.
If you foresee a requirement to run 50instances of a message flow, I would suggest that you deploy the message flow across exection groups and run less instances in each execution group.
Thanks. |
|
Back to top |
|
 |
aq |
Posted: Mon Mar 07, 2005 10:11 pm Post subject: |
|
|
Apprentice
Joined: 20 Dec 2001 Posts: 47
|
If you lower ExecGroup threads from 50 (for example to 10), will you still get the same error from your servlet when sending 50 concurrent requests?
Can you get the actual data that the WBIMB returned to your servlet ? The HTML error description in it might give some clue what the problem is.
Regards,
aq |
|
Back to top |
|
 |
hesh |
Posted: Tue Mar 08, 2005 5:57 am Post subject: |
|
|
Newbie
Joined: 05 Mar 2005 Posts: 4
|
Hi ,
I modifed my messageflow to a simple one just consisting of a Http input node and a Http reply node . Nothing is done in the message flow .
I have 10 instances running ... Even for this case , when i send concurrent 40 or 50 messages , i get the reply in the servlet . But when I give 70 messages , i get the same error as i metioned i the original post .
the error in the caller is com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:te
xt/html. Is this an error message instead of a SOAP response?
I also included a trace node after the http reply node .. I don't see any content type as text/html ..all are valid messages in the trace node ..All content types are multipart /related in the trace node |
|
Back to top |
|
 |
aq |
Posted: Tue Mar 08, 2005 7:31 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2001 Posts: 47
|
Quote: |
I also included a trace node after the http reply node .. I don't see any content type as text/html |
I think that the error message is not coming from flow, but from the brokers biphttplistener / Tomcat.
You could try to increase threads available in biphttplistener (http://www.mqseries.net/phpBB2/viewtopic.php?t=18091), but apparently there is already 50 of them by default...
Quote: |
i get the same error as i metioned i the original post |
Can you check and get the data that is returned to your own servlet ? It will probably contain some kind of error description or stack trace from the biphttplistener... |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|