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 » MB 8 Message set on runtime - Unexpected broker behavior

Post new topic  Reply to topic
 MB 8 Message set on runtime - Unexpected broker behavior « View previous topic :: View next topic » 
Author Message
marcin.kasinski
PostPosted: Tue Sep 08, 2015 2:57 am    Post subject: MB 8 Message set on runtime - Unexpected broker behavior Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Environment:
IBM Message Broker 8.0.0.2 on Linux

Hello.
I have strange problem with IBM Message Broker 8.0.0.2 on Linux.

I have execution group with 30-40 message flows using reusable subflows.
There are very simple some kind of gateway SOAP flows with transformation.

Everything goes fine until after a few weeks and after a few deployments something goes wrong.

In one of my flows (NOT ALWAYS THE SAME) I can see that after mapping node (SOAP domain) xml tree is not I expected. In my code I map to message set X structure but on runtime I can see that this structure is created from totally random different message set existed in my environment but not used here .

Always this new structure is empty.
It is happening in different flows . Sometimes it is happening in mapping before SOAP Request note, sometimes before SOAP Reply. It is totally unexpected.

The only one thing to fix it is restarting broker. After broker restart everything works fine, but after a few weeks problem is repeated.

I experience this problem on all my environments expect DEV where I have only a few flows .

I tried increasing mem for execution group but it doesn’t help.


Any hints here please …
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Tue Sep 08, 2015 5:07 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

THat sounds like a PMR, or an issue with the code that is somehow setting the wrong model in the LocalEnvironment before it calls the Mapping node.

This can also happen if the incoming message has headers that indicate what model it should be parsed with.

So you could have an issue with applications sending the wrong messages to the wrong input nodes.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue Sep 08, 2015 8:41 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Thank you Jeff for reply.

In all my flows message set is set in static way in mapping node or in my SOAP nodes.

I don't use LocalEnvironment to set message set dynamically.

I will try to raise PMR then.

Thank you...
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Tue Sep 08, 2015 8:43 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Does setting the values in the LocalEnvironment solve the problem?

It might be worth testing.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Sep 08, 2015 9:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Again, settings on the *incoming message*, before you even get to the flow, can tell the Broker which message set to parse with.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Sep 08, 2015 10:11 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

mqjeff wrote:
Again, settings on the *incoming message*, before you even get to the flow, can tell the Broker which message set to parse with.


That is a good point. If the incoming message has the wrong data then you are going to get an error.

I remember posting just a question here around 2005/06.

If the RFH2 settings that describe the message model are set in the message that gets on the input queue, the MQINPUT node will try to parse the using those values and ignoring any parameters that are set on the input node.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Sep 08, 2015 10:21 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
mqjeff wrote:
Again, settings on the *incoming message*, before you even get to the flow, can tell the Broker which message set to parse with.


That is a good point. If the incoming message has the wrong data then you are going to get an error.

I remember posting just a question here around 2005/06.

If the RFH2 settings that describe the message model are set in the message that gets on the input queue, the MQINPUT node will try to parse the using those values and ignoring any parameters that are set on the input node.


The XMLNSC parser will also use the root tag of the message (or the root of the SOAP Body) to decide which model to use.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
timber
PostPosted: Tue Sep 08, 2015 11:16 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1282

Sort of. This would be more accurate, though:
Quote:
The XMLNSC parser will also use the root tag of the message (or the root of the SOAP Body) to decide which global element declaration in the model to use.

'The model' means 'the specified message set' in this case. In MB8 and IIB9 it can also mean 'all schemas in the application and its referenced libraries'. In IIB10 is can also mean 'all schemas in the specified shared library'.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 09, 2015 4:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's always nice to be out-pedantized.
_________________
chmod -R ugo-wx /
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 » MB 8 Message set on runtime - Unexpected broker behavior
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.