ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Broker not catching HTTPrequest timeout

Post new topic  Reply to topic
 Broker not catching HTTPrequest timeout « View previous topic :: View next topic » 
Author Message
DBN-GUY
PostPosted: Tue Apr 24, 2007 6:56 am    Post subject: Broker not catching HTTPrequest timeout Reply with quote

Newbie

Joined: 26 Jul 2006
Posts: 6
Location: South Africa

Hi

I am currently using Message Broker 6 with fix 6.0.2.

I am doing a httprequest to another webservice(written in .net) from another company. The problem that I am experiencing is that when the other company's service is down I do not get an error back(not expected since their service is down) but more importantly I do not get a timeout error or a response saying that the message has timeout.

Has anyone come across this before and how did you handle this situation if no error/reponse is thrown.

Is this something that IBM has overlooked

Thanks in advance for your response
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Apr 24, 2007 7:23 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi,

You should get an exception if the Request node timesout. By default the timeout is 3 minutes, did you wait long enough? Also have you got any failure / catch terminals wired up that could be swallowing the exception?
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
DBN-GUY
PostPosted: Tue Apr 24, 2007 10:19 pm    Post subject: Reply with quote

Newbie

Joined: 26 Jul 2006
Posts: 6
Location: South Africa

Thanks for the response.

I have changed the timeout to 45 seconds. The failure/catch terminals are not wired anymore so it should be doing a role back and writing the failure to the DLQ.

Usually when the Host service does not reply timeously I do get a timeout message. If the host service is stopped for maintainace then I do not get any timeout response.

Also I have tried to run a debug trace and I also wired the failure and catch terminals with a trace node. All I see here is broker does the HttpRequest and thereafter there is nothing, broker just starts with the next message and nothing happens.!!!!!!
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Apr 25, 2007 3:37 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Can you post your flow details here, along with the settings on each node?
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
DBN-GUY
PostPosted: Wed Apr 25, 2007 3:54 am    Post subject: Reply with quote

Newbie

Joined: 26 Jul 2006
Posts: 6
Location: South Africa

I have the following flow,

MQinput >> Compute >> HTTPRequest

I am using default properties the only different property in the HTTPrequest is the timeout = 45 seconds.

The problem that I am experiencing, is it because when the destination service is down, the message is going via the internet, and at that point in time the Host service no longer exists so the message travels indefinetly across the internet until it dies.

But that still does not explain why my request does not timeout.

Any thoughts here
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Apr 25, 2007 5:11 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Well I could wire is as:

MQinput >> Compute >> HTTPRequest[out and error terminals] >> TraceNode[trace $Root and $LocalEnvrionment and $ExceptionList] >> File

And post anything in the File here. Have you checked the event log / syslog as well?

Also what version of the product (including CSDs are you using)?
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
ashoon
PostPosted: Wed Apr 25, 2007 6:15 am    Post subject: just a thought Reply with quote

Master

Joined: 26 Oct 2004
Posts: 235

I've found many companies looking at HTTP transports to move business critical data... might I suggest that you consider MQ as the transport which would easily solve this problem...

remember web-services (SOAP data) is transport independent.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Broker not catching HTTPrequest timeout
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.