Author |
Message
|
xzhou |
Posted: Thu Aug 30, 2012 1:18 pm Post subject: How I change config para before deployment using MQ Explorer |
|
|
Apprentice
Joined: 11 Apr 2008 Posts: 32
|
Hi Friend,
I created a bar file using toolkit (WMB V8.0.0.1). I can change configurable properties, and save the changes in "Broker Archive Editor".
Then I copied it to another machine. and used MQ Explorer to import it for deployment.
After the bar is imported and opened with "Broker Archive Editor", I cannot see configurable properties.
Could you please advise me how I can make a change before deployment using MQ Explorer?
Thanks in advance! XZ |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 30, 2012 6:49 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
look at mqsireadbar and mqsibaroverride.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 31, 2012 1:47 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Do you mean that you can't find the Properties view?
Or that the properties you want to change are not visible in the Properties view? |
|
Back to top |
|
 |
xzhou |
Posted: Fri Aug 31, 2012 5:27 am Post subject: |
|
|
Apprentice
Joined: 11 Apr 2008 Posts: 32
|
All the configurable properties are not visible under manage tab - filter by "Built resources that are configurable" in MQ Explorer V7.0.1. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 31, 2012 5:32 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You need to keep separate your notions of MQ Explorer and Broker Explorer.
MQE hosts MBE. The versions are otherwise separate.
If you are working with Broker v8, then you need to make sure you are using the Broker Explorer that comes with v8. |
|
Back to top |
|
 |
xzhou |
Posted: Fri Aug 31, 2012 6:16 am Post subject: |
|
|
Apprentice
Joined: 11 Apr 2008 Posts: 32
|
Yes. It comes with WMB v8. if it comes with WMQ, you cannot import bar because it doesn't have eclipse plugin for WMB. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 31, 2012 6:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
xzhou wrote: |
Yes. It comes with WMB v8. if it comes with WMQ, you cannot import bar because it doesn't have eclipse plugin for WMB. |
I do not think you are understanding my point.
I'm not sure I'm understanding your point either, so let me make sure. You are saying that you DID install the version of Broker Explorer that comes with Broker v8 into your MQ Explorer?
And it is this copy of Broker Explorer (running in MQ Explorer - PLEASE KEEP THESE NOTIONS SEPARATE) that is NOT showing you the properties you are trying to change?
If so, then I ask again, because I am not understanding you!, are you seeing ANY properties at all? Or simply not seeing the properties you want to change? |
|
Back to top |
|
 |
xzhou |
Posted: Fri Aug 31, 2012 7:33 am Post subject: |
|
|
Apprentice
Joined: 11 Apr 2008 Posts: 32
|
Quote: |
You are saying that you DID install the version of Broker Explorer that comes with Broker v8 into your MQ Explorer?
|
Yes.
Quote: |
And it is this copy of Broker Explorer (running in MQ Explorer - PLEASE KEEP THESE NOTIONS SEPARATE) that is NOT showing you the properties you are trying to change? |
No, it dose not show any properties.
Quote: |
are you seeing ANY properties at all? Or simply not seeing the properties you want to change? |
I didn't see any configurable properties at all
The following is what happened on my PC that has WMB V8.0.0.1, ToolKit V8.0.0.1 and MQ Explore v7.0.1.
If I deploy application using Toolkit drag-n-drop directly. everything is fine.
Because we want to deploy it on other machine controlled by another group, I first did a testing on my PC. What I did on my PC is as follows.
a) use mqsipackagebar to generate a bar.
b) use toolkit to create a bar, the bar file is created under a project called BARfiles (default behaviore). I can open this bar file with " broker archive edit " to modify/save configurable properties in Toolkit.
Then I copied both bar files (different name)into other dir. then import them into MQExplore, open them with " broker archive edit " in MQExplore.
I didn't see any configurable properties at all in " broker archive edit ".
After I read v8 infocenter, it is said as follows.
To edit a BAR file manually by using the WebSphere Message Broker Toolkit, complete the following steps.
Export the BAR file.
From the WebSphere Message Broker Toolkit, click File > Export. The Export wizard opens.
Select the export destination, such as your local file system, and click Next.
my question is.
do we need to export a bar from a toolkit?
"click File > Export. The Export wizard opens. Select the export destination,"
I couldn't choose a destination. it only allows me to choose e.g. Java->JAR file, EJB->EJB Jar file etc.
It is really confused me.
Thanks, XZ |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 31, 2012 7:44 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Okay, to export the bar file From Toolkit, just export it to the file system. Right-click on the BAR file, choose "export". Choose "General"->"File System".
then, when you have done that and you then Import from the File System in Broker Explorer, you will see the Broker Archive file in the MQ Explorer Navigator.
Double-click on it. This will open up the Bar File Editor. You then need to look for an additional view - or a tab - that is called Properties. This is not a pane in the same view that lists the contents of the bar file. It's a separate tab. If you right-click on an item in the bar file contents list, and select 'Details' it should highlight or open the Properties view. You can then select different components of the bar file - the message sets, the message flow, the .cmf, etc. etc. and then see the relevant properties to adjust. |
|
Back to top |
|
 |
xzhou |
Posted: Fri Aug 31, 2012 8:08 am Post subject: |
|
|
Apprentice
Joined: 11 Apr 2008 Posts: 32
|
Quote: |
You then need to look for an additional view - or a tab - that is called Properties. This is not a pane in the same view that lists the contents of the bar file. It's a separate tab. If you right-click on an item in the bar file contents list, and select 'Details' it should highlight or open the Properties view. You can then select different components of the bar file - the message sets, the message flow, the .cmf, etc. etc. and then see the relevant properties to adjust. |
First of all, Thanks for your replay. I did export a BAR, and imported it into MQExplore, but the result is same as before.
After Double-click on it. This will open up the Bar File Editor.
there are 3 tab on the bottom. Manage, User Log, Service Log. choose "Manege" tab, and select Filter by "Build resources that are configurable"
only 2 items display in my case.
ApplicationName.
-> XML Schema and WSDL.
right click on Application, choose either configure or detail. the Properties view is open, but it is a blank view w/o any info inside.
Could you please advise me?
Thanks, XZ |
|
Back to top |
|
 |
xzhou |
Posted: Fri Aug 31, 2012 8:17 am Post subject: |
|
|
Apprentice
Joined: 11 Apr 2008 Posts: 32
|
I did one more testing, The MQ Explorer works with sample pager.bar. It shows configure properties correctly.
I also unzipped my bar. All the configure properties are listed inside broker.xml file.
Thanks, XZ |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 31, 2012 8:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Okay, so now you're seeing properties, but not the properties you are expecting to see.
If you remove the filter, and select on an object that you know has properties you'd like to alter, do you see any properties at all? |
|
Back to top |
|
 |
xzhou |
Posted: Fri Aug 31, 2012 8:43 am Post subject: |
|
|
Apprentice
Joined: 11 Apr 2008 Posts: 32
|
Quote: |
Okay, so now you're seeing properties, but not the properties you are expecting to see. |
No, They are not the properties. they are application and folder, I think.
I saw them at very beginning in MQExplore.
I saw the following in Toolkit on Manage tab with same filter
ApplicationName.
-> FlowName
--> node name
...
-> XML Schema and WSDL.
click node name to show properties. the behavior are very similar on both MQ Explore and toolkit when I tried on sample pager.bar.
Thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 31, 2012 8:52 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Yes, I understand.
If you remove the filter you set, where you have asked it to only display things that have configurable properties, and instead ask it to show you everything... Do you see the Message Flow or etc. underneath the application? |
|
Back to top |
|
 |
xzhou |
Posted: Fri Aug 31, 2012 8:57 am Post subject: |
|
|
Apprentice
Joined: 11 Apr 2008 Posts: 32
|
Quote: |
If you remove the filter you set, Do you see the Message Flow or etc. underneath the application?
|
No. only files. esql files under application. xsd, wsdl files under XML Schema and WSDL.
Thanks. |
|
Back to top |
|
 |
|