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 » WebSphere Message Broker (ACE) Support » Array List to local Env Tree

Post new topic  Reply to topic
 Array List to local Env Tree « View previous topic :: View next topic » 
Author Message
kunal07
PostPosted: Mon Feb 10, 2014 2:11 am    Post subject: Array List to local Env Tree Reply with quote

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
View user's profile Send private message
Gralgrathor
PostPosted: Mon Feb 10, 2014 3:04 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

Have you tried searching the forum yet?

You'll find such topics as http://www.mqseries.net/phpBB/viewtopic.php?p=248490&sid=0d40593f91c4ab8bc737f65de3f982b1, which are probably relevant to your question.
Back to top
View user's profile Send private message Send e-mail
kunal07
PostPosted: Mon Feb 10, 2014 4:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Gralgrathor
PostPosted: Mon Feb 10, 2014 5:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
dogorsy
PostPosted: Mon Feb 10, 2014 5:48 am    Post subject: Reply with quote

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
View user's profile Send private message
kunal07
PostPosted: Mon Feb 10, 2014 6:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Feb 10, 2014 6:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Gralgrathor
PostPosted: Mon Feb 10, 2014 6:29 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
dogorsy
PostPosted: Mon Feb 10, 2014 7:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Gralgrathor
PostPosted: Mon Feb 10, 2014 7:26 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

dogorsy wrote:
Words.


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
View user's profile Send private message Send e-mail
dogorsy
PostPosted: Mon Feb 10, 2014 7:56 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

Gralgrathor wrote:
dogorsy wrote:
Words.


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
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 » WebSphere Message Broker (ACE) Support » Array List to local Env Tree
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.