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 » Delay in QueueManager Connection

Post new topic  Reply to topic
 Delay in QueueManager Connection « View previous topic :: View next topic » 
Author Message
abiram8
PostPosted: Mon Apr 01, 2002 3:56 am    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,


Iam trying With MQ Series + MQSI


Written the Simple Publish Subscribe Programme My Programme takes exactly 6-8
(The programme takes 6-8 Seconds in between to print "Before Connecting Manager............" and "After Connecting Manager............" Seconds to connect to QueueManager & then Publishes & Subscribers work fine.Please see the Code below If you cant understand

My Code to Connect tO QueueManager is Simple

I have Declared the

variable MQQueueManager _queueManager as as Global Variable.
& String qManager = "MyQueueManager" both as as Global Variable


I call this method from main method as selectQMgr() of the Class ;



Body of selectQmgr() {

try{
// System.out.println("Before Connecting Manager............");
_queueManager = new MQQueueManager(qManager);
// System.out.println("After Connecting Manager............");
}
catch(Exception e)
{
e.printStackTrace();
}



}

It is as simple as Given in Sample Programme

Note: a)No Programme Other than my Programme connect to the QueueManager for any Task
b)HardWare Configration is 1GB RAM MQ Series 5.2 & MQSI 2.1 )
c) Not using any Java thread in the Programmme

How to reduce the Time (to say nano Seconds) to connect QueueManager because each Seconds delay is Performence issue in our Project

Any one Faced Similar Problem Let me know the Solution

Thanks
R.Abiram
Back to top
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Mon Apr 01, 2002 5:39 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Is this the same box that is giving you the TCP/IP 10054 Error ????

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
abiram8
PostPosted: Tue Apr 02, 2002 11:40 am    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,
This is not the same Box giving TCP/IP Error but this is the diffrent problem I faced in the same programme

R.Abiram
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Delay in QueueManager Connection
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.