Author |
Message
|
issac |
Posted: Tue Jan 10, 2012 7:47 pm Post subject: Why is my flow not shown when trying to create bar? |
|
|
 Disciple
Joined: 02 Oct 2008 Posts: 158 Location: Shanghai
|
Hello,
I'm using Toolkit v7.0.0.3 and WMB v7.0.0.3.
I created a simple flow containing MQInput, MQOutput, then tried to create a broker archive. But the flow is nowhere to be found in the archive editor. Why?
This never happened when I was using WMQ Toolkit v6.1.
Thank you! _________________ Bazinga! |
|
Back to top |
|
 |
harish_td |
Posted: Wed Jan 11, 2012 1:11 am Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
I have been bitten by this in the past.
Assuming that there is no problem in the message flows/esql et al
1. Save and Close the Bar file (with the missing flow)
2. Reopen the bar file and see whether your flow is now included |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jan 11, 2012 5:08 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
it means the flow hasn't been compiled yet. |
|
Back to top |
|
 |
mapa |
Posted: Wed Jan 11, 2012 5:14 am Post subject: |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
Is there a green little icon on the flow when you look in the Broker Development "navigator"?
Sometimes it is not there for me and when that happens and current workaround is to clean, close project, restart workspace, open project and clean again for it to reappear. Hmm, maybe I should PMR that, but it happens very seldom so I haven't bothered. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jan 11, 2012 5:33 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
issac |
Posted: Wed Jan 11, 2012 5:59 pm Post subject: |
|
|
 Disciple
Joined: 02 Oct 2008 Posts: 158 Location: Shanghai
|
Hello,
I tried using mqsicreatebar... but had no idea how to create a bar containing java files with a lot of dependent jars.
I tried dragging the flow to a test EG directly, then it said "The flow does not contain any input node". I think this is the problem. So I moved the MQInput node somewhere else, then re-saved the flow. Now it WORKS!!! hahah! It now appears in my bar editor.
I think it has something to do with the inner resource-sync of the Toolkit. It seems the toolkit does not know my flow has contained a input node, and deliberately hides the flow because it doesn't regard the flow eligiable to be inside a bar. Cleaning the project wouldn't make any difference, but move the input node and re-save the flow would do. _________________ Bazinga! |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jan 12, 2012 2:43 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
issac wrote: |
I think it has something to do with the inner resource-sync of the Toolkit. It seems the toolkit does not know my flow has contained a input node, and deliberately hides the flow because it doesn't regard the flow eligiable to be inside a bar. Cleaning the project wouldn't make any difference, but move the input node and re-save the flow would do. |
If you'd done a clean build on the project, it probably would have shown as well. |
|
Back to top |
|
 |
sirsi |
Posted: Thu Jan 12, 2012 4:23 am Post subject: |
|
|
Disciple
Joined: 11 Mar 2005 Posts: 177
|
sometimes a clean wont work... I have to restart the toolkit... |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Jan 12, 2012 5:38 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
issac wrote: |
I tried using mqsicreatebar... but had no idea how to create a bar containing java files with a lot of dependent jars. |
Hopefully, none of your code will make it to production until you have better knowledge of the tool you are using. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|