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 IndexWebSphere Message Broker Supportmqsicreatebar error

Post new topicReply to topic
mqsicreatebar error View previous topic :: View next topic
Author Message
wmqstankela
PostPosted: Wed Nov 22, 2017 3:27 am Post subject: mqsicreatebar error Reply with quote

Apprentice

Joined: 29 Feb 2016
Posts: 49

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 22, 2017 5:41 am Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19433
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
View user's profile Send private message Send e-mail
abhi_thri
PostPosted: Thu Nov 23, 2017 12:50 am Post subject: Reply with quote

Novice

Joined: 17 Jul 2017
Posts: 21
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
View user's profile Send private message
wmqstankela
PostPosted: Wed Dec 13, 2017 1:06 am Post subject: Reply with quote

Apprentice

Joined: 29 Feb 2016
Posts: 49

Thanks abhi_thri, that was the problem. I added -deploAsSource and everything works fine
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker Supportmqsicreatebar error
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.