Author |
Message
|
exerk |
Posted: Sun Jun 22, 2008 10:27 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
solomon_13000 wrote: |
Can I have two listeners running at the same time like how I specified in my code?. |
Yes you can have more than one Listener running at the same time, and more than one running against a queue manager.
If you are still getting firewall messages, if you have authority select 'Always Allow' on the pop-up; that should suppress them. If it is set by corporate policy, and you cannot alter it, you will have to speak with your firewall admins.
bruce2359 wrote: |
Quote: |
Even when the firewall allow the channel to access the trusted zone |
I don't know what this means... |
I suspect Zone Alarm or similar firewall package, which has a 'learning' mode and will pop-up a warning that something is trying to cross the internal network (trusted zone). _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
solomon_13000 |
Posted: Sun Jun 22, 2008 10:36 pm Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
Im using zone alarm. But despite allowing the listener to access the trusted zone still the problem is there. |
|
Back to top |
|
 |
exerk |
Posted: Sun Jun 22, 2008 10:48 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
solomon_13000 wrote: |
Im using zone alarm. But despite allowing the listener to access the trusted zone still the problem is there. |
And are any error messages printed in the logs? Look in (assuming default installation path) C:\Program Files\IBM\WebSphere MQ\Qmgrs\QMGRA\errors and C:\Program Files\IBM\WebSphere MQ\Qmgrs\QMGRB\errors for AMQERR01.LOG and see if any errors are printed (it will open in Notepad). Also look in C:\Program Files\IBM\WebSphere MQ\errors for the same filename, which will contain general, non-queue manager specific errors. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
solomon_13000 |
Posted: Mon Jun 23, 2008 1:16 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
One error I see in the MQ Explorer is "No matching receiver channel found for sender channel QMGRB.QMGRA.DF". But this is untrue. |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 23, 2008 1:36 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
I suggest you very carefully check the SDR and RCVR definitions, you may well have a typographical error.
Open the SDR properties and highlight and copy the name, then create a new RCVR in QMGRA and paste in the copied name. If you can create the RCVR then it is definitely a typo, so compare the two definitions to see where you went wrong. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Jun 23, 2008 1:55 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
solomon_13000 wrote: |
One error I see in the MQ Explorer is "No matching receiver channel found for sender channel QMGRB.QMGRA.DF". But this is untrue. |
i dont get this?
and its clearly pointing that there is no receiver channel at all _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
solomon_13000 |
Posted: Mon Jun 23, 2008 2:08 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
But it has been defined:
QMGRA
DEFINE QLOCAL(QMGRB.XMIT.DF) DESCR('Transmission') TRIGGER +
USAGE(XMITQ) PUT(ENABLED) GET(ENABLED) +
TRIGTYPE(EVERY) TRIGDATA(QMGRA.QMGRB.DF) INITQ(SYSTEM.CHANNEL.INITQ)
DEFINE CHANNEL(QMGRA.QMGRB.DF) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('localhost(1414)') +
XMITQ(QMGRB.XMIT.DF) DESCR('Sender')
DEFINE CHANNEL(QMGRB.QMGRA.DF) CHLTYPE(RCVR) TRPTYPE(TCP) DESCR('Receiver')
DEFINE QREMOTE(QMGRA.QMGRB.RQST) DESCR('Remote') RQMNAME(QMGRB) PUT(ENABLED) +
XMITQ(QMGRB.XMIT.DF) RNAME(QMGRA.QMGRB.RQSTIN)
DEFINE QLOCAL(QMGRB.OMGRA.RQSTIN) PUT(ENABLED) GET(ENABLED)
DEFINE LISTENER ('LISTENER.TCP.QMGRB') +
TRPTYPE(TCP) +
PORT(1415) +
CONTROL(QMGR)
QMGRB
DEFINE QLOCAL(QMGRA.XMIT.DF) DESCR('Transmission') TRIGGER +
USAGE(XMITQ) PUT(ENABLED) GET(ENABLED) +
TRIGTYPE(EVERY) TRIGDATA(QMGRB.QMGRA.DF) INITQ(SYSTEM.CHANNEL.INITQ)
DEFINE CHANNEL(QMGRB.QMGRA.DF) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('localhost(1415)') +
XMITQ(QMGRA.XMIT.DF) DESCR('SENDER')
DEFINE CHANNEL(QMGRA.QMGRB.DF) CHLTYPE(RCVR) TRPTYPE(TCP) DESCR('RECEIVER')
DEFINE QREMOTE(QMGRB.QMGRA.RQST) DESCR('Remote') RQMNAME(QMGRA) PUT(ENABLED) +
XMITQ(QMGRA.XMIT.DF) RNAME(QMGRB.QMGRA.RQSTIN)
DEFINE QLOCAL(QMGRA.QMGRB.RQSTIN) PUT(ENABLED) GET(ENABLED)
DEFINE LISTENER ('LISTENER.TCP.QMGRA') +
TRPTYPE(TCP) +
PORT(1414) +
CONTROL(QMGR) |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Jun 23, 2008 2:32 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
solomon_13000 wrote: |
QMGRA
DEFINE LISTENER ('LISTENER.TCP.QMGRB') +
TRPTYPE(TCP) +
PORT(1415) +
CONTROL(QMGR)
QMGRB
DEFINE LISTENER ('LISTENER.TCP.QMGRA') +
TRPTYPE(TCP) +
PORT(1414) +
CONTROL(QMGR) |
where is the ipaddress for the listeners?
ipaddress is missing. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 23, 2008 2:53 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Gaya3 wrote: |
where is the ipaddress for the listeners?
ipaddress is missing. |
He's running on 'localhost', there is no need to specify one. Let's not confuse the issue any more than it already is. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Jun 23, 2008 3:18 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
its a best practice to give the ipaddress though its on localhost or remote..
atleast the trouble shooting will be easier..
there is no need for him to get confused.
He havent trouble shooted properly yet.
He havent done what fjb_saper asked him to do so.
with out giving a proper idea how do you think it will go forward. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 23, 2008 3:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
solomon_13000 wrote: |
QMGRA
DEFINE LISTENER ('LISTENER.TCP.QMGRB') +
TRPTYPE(TCP) +
PORT(1415) +
CONTROL(QMGR)
QMGRB
DEFINE LISTENER ('LISTENER.TCP.QMGRA') +
TRPTYPE(TCP) +
PORT(1414) +
CONTROL(QMGR) |
Like I said the naming convention for the listeners is very confusing.
I would have used:
Quote: |
QMGRA
DEFINE LISTENER ('QMGRA.TCP.1415') +
TRPTYPE(TCP) +
PORT(1415) +
CONTROL(QMGR)
QMGRB
DEFINE LISTENER ('QMGRB.TCP.1414') +
TRPTYPE(TCP) +
PORT(1414) +
CONTROL(QMGR) |
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 23, 2008 3:31 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Gaya3 wrote: |
its a best practice to give the ipaddress though its on localhost or remote..
atleast the trouble shooting will be easier..
there is no need for him to get confused.
He havent trouble shooted properly yet.
He havent done what fjb_saper asked him to do so.
with out giving a proper idea how do you think it will go forward. |
With no IP Address specified it will listen on all IP stacks...sort the problem first then lock down to a specific address. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
solomon_13000 |
Posted: Mon Jun 23, 2008 4:38 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
Specify the IPADDR('localhost') like this? |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 23, 2008 4:51 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
exerk wrote: |
With no IP Address specified it will listen on all IP stacks...sort the problem first then lock down to a specific address. |
I suggest you leave it blank...for now. Identify the issue first, and do not add possible further issues.
Have you done as suggested by fjb_saper?
Quote: |
on a DOS window try following:
>telnet localhost 1414
[ctrl] +]
quit
>telnet localhost 1415
[ctrl]+]
quit |
Have you done as suggested by me?
Quote: |
I suggest you very carefully check the SDR and RCVR definitions, you may well have a typographical error.
Open the SDR properties and highlight and copy the name, then create a new RCVR in QMGRA and paste in the copied name. If you can create the RCVR then it is definitely a typo, so compare the two definitions to see where you went wrong. |
_________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
solomon_13000 |
Posted: Mon Jun 23, 2008 4:55 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
telnet localhost 1414
took me to a blank dark screen.
telnet localhost 1415
Connecting To localhost...Could not open connection to the host, on port 1415: Connect failed |
|
Back to top |
|
 |
|