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 » Looking for Information for WMB CEI functions

Post new topic  Reply to topic Goto page 1, 2  Next
 Looking for Information for WMB CEI functions « View previous topic :: View next topic » 
Author Message
Base
PostPosted: Thu Apr 09, 2009 8:45 am    Post subject: Looking for Information for WMB CEI functions Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

Hi,

I want to emit some events in WMB using the new built in feature (withaout the support pac). I already enabled monitoring via command line and added some monitoring rules to some nodes. But when I make a query to the broker topics in the WMB Toolkit I cannot see any topic. The Doc says that there should be a topic named after the following pattern: $SYS/Broker/<brokerName>/Monitoring/<executionGroupName>/<flowName>

I also tried to deploy a flow which subscribes to the topic and routes the event to a normal MQ but I cannot find the right properties for the WMB topics (Location JNDI Bindings and Connection factory name).

Are there some additional documents except the help-center from the WMB?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Apr 09, 2009 8:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Double-clicking on "Topics" under Broker Topology in the Domains view will only show you the manually defined topics that you have specified access control rules for.

Double-clicking on "Subscriptions" will let you query and see all subscribers to topics, whether those topics are manually defined or not. But if there is no subscriber, you won't see anything.

You can use RFHUtil (supportPac IH03) to send a RegSub message to Broker to create a subscription to the topic - no JNDI needed and no need to use JMSInput nodes.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Apr 09, 2009 9:05 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

WBIMB V6.1 got the ability to do CEI at one extend and configure the pub sub on the queue manager level.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Apr 10, 2009 2:10 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

mqjeff is correct. That is exactly how I unit tested the v6.1 features.

If you still do not see any events, take a user trace. Every time an event is emitted, BIP3912 is reported in the user trace.
Back to top
View user's profile Send private message
Base
PostPosted: Thu Apr 16, 2009 12:35 am    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

Hm - today I tried to make some progress but it wont work.

I am using RFHUTIL and tried to subscribe to the topic. My Flow Name is "FileCBE" so the topic name should be "$SYS/Broker/WBRK61_DEFAULT_BROKER/Monitoring/default/FileCBE" right?

I entered this in RFHUTIL and selected my Qeue Manager in the drop down menu and pressed Write Msg - Answer that message was sent is displayed.

No I sent a message to the flow where I am using the monitoring and opend the toolkit afterwards to view the subscription. There, I cannot see a topic belonging to the flow.

Are there some good examples/howto or something else to get some information about this? I also looked into the event log (from the domain view in the toolkit) but there are no BIP3912 Events.

Do I need to do something more in advance except to active monitoring via the command line with "mqsichangeflowmonitoring myBroker -c active -g -j" ?
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Apr 16, 2009 11:57 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

If you enable monitoring for a message flow it will always emit events, whether or not you explicitly configure any events for that message flow.
So...
Quote:
Do I need to do something more in advance except to active monitoring via the command line with "mqsichangeflowmonitoring myBroker -c active -g -j" ?
Two comments
- Yes, you almost certainly need to configure some events for the message flow (unless the default pair of events happens to be exactly what you require).
- Do not use -g -j unless you know *exactly* why you are doing so. Never use -g -j as a shortcut to avoid having to specify the execution group/message flow name. If you do, all message flows in all execution groups will start emitting transactionStart/transactionEnd events for every message which passes through them.
Quote:
The topic name should be "$SYS/Broker/WBRK61_DEFAULT_BROKER/Monitoring/default/FileCBE" right?

I entered this in RFHUTIL and selected my Queue Manager in the drop down menu and pressed Write Msg - Answer that message was sent is displayed.
Did you also set the queue name to SYSTEM.BROKER.CONTROL.QUEUE? If not, that would explain why the subscription was not created

Quote:
I also looked into the event log (from the domain view in the toolkit) but there are no BIP3912 Events.
Nobody told you to look in the event log for BIP3912. I told you to take a user trace and look for BIP3912 in the user trace output.
If you do not understand what user trace is, please type 'user trace' into the search box of the product documentation.
Back to top
View user's profile Send private message
Base
PostPosted: Thu Apr 16, 2009 10:56 pm    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

Thanks so far but it does not work.

kimbert wrote:

- Yes, you almost certainly need to configure some events for the message flow (unless the default pair of events happens to be exactly what you require).
- Do not use -g -j unless you know *exactly* why you are doing so. Never use -g -j as a shortcut to avoid having to specify the execution group/message flow name. If you do, all message flows in all execution groups will start emitting transactionStart/transactionEnd events for every message which passes through them.


- I have a simple flow - XML-File-Input and Output where I added a monitor property for the output terminal (for the input node) and one for the input terminal on the output-node
- Yeah I know that I can select the flow or the ex-group which should be monitored. But for my purpose I installed my own Broker for testing and it should be fine.

kimbert wrote:

Did you also set the queue name to SYSTEM.BROKER.CONTROL.QUEUE? If not, that would explain why the subscription was not created


- the queue is selected automatically - Settings (PubSub):
ReqType: "Sub"
Topics: "$SYS/Broker/WBRK61_DEFAULT_BROKER/Monitoring/default/FileCBE" (is this the right one???)
- Qeue Manager connected to: "WBRK61_DEFAULT_BROKER"
Qeue Name: "SYSTEM.BROKER.CONTROL.QUEUE"

and then I pressed "write Message"

kimbert wrote:
Nobody told you to look in the event log for BIP3912. I told you to take a user trace and look for BIP3912 in the user trace output.
If you do not understand what user trace is, please type 'user trace' into the search box of the product documentation.


- I enabled User Trace and tried normal and debug level but I cannot find any BIP3912 events in the log. So I assume that something preliminary is missing. But I dont know what.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Fri Apr 17, 2009 1:54 am    Post subject: Re: Looking for Information for WMB CEI functions Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

What does mqsireportflowmonitoring report?
Code:
mqsireportflowmonitoring WBRK61_DEFAULT_BROKER -e default -f FileCBE -n
Back to top
View user's profile Send private message
Base
PostPosted: Fri Apr 17, 2009 3:21 am    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

It says the following (I hope it is correct because I have to translate it):

Code:
BIP8911I: monitoring properties for message flow 'FileCBE' in execution group 'default' - Status?: active, profilname: ''.
BIP8912I: event: 'FileInput.terminal.out', eventname: 'FileInput.OutTerminal', configured?: yes, status?: enabled
BIP8912I: event: 'FileOutput.terminal.in', eventname: 'FileOutput.InTerminal', configured?: yes, Status?: enabled
Back to top
View user's profile Send private message
Base
PostPosted: Fri Apr 17, 2009 3:44 am    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

Before I startet to work with the new built in monitoring feature I tried the support pac IA9V where I deployed a java compute and a message sub flow to generate events (in combination with the ProcServ and the CBE Browser). Could cause this the problems?

Here I have another question: The help says that there is a bean provided which will collect all events from the monitoring from the topics and passes them to the CEI of an ProcServ - but where can I find this bean? I searched the installdirector and the setup directory of the WMB but havent find it.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Apr 17, 2009 11:08 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Before I startet to work with the new built in monitoring feature I tried the support pac IA9V where I deployed a java compute and a message sub flow to generate events (in combination with the ProcServ and the CBE Browser). Could cause this the problems?
Why should it cause problems? Have you left in place some parts of the IA9V solution? Have you tried a quick test with a completely new message flow project?

Quote:
The help says that there is a bean provided which will collect all events from the monitoring from the topics and passes them to the CEI of an ProcServ - but where can I find this bean? I searched the installdirector and the setup directory of the WMB but havent find it.
Did you read this topic? http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/ac60379_.htm
It clearly says:
Quote:
The following sample provides a Message Driven Bean and a WebSphere Business Monitor Model to help you use WebSphere Business Monitor to monitor events in your message flows:

* WebSphere Business Monitor sample

You can view samples only when you use the information center that is integrated with the Message Broker Toolkit.
Back to top
View user's profile Send private message
Base
PostPosted: Fri Apr 17, 2009 1:34 pm    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

At first I want to emit some events which should be put to the topic. But as far as I see no events are generated (no BIP3912 events in the User Trace). But mqsireportflowmonitoring says that monitoring is enabled. And yes I used a new message flow for monitoring events (without IA9V).

I dont understand why WMB dont emit my events. On the second stage I want to pass these event to the CBE-Browser with the help of the message driven bean which takes the events from the topics and passes them to CEI.
Back to top
View user's profile Send private message
Base
PostPosted: Sat Apr 18, 2009 6:15 am    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

I imported the WebSphere Business Monitor sample and put some messages onto the queue. But the user trace still did not log any BIP3912 entries.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat Apr 18, 2009 9:41 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Does it work if you replace the FileInput node with an MQInput node?
Back to top
View user's profile Send private message
Base
PostPosted: Sat Apr 18, 2009 10:55 am    Post subject: Reply with quote

Apprentice

Joined: 09 Apr 2009
Posts: 32

kimbert wrote:
Does it work if you replace the FileInput node with an MQInput node?


I will try it - BTW: Please check your PMs
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Looking for Information for WMB CEI functions
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.