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 Installation/Configuration Support » Problem creating CLNTCONN Channel AMQ8425

Post new topic  Reply to topic
 Problem creating CLNTCONN Channel AMQ8425 « View previous topic :: View next topic » 
Author Message
NotMe
PostPosted: Thu Dec 03, 2009 12:02 pm    Post subject: Problem creating CLNTCONN Channel AMQ8425 Reply with quote

Apprentice

Joined: 25 Nov 2009
Posts: 26

I'm attempting to create a CLNTCONN Channel but I keep getting a AMQ8425 error. Has anyone experienced this? I've searched the web and other forums but could not find anything that was very helpful. Thanks in advance...


1 : DEFINE CHANNEL ('SYSTEM.DEF.SVRCONN') CHLTYPE(CLNTCONN) +
: TRPTYPE(TCP) +
: CONNAME(' ') +
: LOCLADDR(' ') +
: DESCR(' ') +
: HBINT(300) +
: MAXMSGL(4194304) +
: QMNAME(' ') +
: RCVDATA(' ') +
: RCVEXIT(' ') +
: SCYDATA(' ') +
: SCYEXIT(' ') +
: SENDDATA(' ') +
: SENDEXIT(' ') +
: USERID(' ') +
: SSLCIPH(' ') +
: SSLPEER(' ') +
: KAINT(AUTO) +
: COMPMSG(NONE) +
: COMPHDR(NONE) +
: SHARECNV(10) +
: AFFINITY(PREFERRED) +
: CLNTWGHT(0) +
: REPLACE
AMQ8425: Attribute value error.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 03, 2009 12:10 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

One of the attributes is wrong.

My tip - create a new client pair rather than use the SYSTEM ones. It's best practice not to use SYSTEM objects and there's less to specify. Most of which you don't need, and some of that IIRC isn't valid on a CLNTCONN.

(Not looked it up, could be mistaken there).

Anyway, define a new pair. If you insist on specifying all the attributes and get this error remove one at a time until it works.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Dec 03, 2009 12:12 pm    Post subject: Re: Problem creating CLNTCONN Channel AMQ8425 Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

I don't suppose it makes sense to have a blank CONNAME in a CLNTCONN. What happens if you fill in a value for this field?
Back to top
View user's profile Send private message
NotMe
PostPosted: Thu Dec 03, 2009 12:19 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Nov 2009
Posts: 26

My tip - create a new client pair rather than use the SYSTEM ones. It's best practice not to use SYSTEM objects and there's less to specify. Most of which you don't need, and some of that IIRC isn't valid on a CLNTCONN.

I realize it's not best practices to use SYSTEM objects but per the below link I have to do it this way.

http://www.ibm.com/developerworks/websphere/library/techarticles/0704_xu/0704_xu.html

When I change SVRCONN in the name definition to CLNTCONN it works. Does this make sense?

1 : DEFINE CHANNEL ('SYSTEM.DEF.CLNTCONN') CHLTYPE(CLNTCONN) +
: TRPTYPE(TCP) +
: CONNAME(' ') +
: LOCLADDR(' ') +
: DESCR(' ') +
: HBINT(300) +
: MAXMSGL(4194304) +
: QMNAME(' ') +
: RCVDATA(' ') +
: RCVEXIT(' ') +
: SCYDATA(' ') +
: SCYEXIT(' ') +
: SENDDATA(' ') +
: SENDEXIT(' ') +
: USERID(' ') +
: SSLCIPH(' ') +
: SSLPEER(' ') +
: KAINT(AUTO) +
: COMPMSG(NONE) +
: COMPHDR(NONE) +
: SHARECNV(10) +
: AFFINITY(PREFERRED) +
: CLNTWGHT(0) +
: REPLACE
AMQ8014: WebSphere MQ channel created.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 03, 2009 12:22 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

NotMe wrote:
I realize it's not best practices to use SYSTEM objects but per the below link I have to do it this way.

http://www.ibm.com/developerworks/websphere/library/techarticles/0704_xu/0704_xu.html


Fair point. Clearly some kind of WAS restriction I wasn't aware of.

NotMe wrote:
When I change SVRCONN in the name definition to CLNTCONN it works. Does this make sense?


Yes. These are 2 different types of channel with different attributes and uses.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
NotMe
PostPosted: Thu Dec 03, 2009 12:30 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Nov 2009
Posts: 26

[quote="Vitor"]
NotMe wrote:
Yes. These are 2 different types of channel with different attributes and uses.



I realize they are two different channels but in order for my MQClient connection to work I need a SVRCONN Channel and CLNTCONN channel defined with the same name as I understand it. Is this not correct?
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Dec 03, 2009 12:35 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Your CLNTCONN will have to have the same name as your SVRCONN. Therefore as per that web page you have to name your CLNTCONN with the incongruous name of SYSTEM.DEF.SVRCONN.

Is it really true that only this channel name can be used? I don't see why any software other than MQ cares what channel names are chosen for its client connections.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 03, 2009 12:38 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

NotMe wrote:
I realize they are two different channels but in order for my MQClient connection to work I need a SVRCONN Channel and CLNTCONN channel defined with the same name as I understand it. Is this not correct?


Correct in all respects.

But they're not the same type of channel, and take different attibutes. So if you specify AFFINTY for a SVRCONN that's not valid and the command fails, but if you specify it for a CLNTCONN that's fine.

It's all laid out here.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 03, 2009 12:39 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mvic wrote:
Is it really true that only this channel name can be used? I don't see why any software other than MQ cares what channel names are chosen for its client connections.


News to me, and I have my fingers crossed that someone will post some information on it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
NotMe
PostPosted: Thu Dec 03, 2009 12:51 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Nov 2009
Posts: 26

[quote="Vitor"]
NotMe wrote:

But they're not the same type of channel, and take different attibutes. So if you specify AFFINTY for a SVRCONN that's not valid and the command fails, but if you specify it for a CLNTCONN that's fine.


I think if you look at both examples you can see that I am defining a CLNTCONN channel with all CLNTCONN channel attributes. The difference is the name of the channel would should not matter.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Dec 03, 2009 1:28 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

That article is more than two years old and almost certainly incorrect in the first place that you have to use SYSTEM.DEF.SVRCONN at all. Best bet is to open a PMR with the WAS team and ask them to confirm this.

The name of the channel should have no bearing on whether the DEF CHANNEL fails with an AMQ8425.

Something is going wrong here that is not obvious from the data you have posted. Perhaps you are changing non-printable characters or otherwise making the script more different than you think it is when you changed the name.

You're going to need to specify the CONNAME and the QMNAME attributes on the CLNTCONN if you want it to be useful, btw. The QMNAME is used to identify which channel definition in the CCDT should be used and the CONNAME says where the other end of the channel is.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 03, 2009 1:53 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
The QMNAME is used to identify which channel definition...

Adding to the confusion, QMNAME in a CCDT can also be used to specify a groups of qmgrs eligible for connection. There's a delightful Hursley piece on this.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
NotMe
PostPosted: Fri Dec 04, 2009 5:18 am    Post subject: Reply with quote

Apprentice

Joined: 25 Nov 2009
Posts: 26

mqjeff wrote:

You're going to need to specify the CONNAME and the QMNAME attributes on the CLNTCONN if you want it to be useful, btw.


You are right. I put a value in the CONNAME and the channel was created. It appears that MQ 7.0.1 will not allow the creation of any CLNTCONN channels without a value in CONNAME. I'm not sure if previous versions have the same restriction. Thanks again MQJeff
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Dec 04, 2009 5:32 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

NotMe wrote:
I put a value in the CONNAME and the channel was created.

For any further such problems, take a look at the manual page describing the correct input to the DEFINE CHANNEL command for a CLNTCONN:

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaj.doc/sc11000_.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Problem creating CLNTCONN Channel AMQ8425
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.