|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Cannot open queuemanager in bindings mode |
« View previous topic :: View next topic » |
Author |
Message
|
chund |
Posted: Tue Dec 03, 2002 2:10 am Post subject: Cannot open queuemanager in bindings mode |
|
|
 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 |
|
 |
bower5932 |
Posted: Tue Dec 03, 2002 10:10 am Post subject: |
|
|
 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 |
|
 |
chund |
Posted: Tue Dec 03, 2002 6:19 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|