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 Java / JMS » Cannot open queuemanager in bindings mode

Post new topic  Reply to topic
 Cannot open queuemanager in bindings mode « View previous topic :: View next topic » 
Author Message
chund
PostPosted: Tue Dec 03, 2002 2:10 am    Post subject: Cannot open queuemanager in bindings mode Reply with quote

Newbie

Joined: 01 Dec 2002
Posts: 7

Hi,
I am trying to create a queumanager in bindings mode through MQseries java classes(Platform MQseries 5.2,AIX4.3).
I get MQRC_Q_MGR_NOT_AVAILABLE error always when trying to do this.On the other hand everything is fine when I use client mode.what could be the reason.Code snippet below
1 Hashtable ht=new Hashtable();
2 ht.put(MQC.TRANSPORT_PROPERTY,MQC.TRANSPORT_MQSERIES);
3 MQEnvironment.port = 1416; // port to connect to.
4 //MQEnvironment.channel="SYSTEM.DEF.SVRCONN";
5 //MQEnvironment.hostname="localhost";
6 MQQueueManager qMgr = new MQQueueManager("QM.A100301");
7 System.out.println("QMGR "+qMgr);

Exception is thrown at line 6.
If I uncomment 4 and 5 it works fine.
any help would be appreciated.
TIA
sam
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Dec 03, 2002 10:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

This sounds like the AIX segment 8 problem. You should have an FDC in your /var/mqm/errors subdirectory that has a probeid of XY341019 if this is your problem. If it is, you have two main options. With 5.2, you can change QueueManager stanza in the mqs.ini file:

QueueManager:
IPCCBaseAddress=9

You can add the IPCCBaseAddress line below the lines that are already
there. Valid values are:

4 to 12 except 6 and 7

The mqs.ini file is in /var/mqm.

With WebSphere MQ 5.3, you can use EXTSHM=ON so that you are using extended shared memory.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
chund
PostPosted: Tue Dec 03, 2002 6:19 pm    Post subject: Reply with quote

Newbie

Joined: 01 Dec 2002
Posts: 7

Thanks.
It was the same problem that you mentioned and it worked after setting
the value of IPCCBaseAddress=9.
sam
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 Java / JMS » Cannot open queuemanager in bindings mode
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.