Author |
Message
|
smdavies99 |
Posted: Mon Apr 28, 2014 2:06 am Post subject: Barfile Build error message on 9.0.0.1 |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I'm migrating a customer from 7.0.0.4 to 9.0.0.1.
When I build the application bar file without 'compile and in-line' it works fine.
However when I select this option, I get the following error
Code: |
Processing file ORDER_Input\ORDER_Input.esql.
Failed to add file ORDER_Input\ORDER_Input.esql to archive file.
ESQL files referenced from the message flows (.msgflow) cannot be added to the BAR when the "Compile and in-line resources" build option is selected in the Broker Archive editor.
To include each ESQL file in your BAR file as an individual resource, clear "Compile and in-line resources" and rebuild the BAR file.
|
I'd like to get to the bottom of why this is happening. The message is not specific as to why this is happening so does anyone have any thoughts on the matter?
It is just this one flow that shows this behavior (so far). _________________ 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 |
|
 |
Esa |
Posted: Mon Apr 28, 2014 2:35 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
If you have 'compile and in-line' selected, you shouldn't have the ESQL file selected in the Prepare tab, only the Message Flow. The ESQL file will be compiled and in-lined, not deployed separately. |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Apr 28, 2014 2:43 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Hmmm.
The flow in question have been migrated to an application. As a result you don't get the opportunity to select individual items. _________________ 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 |
|
 |
Esa |
Posted: Mon Apr 28, 2014 2:52 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
True. Did you create a new bar file or reuse an existing that was created before the flow was migrated into an application? |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Apr 28, 2014 3:28 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I created a new one.
you can't use the old one to contain and 'application'. The barfile builder tells you to stop being silly. _________________ 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 |
|
 |
Esa |
Posted: Mon Apr 28, 2014 3:45 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Did you try creating another new one?
Back in the old days, when a bar file started to act strangely it helped if you cleared user and service logs. Did you already try that? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 28, 2014 4:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
smdavies99 wrote: |
The barfile builder tells you to stop being silly. |
Oh please tell me that's a direct quote of the error message!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Apr 28, 2014 5:45 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Vitor wrote: |
smdavies99 wrote: |
The barfile builder tells you to stop being silly. |
Oh please tell me that's a direct quote of the error message!  |
Sadly no it isn't. Sometimes I wish error messages would be a bit more direct.
Once upon a time, a colleague of mine had a whizzo idea about ensuring that all the error messages in a project were unique. So we started out with the text to every error message contained a unique line from the poem 'The Jabberwocky' and the 'Rhyme of the Ancient Mariner'. Then as we progressed with the project these lines were gradually replaced with proper more meaningful texts.
Sadly one was left in and we were to busy to notice. sure enough the first bug reports was a 'What does 'I shot the ALBATROSS' mean?
Egg on face all round.
Mind you, it can't be a cryptic as
"F-342, Fatal Address or other trap 4". _________________ 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 |
|
 |
fjb_saper |
Posted: Mon Apr 28, 2014 7:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Does your application contain any migrated mapping node?
Typically when using ESQL call out from the mapping node you cannot compile with the in-line flag but must use -deployAsSource.
So you may have conflicting requirements trying to compile your application with the inline flag.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Apr 28, 2014 7:33 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
fjb_saper wrote: |
Does your application contain any migrated mapping node?
|
Nope. No mapping nodes at all. These flows are more 'data enrichment' than transformation. I guess it might be time for a PMR?
There are actually three out of the twenty flow/applications that show this 'feature'. Now I need to try to narrow the causation down a bit. _________________ 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 |
|
 |
mqjeff |
Posted: Mon Apr 28, 2014 7:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Are you removing the contents of the bar file as part of the build command?
If not, it's likely adding the application and leaving the existing contents in the bar file, which would include any esql files, either not-inlined or already compiled and in-lined. |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Apr 28, 2014 8:01 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqjeff wrote: |
Are you removing the contents of the bar file as part of the build command?
|
Yes I am removing the contents but even with a fresh barfile, the error appears. _________________ 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 |
|
 |
fjb_saper |
Posted: Mon Apr 28, 2014 8:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
smdavies99 wrote: |
mqjeff wrote: |
Are you removing the contents of the bar file as part of the build command?
|
Yes I am removing the contents but even with a fresh barfile, the error appears. |
Can you build it using independent resources? i.e. not as an application?
And finally if you build it without the inline flag and deploy it does it work? _________________ MQ & Broker admin |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Apr 28, 2014 9:12 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
fjb_saper wrote: |
smdavies99 wrote: |
mqjeff wrote: |
Are you removing the contents of the bar file as part of the build command?
|
Yes I am removing the contents but even with a fresh barfile, the error appears. |
Can you build it using independent resources? i.e. not as an application?
And finally if you build it without the inline flag and deploy it does it work? |
Yes it does build as an independent resource.
with an application, omitting the inline flag, it deploys and runs fine.
The V7 versions have been in production for more than a year.
I need to do a lot more investigation tomorrow. I somtimes wish that broker error messages were a bit more specific. The error message in this case really gives no hint as to where the problem lies. _________________ 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 |
|
 |
|