|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQJE020: CCSID not supported by queue manager |
« View previous topic :: View next topic » |
Author |
Message
|
Saravan146 |
Posted: Tue Jul 07, 2009 7:19 pm Post subject: MQJE020: CCSID not supported by queue manager |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Jul 08, 2009 12:05 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Wed Jul 08, 2009 1:03 am Post subject: |
|
|
 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 |
|
 |
Saravan146 |
Posted: Wed Jul 08, 2009 1:16 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Jul 08, 2009 1:24 am Post subject: |
|
|
 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 |
|
 |
Saravan146 |
Posted: Wed Jul 08, 2009 5:41 pm Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Thu Jul 09, 2009 12:13 am Post subject: |
|
|
 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 |
|
 |
Saravan146 |
Posted: Thu Jul 09, 2009 6:16 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu Jul 09, 2009 8:15 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|