Author |
Message
|
kunal07 |
Posted: Mon Feb 10, 2014 2:11 am Post subject: Array List to local Env Tree |
|
|
Acolyte
Joined: 05 Dec 2012 Posts: 72
|
Hi All,
I have an urgent requirement to assign a sting array list to the local envirnoment tree using java compute node.
i have to put all the values in the array under one variable of local env tree.
can anyoone help on this???
thanks a lot..  |
|
Back to top |
|
 |
Gralgrathor |
Posted: Mon Feb 10, 2014 3:04 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
|
Back to top |
|
 |
kunal07 |
Posted: Mon Feb 10, 2014 4:12 am Post subject: |
|
|
Acolyte
Joined: 05 Dec 2012 Posts: 72
|
i have tried that one but not working for me.
requiremetn is like i have string array with 100 of elements and i have to place all of them under one element in local env.
newEnv.getRootElement().createElementAsLastChild(MbElement.TYPE_UNKNOWN, "Keyvalue["+i+"]", arrList.get(i)
pls tell any solution |
|
Back to top |
|
 |
Gralgrathor |
Posted: Mon Feb 10, 2014 5:12 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
kunal07 wrote: |
i have tried that one but not working for me. |
When you say "not working for me", what do you mean? What have you tried? If it does anything, then what? If it produces an exception then what is the exception? |
|
Back to top |
|
 |
dogorsy |
Posted: Mon Feb 10, 2014 5:48 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
Gralgrathor wrote: |
kunal07 wrote: |
i have tried that one but not working for me. |
When you say "not working for me", what do you mean? What have you tried? If it does anything, then what? If it produces an exception then what is the exception? |
a good example of "I don't have a clue what I am doing, please do it for me"
As a freelance consultant, I strongly disagree with helping these kind. So often I have had calls asking what my fees where, only to be told: well, we get people from 'you know where' and their fees are half of yours. Of course, then they ask this forum to do their job. |
|
Back to top |
|
 |
kunal07 |
Posted: Mon Feb 10, 2014 6:15 am Post subject: |
|
|
Acolyte
Joined: 05 Dec 2012 Posts: 72
|
rrorDetails>Dequeued failed message. Propagating a message to the failure terminal
it seems local env tree not getting populted correctly..
any suggestion on this:
Last edited by kunal07 on Mon Feb 10, 2014 6:53 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Mon Feb 10, 2014 6:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kunal07 wrote: |
rrorDetails>Dequeued failed message. Propagating a message to the failure terminal |
And it didn't provide you with any kind of exception tree or details of why it went to the exception tree? Gosh. That's a serious software error and you should raise a PMR with IBM; you should always get details of the exception when an excpetion is thrown....
kunal07 wrote: |
any suggestion this: |
Yes. THINK.
Then:
- capture and examing the exception you're getting
- determine why whatever code you've got in place isn't working
- correct the code or, in cases of serious issues, correct your design.
It's called "development" and someone is (presumably) paying you to do this. They are not paying us.
Also you should bear in mind we can't see what you can see. Comments like "it's not working" or "it's going to the failure terminal" are massively unhelpful. We can guess that from the fact you're posting here. If you want help, provide some information. Suggestions include, but are not limited to, these:
- your requirements
- your code
- your exception
- what you've already tried to fix this on your own
- what your data actually look like. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Gralgrathor |
Posted: Mon Feb 10, 2014 6:29 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
dogorsy wrote: |
I strongly disagree with helping these kind |
I suppose a limited amount of "teach a man to fish" can't hurt me. Much.
kunal07 wrote: |
rrorDetails>Dequeued failed message. Propagating a message to the failure terminal |
That is hardly helpful. You are not telling us anything about the nature of what you've tried and where it went wrong. Be explicit. Provide code listings. Provide trace output, including complete nested exceptions. Show us which MQSeries.net topics are relevant, and why the solutions provided there don't work for you. |
|
Back to top |
|
 |
dogorsy |
Posted: Mon Feb 10, 2014 7:12 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
Gralgrathor wrote: |
dogorsy wrote: |
I strongly disagree with helping these kind |
I suppose a limited amount of "teach a man to fish" can't hurt me. Much.
kunal07 wrote: |
rrorDetails>Dequeued failed message. Propagating a message to the failure terminal |
That is hardly helpful. You are not telling us anything about the nature of what you've tried and where it went wrong. Be explicit. Provide code listings. Provide trace output, including complete nested exceptions. Show us which MQSeries.net topics are relevant, and why the solutions provided there don't work for you. |
hmm... obviously the OP does not even know what to ask ....
It seems to me that it is a lot more than "teach a man to fish". I think the OP does not know there is fish in the water. |
|
Back to top |
|
 |
Gralgrathor |
Posted: Mon Feb 10, 2014 7:26 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
As long as I'm stuck indefinitely with what should be a relatively simple piece of coding (if it turns out I need a PMR for this I am really going to kick somebody in the face) I can't criticise other people for their lack of enthusiasm. Still, this thread should probably be deleted. |
|
Back to top |
|
 |
dogorsy |
Posted: Mon Feb 10, 2014 7:56 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
Gralgrathor wrote: |
As long as I'm stuck indefinitely with what should be a relatively simple piece of coding (if it turns out I need a PMR for this I am really going to kick somebody in the face) I can't criticise other people for their lack of enthusiasm. Still, this thread should probably be deleted. |
?? do you read your posts before clicking "Submit"...? I know it is in English, but it is complete bull.shite... to start with, you are quoting me saying "Words"... I do not know what you are on, but please, get off it, it is not doing your brains any good ! |
|
Back to top |
|
 |
|