Author |
Message
|
jawahar |
Posted: Fri Jun 09, 2006 2:44 am Post subject: I am Getting AMQ4400- |
|
|
Newbie
Joined: 09 Jun 2006 Posts: 6
|
hi,i am new to the MQ. I am using mq 6.0.I have created qmanager,queue by using the JMSAdmin,After that I 've created Qmanager the same in mq-explorer.Then When I am trying to connect the qmanager, the explorer shows like 'explorer can not administer the qmanager because the queue SYSTEM.MQEXPLORER.REPLY.MODEL is not defined'. After got this I've created the qmodel using by the 'runmqsc'
with the command that 'def qmodel('SYSTEM.MQEXPLORER.REPLY.MODEL') on the qmanager.. After created I got another Exception in runmqsc like 'websphere MQ object not found'.
could please any one help me come out? |
|
Back to top |
|
 |
elvis_gn |
Posted: Fri Jun 09, 2006 3:51 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi jawahar,
Quote: |
I have created qmanager,queue by using the JMSAdmin,After that I 've created Qmanager the same in mq-explorer. |
I would have done it the other way, change the order of creation i mean...
The QM is local or remote ?
Regards. |
|
Back to top |
|
 |
jawahar |
Posted: Sat Jun 10, 2006 2:21 am Post subject: |
|
|
Newbie
Joined: 09 Jun 2006 Posts: 6
|
I have used local Queue Manager.
In JMs Admin I have used the Following Commands,
1.def xaqcf(testfactory) qmgr(testmgr)
2.def q(testq) qmgr(testmgr) queue(test.q)
In runmqsc
1.def qmodel('SYSTEM.MQEXPLORER.REPLY.MODEL')
The above steps are followed....
could u please help me.......? |
|
Back to top |
|
 |
elvis_gn |
Posted: Sat Jun 10, 2006 2:28 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi jawahar,
You have defined the jms queue as test.q and are creating SYSTEM.MQEXPLORER.REPLY.MODEL....what are u trying to do ?
What do u mean by trying to connect to the QM in your first post...are u creating these JMS objects for some application ?
Why are u creating a queue with SYSTEM... ? Not a good practice.
Regards. |
|
Back to top |
|
 |
jawahar |
Posted: Sat Jun 10, 2006 2:58 am Post subject: |
|
|
Newbie
Joined: 09 Jun 2006 Posts: 6
|
elvis,
yes. I need those objects for Application. After creted Qs in Jmsadmin, I have created same QM as local in MQ explore.Then QM status is 'running ,but disconnected from Websphere MQ explorer'. So When I tried to connect(right click of qmanager,then click over the connect option), it shows error like ''explorer can not administer the qmanager because the queue SYSTEM.MQEXPLORER.REPLY.MODEL is not defined'.
So that I defined the qmodel using by rummqsc.(i found one post in this forum which said this way)....
Now what i want is The QM should connect to the explorer.
So Cud u please help me..........? |
|
Back to top |
|
 |
elvis_gn |
Posted: Sat Jun 10, 2006 3:26 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi jawahar,
I don't think the reason for your QM to be disconnected was the qmodel...don't create that yet...did you check that the command server was running....right-click the QM and select "start command server".
Regards. |
|
Back to top |
|
 |
jawahar |
Posted: Sat Jun 10, 2006 3:32 am Post subject: |
|
|
Newbie
Joined: 09 Jun 2006 Posts: 6
|
elvis,
I assure that the command server is running. Although it is not connected. Why it is happening? |
|
Back to top |
|
 |
elvis_gn |
Posted: Sat Jun 10, 2006 3:42 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi jawahar,
If the command server is running then that would mean that the QM is running.... then what do u mean by not connected ?
Did you create the QM from the explorer or command line ?
Can u create a new QM and check whether it to fails to start....
Regards. |
|
Back to top |
|
 |
jawahar |
Posted: Sat Jun 10, 2006 4:00 am Post subject: |
|
|
Newbie
Joined: 09 Jun 2006 Posts: 6
|
elvis,
1.the disconnected meant that in the left side of the MQ Explorer(navigation window) all the QMs are presented with the icons which has been indicating whether the 'QM is running and connected to the explorer or not'. But What I am Getting that QM has not been connected to explorer. so I tried to connect the QM to the Explorer(* while command server is running) usng the right click and connect option,at the momment i am getting the the error in popup ''explorer can not administer the qmanager because the queue SYSTEM.MQEXPLORER.REPLY.MODEL is not defined'..
2. first i created QM In JMSAdmin and again cretated in Explorer
3.Then I have created the new QM in explorer,again I am getting the same .
cud please help me to fix it? |
|
Back to top |
|
 |
elvis_gn |
Posted: Sat Jun 10, 2006 4:48 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi jawahar,
jawahar wrote: |
1.the disconnected meant that in the left side of the MQ Explorer(navigation window) all the QMs are presented with the icons which has been indicating whether the 'QM is running and connected to the explorer or not'. But What I am Getting that QM has not been connected to explorer. so I tried to connect the QM to the Explorer(* while command server is running) usng the right click and connect option,at the momment i am getting the the error in popup ''explorer can not administer the qmanager because the queue SYSTEM.MQEXPLORER.REPLY.MODEL is not defined'.. |
Command server CANNOT run without the QM started...are u able to see the queues on the right side window...
jawahar wrote: |
2. first i created QM In JMSAdmin and again cretated in Explorer |
JMSAdmin does not CREATE queue managers...it only links to the existing QMs.
jawahar wrote: |
3.Then I have created the new QM in explorer,again I am getting the same |
When u create a new QM, u get the right-click start option...once started, u get the right-click start command server option.
I am not sure how u could have your Command server running without the QM running...
Keep JMS out of this, that is a different issue....ur current problem is that ur QM is not starting...first fix that.
Regards. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jun 10, 2006 4:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
As you need to create the reply queue it seems that you are administering a 5.3 queue manager? If connecting through a svrconn channel make sure that the listener is running too. (should be if you get the above mentioned error).
I would just do
Code: |
DEF QM(SYSTEM.MQEXPLORER.REPLY.MODEL) +
LIKE(SYSTEM.MQSC.REPLY.QUEUE) |
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jawahar |
Posted: Sat Jun 10, 2006 5:31 am Post subject: |
|
|
Newbie
Joined: 09 Jun 2006 Posts: 6
|
elvis,
the QM is running. But I tried to connect to the websphere MQ explorer(right clik and clicked over the connect option) then can not connect to the explorer and at the time it shows the error like ''explorer can not administer the qmanager because the queue SYSTEM.MQEXPLORER.REPLY.MODEL is not defined'..
Why it is hapening... ?
I have been using websphere MQ explorer 6.0 version. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Jun 10, 2006 5:38 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
jawahar wrote: |
because the queue SYSTEM.MQEXPLORER.REPLY.MODEL is not defined'.. |
 _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sandy1979 |
Posted: Mon Jan 08, 2007 3:33 am Post subject: hi javahar |
|
|
Newbie
Joined: 08 Jan 2007 Posts: 1
|
I had the same problem. To resolve this, if you are using windows platform, make sure you are in the administrators group and recreate the qmgr.
to connect mq explorer to the qmgr you can make the setup from command line also by this:
amqmdain qmgr start <your qmgr name>
Bye,
sandip sankpal. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Jan 08, 2007 1:24 pm Post subject: |
|
|
Guest
|
jefflowrey wrote: |
jawahar wrote: |
because the queue SYSTEM.MQEXPLORER.REPLY.MODEL is not defined'.. |
 |
The qmgr TO BE ADMINISTERED by the V6 Explorer needs the SYSTEM.MQEXPLORER.REPLY.MODEL; not the qmgr where you are running the V6 Explorer |
|
Back to top |
|
 |
|