Author |
Message
|
mateusz.krzeszowiec |
Posted: Wed Jan 26, 2011 3:58 am Post subject: CCDT problem |
|
|
Newbie
Joined: 26 Jan 2011 Posts: 3
|
Hi,
The problem I have is the only when using Java client library v7 (7.0.1 to be exact) I'm able to connect to the desired queue manager using CCDT, while v6 never works. And yes - I'm somehow bound to v6, it's just that we would like to "migrate" to CCDT.
The setup I have:
RHEL 5 x86_64 - Websphere MQ 6 server
WXP 32 - Websphere MQ 7 server
What I'm trying to do is to connect to both servers with java client. I've tried client jars version 6 and 7 and I've figured out that version 6 basically never works - I get the 2278 error all the time. This is quite surprising as I should be at least able to connect to server v6 with client jars copied from server directory to my dev box.
So - is it kinda known issue that I should always use the newest client library possible? Or something could be wrong with my setup?
As a side note - everything works like a charm when I'm using MQEnvironment.* properties instead of CCDT.
Any hints?
Thanks in advance,
mat |
|
Back to top |
|
 |
zpat |
Posted: Wed Jan 26, 2011 4:01 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Was your CCDT built at v6 or v7 level?
Hint: MO72 can do either, they are upward compatible but not downward. |
|
Back to top |
|
 |
mateusz.krzeszowiec |
Posted: Wed Jan 26, 2011 4:16 am Post subject: |
|
|
Newbie
Joined: 26 Jan 2011 Posts: 3
|
Quote: |
Was your CCDT built at v6 or v7 level? |
Not sure what you mean - I didn't do anything to build TAB files on both boxes, I thought that queue manager automagically build CCDT... and it's working like that.
Quote: |
Hint: MO72 can do either, they are upward compatible but not downward. |
*Sigh* so why the hell I can't connect to anything using v6  |
|
Back to top |
|
 |
zpat |
Posted: Wed Jan 26, 2011 4:30 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Yes but the format of the CCDT is different if it is built by a v7 queue manager, or if it is built by a v6 queue manager.
You can use a v6 built one with v6 or v7 clients, but you can't use a v7 built one with v6 clients.
Last edited by zpat on Wed Jan 26, 2011 6:49 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 26, 2011 5:09 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mateusz.krzeszowiec wrote: |
Not sure what you mean - I didn't do anything to build TAB files on both boxes, I thought that queue manager automagically build CCDT... |
It does, but it does so in response to an admin issuing define commands. You get a different CCDT depending on if that queue manager is v6 or v7. It's also highly possible that the TAB file in use wasn't built by the queue manager you're using; many sites have a queue manager tucked in a corner someplace who maintains the CCDT. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jan 26, 2011 8:33 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor wrote: |
mateusz.krzeszowiec wrote: |
Not sure what you mean - I didn't do anything to build TAB files on both boxes, I thought that queue manager automagically build CCDT... |
It does, but it does so in response to an admin issuing define commands. You get a different CCDT depending on if that queue manager is v6 or v7. It's also highly possible that the TAB file in use wasn't built by the queue manager you're using; many sites have a queue manager tucked in a corner someplace who maintains the CCDT. |
And some don't use any qmgr to maintain it but use support pack MO72... And yes it allows you to specify the version of the channel tab, but if you don't specify anything it will build it at the default level for your version of MO72 and MQ client on that box...
Have your MQ Admins build you a channel table for V6 and try again.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mateusz.krzeszowiec |
Posted: Wed Feb 02, 2011 1:20 pm Post subject: |
|
|
Newbie
Joined: 26 Jan 2011 Posts: 3
|
fjb_saper wrote: |
Have your MQ Admins build you a channel table for V6 and try again.
Have fun  |
No admins to help me with that, I'm a one man army...
I personally installed Websphere MQ 6 on this RHEL machine and exposed CCDT through httpd so I'm sure I've got fresh one... I guess we're going to stick with client libs v7, after all it all should work (right?)
Anyway, thanks for help! |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 02, 2011 2:14 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mateusz.krzeszowiec wrote: |
fjb_saper wrote: |
Have your MQ Admins build you a channel table for V6 and try again.
Have fun  |
No admins to help me with that, I'm a one man army...
I personally installed Websphere MQ 6 on this RHEL machine and exposed CCDT through httpd so I'm sure I've got fresh one... I guess we're going to stick with client libs v7, after all it all should work (right?)
Anyway, thanks for help! |
Also when you ftp your channel table to the client box, make sure your ftp is in BINARY mode. It may be because you've exposed the CCDT through httpd...?
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|