ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » CCDT problem

Post new topic  Reply to topic
 CCDT problem « View previous topic :: View next topic » 
Author Message
mateusz.krzeszowiec
PostPosted: Wed Jan 26, 2011 3:58 am    Post subject: CCDT problem Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Wed Jan 26, 2011 4:01 am    Post subject: Reply with quote

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
View user's profile Send private message
mateusz.krzeszowiec
PostPosted: Wed Jan 26, 2011 4:16 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Wed Jan 26, 2011 4:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Jan 26, 2011 5:09 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 26, 2011 8:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mateusz.krzeszowiec
PostPosted: Wed Feb 02, 2011 1:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 02, 2011 2:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » CCDT problem
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.