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 » IBM MQ API Support » 2059 error causes asp page to hang.

Post new topic  Reply to topic
 2059 error causes asp page to hang. « View previous topic :: View next topic » 
Author Message
etennett
PostPosted: Wed Aug 23, 2006 5:59 pm    Post subject: 2059 error causes asp page to hang. Reply with quote

Newbie

Joined: 23 Aug 2006
Posts: 7

Here's the scenerio:
1) C++ dll calls .connect() method to connect to q mgr.
2) when the listener is turn off it causes a 2059 error
3) When the dll is called from a vbscript running on the box there is not probkem...error progated up to the calling vbscript.
4) When the dll is called from an asp page the page just hangs. The line in the dll that it is dying on is the .connect() line.

Has anyone seen this behavior before? Any solutions?

Thx.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 23, 2006 8:22 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

call the connect within a try catch block ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
etennett
PostPosted: Sat Aug 26, 2006 10:38 am    Post subject: Reply with quote

Newbie

Joined: 23 Aug 2006
Posts: 7

I figured this one out. The queue manager name was passed to connection(). I guess there was issue trying to read the queue manager name from the chltbl file. I passed in the queue manager name the connect() returns immediatly with an error. No more hanging.
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 » IBM MQ API Support » 2059 error causes asp page to hang.
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.