|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
mqsicreatebar error |
« View previous topic :: View next topic » |
Author |
Message
|
wmqstankela |
Posted: Wed Nov 22, 2017 3:27 am Post subject: mqsicreatebar error |
|
|
Voyager
Joined: 29 Feb 2016 Posts: 94
|
Hi all,
I use IIB V10 and I can create bar file from Toolkit, but when I run mqsicreatebar for the same application I have this error:
BIP0841E The resource .project could not be added to BAR file.
Application 'S08' references shared library 'SharedLib'. However, resources (E.g. ESQL files) in shared library 'SharedLib' can not be inlined.
Command that I run from Integration console:
Code: |
mqsicreatebar -data C:\IIBT10\workspace -b C:\TEMP\bar-files\S08.bar -a S08 -skipWSErrorCheck -trace -v C:\TEMP\log\trace.txt |
Trace file:
Code: |
[2017/11/22/12:10:31] [INFO] CommandProcessor: process { mqsicreatebar arguments: }
[2017/11/22/12:10:31] [INFO] CommandProcessor: process { [-b, C:\TEMP\bar-files\S08.bar, -a, S08, -skipWSErrorCheck, -trace, -v, C:\TEMP\log\trace.txt, -wmbtData] }
[2017/11/22/12:10:32] [INFO] CommandProcessor: process { Disable auto-build before opening the projects }
[2017/11/22/12:10:32] [INFO] CommandProcessor: openWorkspace { }
[2017/11/22/12:10:32] [INFO] CommandProcessor: openWorkspace { List of applications to be processed: S08 }
[2017/11/22/12:10:32] [INFO] CommandProcessor: addReferencedProjectForAppOrLib { List of reference projects for project C:\IIBT10\workspace\S08\.project to be processed: SharedLib }
[2017/11/22/12:10:33] [INFO] CommandProcessor: process { Enable auto-build after the projects are opened }
[2017/11/22/12:10:33] [INFO] CommandProcessor: waitForBuildsToComplete { Waiting for build to complete }
[2017/11/22/12:11:41] [INFO] CommandProcessor: process { Skip the workspace error check }
[2017/11/22/12:11:41] [INFO] CommandProcessor: doCompile { }
[2017/11/22/12:11:41] [INFO] AddToBARFileOperation: barGeneratorDelegate { Adding S08/.project to BAR file }
[2017/11/22/12:11:41] [ERROR] { Error adding to BAR Model. fileToAdd: L/S08/.project } - com.ibm.etools.mft.bar.model.BrokerArchiveException
[2017/11/22/12:11:42] [INFO] CommandProcessor: rebuild { Found a compiler error. Trying to recompile }
[2017/11/22/12:11:42] [INFO] CommandProcessor: saveBar { }
[2017/11/22/12:11:42] [INFO] CommandProcessor: closeWorkspace { }
|
Is there a way to see command that runs in background, when I create bar file from Toolkit?
Can anyone help me with this problem?
Thanks in advance |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 22, 2017 5:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What is your file structure in the workspace?
What is your source management control tool?
What plugin are you using for it in the toolkit?
Help us help you  _________________ MQ & Broker admin |
|
Back to top |
|
 |
abhi_thri |
Posted: Thu Nov 23, 2017 12:50 am Post subject: |
|
|
 Knight
Joined: 17 Jul 2017 Posts: 516 Location: UK
|
I guess it is to with the default build option set at IIB 10 toolkit not to compile and in-line resources...Open the BAR file Prepare window and you will see that 'Compile and in-line resources' is unchecked.
In the mqsicreatebar trace it is trying to compile which is failing..trying providing '-deployAsSource' mqsicreatebar option and see that helps |
|
Back to top |
|
 |
wmqstankela |
Posted: Wed Dec 13, 2017 1:06 am Post subject: |
|
|
Voyager
Joined: 29 Feb 2016 Posts: 94
|
Thanks abhi_thri, that was the problem. I added -deploAsSource and everything works fine  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|