Author |
Message
|
vrushali |
Posted: Wed Apr 15, 2009 2:21 am Post subject: ERRO: MQJE046: Unsupported codeset : 0 |
|
|
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 |
|
 |
Vitor |
Posted: Wed Apr 15, 2009 2:25 am Post subject: Re: ERRO: MQJE046: Unsupported codeset : 0 |
|
|
 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 |
|
 |
vrushali |
Posted: Wed Apr 15, 2009 2:37 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Apr 15, 2009 2:40 am Post subject: |
|
|
 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 |
|
 |
vrushali |
Posted: Wed Apr 15, 2009 2:42 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Apr 15, 2009 2:43 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
vrushali wrote: |
no no look...
Here's something else I found. |
 |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 15, 2009 2:45 am Post subject: |
|
|
 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 |
|
 |
vrushali |
Posted: Wed Apr 15, 2009 2:48 am Post subject: |
|
|
Newbie
Joined: 15 Apr 2009 Posts: 6
|
I am getting this error very often. ... |
|
Back to top |
|
 |
vrushali |
Posted: Wed Apr 15, 2009 2:50 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Apr 15, 2009 2:55 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Apr 15, 2009 2:56 am Post subject: |
|
|
 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 |
|
 |
vrushali |
Posted: Wed Apr 15, 2009 3:25 am Post subject: |
|
|
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 |
|
 |
|