Hi,
We are accessing MQ from a ASP page by calling a ATL COM component (coded in C++). This same component is used from VB and VC clients and we have no problems. But the access from ASP takes a time delay of 70 seconds between every subsequent MQ Calls, this happens even for a simple Queue Manager Connection. We are not having many open connections to MQ. Given below is the snippet of the COM Component and ASP Page accessing it -
%@ Language=VBScript %>
<HTML>
<HEAD>
</HEAD>
<BODY>
<%
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Dim obj
Dim retVal
Dim Content ' for sending to Queue
Set obj=server.CreateObject("MQCOMTEST.MqTest")
Response.Write "After CreateObject!! <br>"
retVal=obj.Display()
Response.Write "Return Value from :"& retVal
response.write ("test")
response.end
Set obj=Nothing
Posted: Wed Jan 29, 2003 11:22 pm Post subject: Delay in Connecting QManager
Newbie
Joined: 27 Dec 2002 Posts: 4
Although I have not worked with COM objects but I got the same problem while working with CORBA. I solved this problem by building the application with threaded mqseries libraries like mqm_r.sl and imq23h_r.sl in HP-UX.
U can try building the COM dll with threaded libraries. May be u r having the same problem.
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