Author |
Message
|
xtreme.dimension |
Posted: Tue Jun 26, 2012 11:15 am Post subject: HOw to connect to local Queue Manager |
|
|
Newbie
Joined: 23 Jun 2012 Posts: 5
|
Hi,
Can anyone help me to connect to Local Queue manager in windows through MQJexplorer?
Whenever I am giving Local queue manager name in MQJexplorer then nothing happen.
The below error appear
MQJE011: socket connection attempt refused. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 26, 2012 11:21 am Post subject: Re: HOw to connect to local Queue Manager |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
xtreme.dimension wrote: |
Can anyone help me to connect to Local Queue manager in windows through MQJexplorer? |
Now there's a venerable piece of software.
xtreme.dimension wrote: |
MQJE011: socket connection attempt refused. |
Connection refused usually indicates there's a firewall or other network appliance blocking the link. If the queue manager is local & MQJExplorer supports it, try a binding connection.
Failing that, diagnose the client connection using any of the many discussions here for help & tips. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
xtreme.dimension |
Posted: Tue Jun 26, 2012 11:29 am Post subject: |
|
|
Newbie
Joined: 23 Jun 2012 Posts: 5
|
Hi,
Thanks for reply.
I tried to connect by disabling Firewall but its still failing.
Can you refer me to any doc in which simple example is implemented to start with the MQ series developement.
My first step is to learn to install MQ server and client in same local machine(windows 7).
I install it and create Local Queue manager by using crtmqm and start it my strmqm command But how can I make sure that these manager are created successfully so that I will create queues from which my java application will read messages. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 26, 2012 11:31 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What are you naming "MQJExplorer"?
Is it something that actually comes with the product?
Or is this something you downloaded separately. |
|
Back to top |
|
 |
xtreme.dimension |
Posted: Tue Jun 26, 2012 11:35 am Post subject: |
|
|
Newbie
Joined: 23 Jun 2012 Posts: 5
|
I downloaded it separately. I am just using it to connect to Local Queue manager. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 26, 2012 11:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
xtreme.dimension wrote: |
Can you refer me to any doc in which simple example is implemented to start with the MQ series developement. |
I'd start with the Client documentation. It sounds like you're trying to connect over a client connection you've not defined yet.
xtreme.dimension wrote: |
My first step is to learn to install MQ server and client in same local machine(windows 7). |
Under what circumstances? Your corporate image, the trial version, which?
xtreme.dimension wrote: |
how can I make sure that these manager are created successfully so that I will create queues from which my java application will read messages. |
Well the MQExplorer that comes with the product would be my first choice, rather than that download. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
xtreme.dimension |
Posted: Tue Jun 26, 2012 11:50 am Post subject: |
|
|
Newbie
Joined: 23 Jun 2012 Posts: 5
|
I am learning Mqseries. So I want to develop Hello world type program which will pass Simple message to local queue and will get response from local queue. For this I am trying to setup mq local manager. I installed websphere Mq 7.1.0.0 but I guess this is only for remote QM. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 26, 2012 12:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
xtreme.dimension wrote: |
I installed websphere Mq 7.1.0.0 but I guess this is only for remote QM. |
Not if you managed to create a queue manager with it, i.e. a local one. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
xtreme.dimension |
Posted: Tue Jun 26, 2012 12:13 pm Post subject: |
|
|
Newbie
Joined: 23 Jun 2012 Posts: 5
|
I am trying to find out simple example to implement. Let me know if anyone knows to start with it. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 26, 2012 12:42 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
xtreme.dimension wrote: |
I am trying to find out simple example to implement. |
You're looking at it. It doesn't get much easier than a local queue manager.
The MQExplorer (not the MQJExplorer you downloaded separately) is the simplest means of reviewing if the install has worked & the queue manager is operating normally. It's likewise the easiest way of defining the objects you'll need.
The "Hello World" level sample code you're looking for is included with the server side install media; if you've sourced it yourself you have it, if it's a corporate version ask whoever owns the install for the samples. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jun 26, 2012 12:44 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
look at the samples program... The samples should have been installed with the software... If not request them to be installed from your friendly provisioning team  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jun 27, 2012 4:30 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It's possible, of course, that you're trying all of this on a platform that doesn't support the presupplied MQExplorer. For example, AIX.
In that case, you could for example register for the IBM 90 day trial of MQ and download and install on your workstation or laptop.
But the easier thing to do would be to run 'dspmq'. |
|
Back to top |
|
 |
|