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

Post new topic  Reply to topic
 ERRO: MQJE046: Unsupported codeset : 0 « View previous topic :: View next topic » 
Author Message
vrushali
PostPosted: Wed Apr 15, 2009 2:21 am    Post subject: ERRO: MQJE046: Unsupported codeset : 0 Reply with quote

Newbie

Joined: 15 Apr 2009
Posts: 6

Hi...

I am getting below error while processing queues...
MQJE046: Unsupported codeset : 0

can anybody help me to resolve this...

please let me know in any info needed...

thanks in advance!
Back to top
View user's profile Send private message
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 15, 2009 2:25 am    Post subject: Re: ERRO: MQJE046: Unsupported codeset : 0 Reply with quote

Grand High Poobah

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

vrushali wrote:
please let me know in any info needed...


Well for starters:

Processing queues how? Getting messages? Putting messages? Filling queues with flying monkeys?

What version of WMQ? What maintenance level? What platform? What OS?

What codeset do you think you're using? Are you deliberately trying to use 0? How are you selecting the codeset?

Are you really using Java, or have you just selected this section at random? If so, are you using JMS or base API?

What actions have you already taken to try and resolve this problem? Or have you started with an information free posting here (when your attempt to reopen an unrelated 3 year old post was blocked by an ill-tempered moderator)?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vrushali
PostPosted: Wed Apr 15, 2009 2:37 am    Post subject: Reply with quote

Newbie

Joined: 15 Apr 2009
Posts: 6

Ans 4 ur question....

Processing queues how? using WAS console
Getting messages? xml msges
Putting messages? in MQ
Filling queues with flying monkeys? ----

What version of WMQ? Version 6.0
What maintenance level? ----
What platform? Java
What OS? XP

What codeset do you think you're using? dont know
Are you deliberately trying to use 0? no
How are you selecting the codeset? ---

Are you really using Java, or have you just selected this section at random? i m using Java
If so, are you using JMS or base API? JMS

What actions have you already taken to try and resolve this problem?
I am not able to resolve the problem thts y posted it to forum...

Or have you started with an information free posting here (when your attempt to reopen an unrelated 3 year old post was blocked by an ill-tempered moderator)? ....no..i just come through ths forum so thought tht i can get solution...
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 15, 2009 2:40 am    Post subject: Reply with quote

Grand High Poobah

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

vrushali wrote:
I am not able to resolve the problem thts y posted it to forum...


I guessed it wasn't fixed from the fact you posted the question. I asked what you're already tried, accepting that it was unsuccessful. There's no point us suggesting stuff which has already failed to help.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vrushali
PostPosted: Wed Apr 15, 2009 2:42 am    Post subject: Reply with quote

Newbie

Joined: 15 Apr 2009
Posts: 6

Here's something else I found.

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 Publisher 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


Last edited by vrushali on Wed Apr 15, 2009 2:44 am; edited 1 time in total
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Apr 15, 2009 2:43 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

vrushali wrote:
no no look...

Here's something else I found.

Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 15, 2009 2:45 am    Post subject: Reply with quote

Grand High Poobah

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

vrushali wrote:
Here's something else I found.


So why exactly are you looking for help here when you've found the solution?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vrushali
PostPosted: Wed Apr 15, 2009 2:48 am    Post subject: Reply with quote

Newbie

Joined: 15 Apr 2009
Posts: 6

I am getting this error very often. ...
Back to top
View user's profile Send private message
vrushali
PostPosted: Wed Apr 15, 2009 2:50 am    Post subject: Reply with quote

Newbie

Joined: 15 Apr 2009
Posts: 6

could you please help me to know what can be done to resolve this error...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Apr 15, 2009 2:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Okay, let me see if I can restate the problem so that it's more clear.

You have an MDB, that you have defined in the WAS Console. It is using JNDI definitions that you have also defined in the WAS console.

This MDB is consuming messages.

This MDB is frequently throwing the MQJE046 error.

The documentation you found says that it is usually caused by something that is SENDING messages, that is trying to share the same Queue Sender or Topic Producer between threads.

So the first thing to do is review the code of the MDB to see if it is doing anything to SEND messages at all. If it's not, and you're *sure* that it's the MDB that is throwing the MQJE046 error, then you need to go back and re-examine all of your JNDI entries to see if there is any place where you have put the wrong value for a codeset or not set a codeset at all.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 15, 2009 2:56 am    Post subject: Reply with quote

Grand High Poobah

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

vrushali wrote:
could you please help me to know what can be done to resolve this error...


You said it yourself:

vrushali wrote:
If this problem occurs, the application should be reviewed
to ensure that each thread creates it's own MQTopicPublisher or MQQueueSender

_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vrushali
PostPosted: Wed Apr 15, 2009 3:25 am    Post subject: Reply with quote

Newbie

Joined: 15 Apr 2009
Posts: 6

Thanks guys!

I will do some code analysis and will discuss with u know 2marrow if I come across any issue..
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 » ERRO: MQJE046: Unsupported codeset : 0
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.