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 » MQJE020: CCSID not supported by queue manager

Post new topic  Reply to topic
 MQJE020: CCSID not supported by queue manager « View previous topic :: View next topic » 
Author Message
Saravan146
PostPosted: Tue Jul 07, 2009 7:19 pm    Post subject: MQJE020: CCSID not supported by queue manager Reply with quote

Newbie

Joined: 07 Jul 2009
Posts: 5

Hi,

I installed MQ 5.2 server in Solaris 10. My MQ gateway running in AIX 4.3.3 & MQ v 5.2. I am running sample java program in MQ server. i getting following error.

# pwd
/opt/mqm/java/samples/En_US
# java MQIVP
MQSeries for Java Installation Verification Program
5639-B43 (C) Copyright IBM Corp. 1997, 1998. All Rights Reserved.
===========================================================

Please enter the type of connection (MQSeries or VisiBroker) : (MQSeries)
Please enter the IP address of the MQSeries server :172.17.103.5
Please enter the port to connect to : (1414)
Please enter the server connection channel name :FO_TO_GW
Please enter the queue manager name :FO_MGR01
MQJE020: CCSID not supported by queue manager
MQJE001: Completion Code 2, Reason 2195
Failure: Attempt to connect to queue manager failed.
Reason: MQ Reason code 2195
Action: Consult MQSeries Application Programming Reference for explanation.
#

Please anyone help me to solve this.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 08, 2009 12:05 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

First of all what are you doing with unsupported OS/ hardware and software?
Your gateway should be running on something like AIX 5.3 or greater and running MQ V 6.0.2.6 or greater ... No idea whether MQ 5.2 will even run on Solaris 10... totally unsupported though if it ever does...

Now if you absolutely have to install the UTF-8 code set on the gateway
and on the solaris server... Did MQ V 5.2 even support clustering?

Look at your environment and find the installed code pages.
Make sure the qmgr's ccsid code page is installed.
Search the forum for the CCSID compatibility page url.
Check whether the ccsid of the java stuff (Locale.getDefault()) is compatible with any of the OS and qmgr ccsid.
If not you may have to write your own translation table. (See mq manual about that)

Furthermore from your code output it looks like you are using an MQ V7 client to connect. This is not supported to connect to MQ V 5.2. It is supported to connect to MQ V6 and V7...
You might want to go back to the old MA88 support pack (used before MQ V5.3)

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Jul 08, 2009 1:03 am    Post subject: Reply with quote

Grand High Poobah

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

fjb_saper wrote:
First of all what are you doing with unsupported OS/ hardware and software?




fjb_saper wrote:
No idea whether MQ 5.2 will even run on Solaris 10... totally unsupported though if it ever does...




fjb_saper wrote:
Did MQ V 5.2 even support clustering?


IIRC it came in with v5.3

It's also worth pointing out it's rude to double post http://www.mqseries.net/phpBB2/viewtopic.php?p=252827
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Saravan146
PostPosted: Wed Jul 08, 2009 1:16 am    Post subject: Reply with quote

Newbie

Joined: 07 Jul 2009
Posts: 5

Hi,

I uninstalled MQ 5.2 in solaris 10 and Installed MQ 7.0. Still I am facing same problem.

I can’t change the Gateway now, because current UAT setup also connect & working (Solaris 8 with MQ 5.2) on Gateway (AIX 4.3.3, MQ 5.2)

Following Message from MQ 7.0 + Solaris 10
9ias% java MQIVP
Websphere MQ for Java Installation Verification Program
5724-B4 (C) Copyright IBM Corp. 2002. All Rights Reserved.
===========================================================

Please enter the IP address of the MQ server :172.17.103.5
Please enter the port to connect to : (1414)1414
Please enter the server connection channel name :FO_TO_GW
Please enter the queue manager name :FO_MGR01
MQJE001: Completion Code '2', Reason '2059'.
Failure: Attempt to connect to queue manager failed.
Reason: 2059 -The queue manager is not available.
Action: Check the queue manager is running and retry.
9ias%

I tried my level best .. still same issue. Pls need your help.

Regards,
Saravan
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 08, 2009 1:24 am    Post subject: Reply with quote

Grand High Poobah

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

Saravan146 wrote:
I uninstalled MQ 5.2 in solaris 10 and Installed MQ 7.0. Still I am facing same problem.


No you're not! If you actually looked at what you're doing, you'd observe that the reason code has changed from a 2195 to a 2059. Different code, different problem. Now the software is actually working but your configuration is broken.

There is a wealth of information on how to diagnose 2059 errors which will assist you.

Saravan146 wrote:
I can’t change the Gateway now, because current UAT setup also connect & working (Solaris 8 with MQ 5.2) on Gateway (AIX 4.3.3, MQ 5.2)


If your site is still using supported software like this, the decision just bit them.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Saravan146
PostPosted: Wed Jul 08, 2009 5:41 pm    Post subject: Reply with quote

Newbie

Joined: 07 Jul 2009
Posts: 5

Hi,

My current UAT & Production are running MQ 5.2 in Solaris 8. Yes, MQ 5.2 unsupported, due to that (I am doing) I am going to MQ 7.0. (MQ 7.0.0.2) in Solaris 10. But I can’t touch UAT and production env. Before need to test my SIT environment with this Solaris 10 with MQ 7.0 or MQ 7.0.0.2. Yes, once my SIT working fine I am going to replace all my UAT and Production.

Please tell me, Solaris 10 with MQ 7.0 to communicate with Gateway AIX 4.3.3 in MQ 5.2 ? or Gateway also should be MQ 7 and above?

Current Setup UAT - MQ Server - Solaris 8, MQ 5.2 (Server), Oracle 9ias connecting to Gateway Server -Aix 4.3.3 MQ 5.2 (Gateway server) - **** Working FINE***

NewSetup SIT - MQ server - Solaris 10, MQ 7.0 or 7.0.0.2, Oracle 10 g AS Connecting to Gateway server – Above Gateway serve (Aix 4.3.3 MQ 5.2 (Gateway server) - ***Not WORKING)***

Thanks,
Saravan
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 09, 2009 12:13 am    Post subject: Reply with quote

Grand High Poobah

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

Saravan146 wrote:
NewSetup SIT - MQ server - Solaris 10, MQ 7.0 or 7.0.0.2, Oracle 10 g AS Connecting to Gateway server – Above Gateway serve (Aix 4.3.3 MQ 5.2 (Gateway server) - ***Not WORKING)***


I've already commented on the error you posted. My view of that has not changed. If you're getting a different error, having resolved the previous one, then post details of that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Saravan146
PostPosted: Thu Jul 09, 2009 6:16 pm    Post subject: Reply with quote

Newbie

Joined: 07 Jul 2009
Posts: 5

Hi,

Uninstalled MQ5.2 and installed 7.0, after testing didn’t get 2195 error and getting 2059. 2059 error getting while running the sample (MQIVP) java program.

While running my java code getting following error : SyncMQ : MQException, Queue Manager Connection not established ....! MQJE001: Completion Code '2', Reason '2018'.

My Code:

import com.ibm.mq.MQQueueManager;
import com.ibm.mq.MQQueue;
import com.ibm.mq.MQException;
import com.ibm.mq.MQMessage;
import com.ibm.mq.MQPutMessageOptions;
import com.ibm.mq.MQGetMessageOptions;
import com.ibm.mq.MQC;

public class SyncMQ {

connectQueueManager(strQueueManagerName);
connectPutQueue(strQueueName);
putMessage(strQueueManagerName, strQueueName, strMessage, intMessageExpiry, strReplytoQueueName, strCorrelId);
strResponseMsg=syncMQGet(pstrReplytoQueue, pintWaitInterval, strCorrelId);


public void connectQueueManager(String pstrQueueManager) {
/* Queue Manager Open Starts */
try {
oQMGR = new MQQueueManager(pstrQueueManager);
strLogMessage = strClassName + "QueueManager object created for QueueManager : '" + pstrQueueManager + "'";
oLogger.writeLog(strLogFile, strLogMessage,2,intDebugLevel);
} catch(MQException m) {
strLogMessage = strClassName + "MQException, Queue Manager Connection not established ....! " + m.getMessage();
oLogger.writeLog(strLogFile, strLogMessage,1,intDebugLevel);
}
}

}

----
Regards,
Saravanan
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 09, 2009 8:15 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And if you look it up here the system will tell what you did wrong...
_________________
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 » MQJE020: CCSID not supported by queue manager
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.