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 » Irritating Message Broker Flows

Post new topic  Reply to topic
 Irritating Message Broker Flows « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Wed Sep 22, 2010 4:44 am    Post subject: Irritating Message Broker Flows Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

OS: Windows XP
Toolkit: 6.1.0.5

Basic setup: Usual number of flows & ESQL doing good things assembled in a project. A separate project, referenced by the first, contains an ESQL file with common functions to parse policy numbers, determine renewal dates & status codes, usual stuff. Both projects use the same named, non default namespace & schema path.

Problem: One flow (out of a dozen) won't deploy after being edited throwing a BIP2558E Undefined Function error, naming one or other of the common functions in the referenced project as being not defined or in the schema path.

If nothing is done except Project->Clean->Clean Selected Project then the deploy goes through without a whimper. Until the next change when it fails and needs to be cleaned again.

No other flow in this project exhibits this behavior. Each will deploy unless the idiot writing the ESQL has made a mistake, no cleaning necessary. This flow used to do this before my Toolkit crashed with an out of memory error while editing it.

Before I burn this flow to the ground and recreate it, does anybody have any less destructive ideas about what's broken and how to fix it?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Sep 22, 2010 5:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

I know what you mean. I've had chaffing and irritation too in that area. I found that less starch in the undies helps.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Sep 22, 2010 5:46 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
I found that less starch in the undies helps.


Did anything more technical help?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Sep 22, 2010 5:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

We've now fully cut-over to automated builds, so we do not build or deploy BAR files through the toolkit anymore. A common step in our automated build process is deleting the workspace/class files, which is effectively a "Project Clean". We currently use CruiseControl/Ant as our build tool but rumor has it that we will be adopting a commercial build appliance next year. Using automated builds, we do not encounter the toolkit problems any more. I'm sure IBM may be working on a patch to solve the toolkit issues for the next fixpack. Hudson is also a nice tool, if you care to look at it.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Wed Sep 22, 2010 6:13 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.

Take a look at Maven for bar file builds. IMHO it workds better than other tools I've seen.
We are moving over to it for all deployments beyong the 'DEV' Environment. Hudson has a place as well mostly for automated & continuous testing in UAT environments.
_________________
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
Vitor
PostPosted: Wed Sep 22, 2010 6:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

I've used Hudson on previous sites and it is cool.

This is a bit earlier in the development cycle than is sensible for automated builds; the code's likely to be experimental and subject to rapid change. Also the site really doesn't have the volume or infrastructure to support automation.

So where did I put those matches.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Sep 22, 2010 6:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

One other tip. First thing every morning, I come in, sit down, and authenticate to the firewall. Then I create a new directory on my C drive, and check out the tip revision of the source code into that new directory. I open toolkit and point toolkit to that new directory, which causes toolkit to reinitialize everything from ground zero every day. This technique seems to reduce the frequency of toolkit malfunctions and it ensures I am working with the latest code from my partners in crime.

For example my root directory for toolkit is C:\Documents and Settings\<username_or_id>\wmbt700

In this root, each day I create a new folder, called Release2_Sep22 or Release2_Sep23 or Release2_Sep24

I then double-click on that folder so to be inside it and right click to bring up the SVN menu, select SVN Update command, and wa-la, all the latest source code appears.

Open toolkit, point to the new directory as the new workspace, say C:\Documents and Settings\<username_or_id>\wmbt700\Release2_Sep24 and hit File -> Import -> General -> Existing Projects Into Workspace.

This starts you out fresh every time.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Sep 22, 2010 6:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Do you have Build Automatically enabled or not?

It sounds like a build order issue, where the flow in question is being built out of order for some of it's dependencies.

Also... probably should push up to 6.1.0.8...
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 22, 2010 6:34 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
Do you have Build Automatically enabled or not?


Enabled

mqjeff wrote:
It sounds like a build order issue, where the flow in question is being built out of order for some of it's dependencies.


Any way to enforce or reset this?

mqjeff wrote:
Also... probably should push up to 6.1.0.8...


Probably. I am working on it but the political will is lacking.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ccrandall
PostPosted: Wed Sep 22, 2010 6:52 am    Post subject: Reply with quote

Acolyte

Joined: 23 Oct 2008
Posts: 52

I'm using MB v7.0.0.0 on XP and this version seems worse than 6.1.0.4 for this. I routinely do a clean before I build within the toolkit. Otherwise, I get really wacky errors... everything from undefined functions in the ESQL or flows to errors about our Java JARs having ClassNotFoundExceptions and stuff.

I also have Build Automatically set.

The only reason I haven't issued a PMR on this is because I know FP1 is out for MB v7. We've got a list of weird things we've seen in this version (flows disappearing from the Broker view, but they are really still there) and I want to see if the next fixpack resolves that.

I agree with mqjeff, the upgrade to MB 6.1.0.8 might help. I'm hoping if there's a fix in the MB 6.1 line for stuff like this that fp1 or 2 for MB 7 may contain a similar fix.

We also use an Ant-based build for our Stage and Production environments and this rarely gives us these kinds of errors. So, I agree with the others that an external build procedure might help.

Anyway, sorry I cannot give you an answer, but wanted to just chime in to say that you aren't alone.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 22, 2010 7:04 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ccrandall wrote:
Anyway, sorry I cannot give you an answer, but wanted to just chime in to say that you aren't alone.


It always helps to be in a group.

"My name is Vitor, and it's been 3 days since I whacked someone with a trout"
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 22, 2010 8:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Is there any chance you've changed BUT NOT SAVED the file that contains one of the resources that aren't being found?

ccrandall - there are a number of fixes for toolkit build issues in 7.0.0.1 vs. 7.0.0.0. You may be seeing incidents of
http://www-01.ibm.com/support/docview.wss?uid=swg1IC66635

Notice that is fixed in at least iFix 02 of 7.0.0.0, so you might just make sure you're at the most recent iFix of 7.0.0.0 if you don't want to run along to 7.0.0.1 while you're at it.

Most of the APARs that might apply that are fixed in 6.1.0.8 here appear to be already fixed in 6.1.0.5, but it's still worth a spin.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 22, 2010 9:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
Is there any chance you've changed BUT NOT SAVED the file that contains one of the resources that aren't being found?


Not the slightest.

Even if I had failed to save, how come the clean allows a deploy?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 22, 2010 9:44 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Try creating a new workspace and importing the relevant projects.

Try closing and opening the relevant projects.

As I said, it kind of sounds like a build order issue or an issue where files are not marked as dirty when they should be. I'm not aware of any practical workaround for either of those.

There are a number of apars in 6.1.0.8 toolkit as mentioned, at least some of them may apply.
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 » Irritating Message Broker Flows
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.