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 » Http request is failing!!!

Post new topic  Reply to topic
 Http request is failing!!! « View previous topic :: View next topic » 
Author Message
Raj2000
PostPosted: Fri Aug 21, 2009 10:24 am    Post subject: Http request is failing!!! Reply with quote

Apprentice

Joined: 03 Aug 2009
Posts: 47

I have a situation wherre i have to route to the other webservice if the primary webservice fails i am using two http request nodes in the flow.i am also using try catch node too. one http req in the try path and the other in the catch path . so if one http req gets the failure msg then the I/P req is routed to the other webservice using catch path. below are the msg flow path for try catch:

webservice 1 req:HTTPi/p node->compute node->trycatch node->(try path)-->HTTP req1 node->HTTP reply.

webservice 2 req:HTTPi/p node->compute node->trycatch node->(catchpath)-->computenode(forhandling exception)->HTTP req2 node->HTTP reply.

PROBLEM: For the above flow when i set the max wait time for the 1st httpreq1 as 20 sec i donot receive the resonse at the application end which sends the request to broker. but if i set the wait time below 20 it recives the response from the webservice.Though in debugger mode i see the routing takes place in both the scenarios.

NOTE: the error i receive at the application(i am using nettool for simulation)when i set the max time as 20 sec is:java.net.socket timeout.

any guesses y its happening so becoz i want to set the wait time more than 20 sec for the http req nodes and moreover i have the set the max wait time for initial HTTP i/p node as 180 sec...
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Aug 21, 2009 12:00 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Isn't this a double post of this?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Raj2000
PostPosted: Fri Aug 21, 2009 1:41 pm    Post subject: Reply with quote

Apprentice

Joined: 03 Aug 2009
Posts: 47

probably yes!!!

however no worries the issue is resolved!!!
Back to top
View user's profile Send private message
Vitor
PostPosted: Sat Aug 22, 2009 2:20 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Raj2000 wrote:
however no worries the issue is resolved!!!


Then why not post the solution for the benefit of future readers?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Raj2000
PostPosted: Sat Aug 22, 2009 7:46 pm    Post subject: Reply with quote

Apprentice

Joined: 03 Aug 2009
Posts: 47

Quote:
the error i receive at the application(i am using nettool for simulation)

As i said i was using the nettool application the real problem was the nettool it is by default configured to 20 secs a so if i set the max client req wait time more than 20 sec you receive the java.net.socket exception error at the nettool application.

So i used the broker tool kit testing facility and there was no issue as such.
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 » Http request is failing!!!
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.