Author |
Message
|
mqprof |
Posted: Tue Jul 31, 2007 3:10 pm Post subject: error in mapping node |
|
|
Newbie
Joined: 14 Dec 2006 Posts: 4
|
I created a msgset using mqsicreatemsgdef command.Everything looks allright except that the message type dropdown in the MQInput node does not show that any of the messages in the msgset.Also, on trying to add the message in the source section of a mapping node, I keep getting the error that the message cannot be loaded. On opening the workspace after having run the mqsicreatemsgdef command,the msgset project was not visible,I'd to import it to the workspace.Anybody has seen the error before?The message looks perfectly fine in the outline view.I've referenced the msgset projects from the msgflow project |
|
Back to top |
|
 |
JohnR |
Posted: Fri Dec 14, 2007 8:16 am Post subject: |
|
|
Newbie
Joined: 14 Dec 2007 Posts: 8
|
Hi mqprof,
Did you get anywhere with this - I'm getting exactly the same problem. In both mapping nodes and when trying to configure an input node, there is a problem with reading the message out of the set. The same code works on other machines here so there must be an issue with the configuration of my machine - this is the first time I've set it up.
Thanks,
John |
|
Back to top |
|
 |
Giridhar |
Posted: Fri Dec 14, 2007 11:19 am Post subject: |
|
|
 Apprentice
Joined: 23 Nov 2005 Posts: 46
|
I had the same problem. Try cleaning the project from the Project/ Clean in the Toolkit and then save it. You should be able to see the MsgSet in the InputNode drop down. |
|
Back to top |
|
 |
Giridhar |
Posted: Fri Dec 14, 2007 11:25 am Post subject: |
|
|
 Apprentice
Joined: 23 Nov 2005 Posts: 46
|
And also will be able to see the Msgdef in sources to add to your mapping Node.
It has worked for me. |
|
Back to top |
|
 |
JohnR |
Posted: Thu Dec 20, 2007 1:31 am Post subject: |
|
|
Newbie
Joined: 14 Dec 2007 Posts: 8
|
Thanks for the reply, however I'd already tried all that and no difference. I even created a new workspace and that made no difference either.
It is now working however - not exactly sure what triggered it, I was playing with the validation settings on the MQInput node and switching that on seemed to spark it into life. Having said that, I've switched it off again and it's still working, so I'm not entirely sure of the link! |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Thu Dec 20, 2007 4:38 am Post subject: |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
Check your "project references" - the MQInput node will look there to see what message sets you have identified as being used by the message flow project .. similar for the Mapping node... _________________ Bill Matthews |
|
Back to top |
|
 |
JohnR |
Posted: Thu Dec 20, 2007 6:09 am Post subject: |
|
|
Newbie
Joined: 14 Dec 2007 Posts: 8
|
That's the odd thing - I could see the set, the references were fine and the sets appeared in the drop-down list. It was the individual messages inside the set that I couldn't see ('Message Type' drop-down) - like it couldn't be bothered to look inside the set to see what was there. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Dec 20, 2007 6:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Maybe you need to explicitly build the msgset project. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JohnR |
Posted: Tue Jan 15, 2008 8:44 am Post subject: |
|
|
Newbie
Joined: 14 Dec 2007 Posts: 8
|
Hi All,
Sorry to drag this up again, but it's happening again! As I said before, I did get it working - somehow, I did some work and all was fine. Now I've come back to use it again after a few weeks doing other stuff and it's not working again (as per my first post - No.2 of this thread).
In summary, the mapping node says "unable to load resource" when I add a source, despite having already popped up the window with all the messages in it for me to select from.
I've tried re-creating my workspace, cleaned and rebuilt everything numerous times and re-created the message set and the flow which are both sitting locally, independent of source control (although I am using clearcase for everything else in my workspace). The set is referenced in the flow project properties.
Any further thoughts anyone?
Thanks,
John |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jan 15, 2008 6:42 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Didn't somebody edit the file manually or something?
Usually it doesn't go bat by itself. I have fixed some of those editing them manually but I certainly would not advise you to... It is very very difficult at best and usually takes more than a few tries to fix it... with no guarantees...!
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
JohnR |
Posted: Wed Jan 16, 2008 1:43 am Post subject: |
|
|
Newbie
Joined: 14 Dec 2007 Posts: 8
|
Unfortunately there's nothing wrong with the message set, I can navigate it directly and refer to it in ESQL, field validation is fine, everything's good.
It's only in the mapping and MQInput nodes that I get the problem. The same thing works fine on other peoples machines, using the same source code from the same repository.
Looks like an issue either with the installation or configuration of my toolkit. I think it may be time for a re-install! |
|
Back to top |
|
 |
mqmatt |
Posted: Wed Jan 16, 2008 3:25 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Back up your toolkit's config files if you can. If the reinstall fixes the problem, then you'll probably need them for diagnosis in the PMR you'll be raising  |
|
Back to top |
|
 |
JohnR |
Posted: Wed Jan 16, 2008 3:33 am Post subject: |
|
|
Newbie
Joined: 14 Dec 2007 Posts: 8
|
Will-do Matt. There appear to be a lot of them, anything in particular I should keep - or shall I just copy the whole lot? |
|
Back to top |
|
 |
|