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 » MQJE046: Unsupported codeset

Post new topic  Reply to topic
 MQJE046: Unsupported codeset « View previous topic :: View next topic » 
Author Message
jarun111
PostPosted: Tue Oct 04, 2005 12:08 pm    Post subject: MQJE046: Unsupported codeset Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Hi,
We are getting the following error intermittently:

2005.10.03 07:30:00 MQJMS1016E an internal error has occurred. Please contact your system administrator. Detail: com.ibm.mqservices. MQInternalException: MQJE001: An MQException occurred: Completion Code 2, Reason 2195 MQJE046: Unsupported codeset : 0

MQ client version is 5.3.0.5 and client is running from Solaris box. Queue manager is in Solaris and is in 5.3.0.6. We don't set any special properties for Queue/QCF in regard to encoding/CCSID.

Any help would be greatly appreciated.
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Oct 04, 2005 12:30 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
Completion Code 2, Reason 2195

Unexpected Error. Time to start searching for the FDCs.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jarun111
PostPosted: Tue Oct 04, 2005 12:33 pm    Post subject: Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

No FDC'S generated in the server. Also we see this issue occuring intermittently
Back to top
View user's profile Send private message
moogoo
PostPosted: Tue Apr 18, 2006 10:37 am    Post subject: Reply with quote

Acolyte

Joined: 20 Sep 2002
Posts: 54
Location: US

Hi jarun111,

Were you able to resolve this error? We are getting the same thing that also happens on an intermittent basis.

Thanks,

MG
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 18, 2006 10:42 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Update to CSD 12.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
moogoo
PostPosted: Tue Apr 18, 2006 10:58 am    Post subject: Reply with quote

Acolyte

Joined: 20 Sep 2002
Posts: 54
Location: US

Hi Jeff,

I'm thumbing through the CSD 12 documentation for MQ v5.3 but am not seeing it mentioned that this issue is fixed. Do you have the item # that refers to this?

Thanks,

MG
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 18, 2006 11:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No, I'm not saying that there is a specific fix for this in CSD12.

I'm just saying that, given the vast number of fixes since CSD05, it's fairly likely that there is a fix - in one way or another - for this issue.

Particularly, there are a lot of JMS fixes even since CSD 9.

Plus, it's best practice to upgrade to the lastest CSD within three months of it's release - at least in my opinion.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
moogoo
PostPosted: Tue Apr 18, 2006 1:30 pm    Post subject: Reply with quote

Acolyte

Joined: 20 Sep 2002
Posts: 54
Location: US

Thanks, Jeff. I'll look into that.

However, was browsing this thread and it seems like csmith28's development team diagnosed the problem somehow:

http://www.mqseries.net/phpBB2/viewtopic.php?t=20774&highlight=unsupported+codeset

Curious as to what they changed in their API.

MG
Back to top
View user's profile Send private message
moogoo
PostPosted: Wed Apr 26, 2006 2:01 pm    Post subject: Reply with quote

Acolyte

Joined: 20 Sep 2002
Posts: 54
Location: US

Just to followup for all those in the future who may encounter this problem. After the update to CSD12, the problem still ended up occurring. We then opened up a problem ticket to IBM who responded with the following:

This error is a result of the application using either an MQTopicPublisher or an MQQueueSender object on two or more separate threads.
One thread is trying to use the object to instantiate a new MQJMSMessage at the same time as another thread is using the same message producer (either the Topic Publiser or the Queue Sender) to write a message. The first thread resets the codepage of the message to 0, which causes the second thread to throw the error:

MQJE046: Unsupported codeset : 0

Sharing message producers across threads is not supported. If this problem occurs, the application should be reviewed to ensure that each thread creates it's own MQTopicPublisher or MQQueueSender


Hope this is helpful!

MG
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 26, 2006 3:13 pm    Post subject: Reply with quote

Grand High Poobah

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

moogoo wrote:
Just to followup for all those in the future who may encounter this problem. After the update to CSD12, the problem still ended up occurring. We then opened up a problem ticket to IBM who responded with the following:

This error is a result of the application using either an MQTopicPublisher or an MQQueueSender object on two or more separate threads.
One thread is trying to use the object to instantiate a new MQJMSMessage at the same time as another thread is using the same message producer (either the Topic Publiser or the Queue Sender) to write a message. The first thread resets the codepage of the message to 0, which causes the second thread to throw the error:

MQJE046: Unsupported codeset : 0

Sharing message producers across threads is not supported. If this problem occurs, the application should be reviewed to ensure that each thread creates it's own MQTopicPublisher or MQQueueSender


Hope this is helpful!

MG

You mean you did not have each thread using at least its own session if not its own connection?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pabloparets
PostPosted: Sat May 05, 2007 6:06 pm    Post subject: codeset Reply with quote

Novice

Joined: 05 May 2007
Posts: 11

I have the same problem, when I'm trying to send messages to a queue with a jms java program from a XP Box, the same program runs ok from a windows 2000 box, any idea how to fix this problem?
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun May 06, 2007 9:47 am    Post subject: Re: codeset Reply with quote

Grand High Poobah

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

pabloparets wrote:
I have the same problem, when I'm trying to send messages to a queue with a jms java program from a XP Box, the same program runs ok from a windows 2000 box, any idea how to fix this problem?


1) It's rude to double post

2) It's unusual to add stuff to the bottom of old posts

3) How do you know this is the same problem as yours, given this it's a different problem to the one you posted on before?

4) See my comments on your other post. My recommendation is you start a new thread in the JMS section, give full details of your application, platform and errors, and what you've tried so far. This will enable us to give you the best assistance we can.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 Java / JMS » MQJE046: Unsupported codeset
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.