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 » mqsicreatebar success But no META-INF/broker.xml generated

Post new topic  Reply to topic
 mqsicreatebar success But no META-INF/broker.xml generated « View previous topic :: View next topic » 
Author Message
ShubhP
PostPosted: Tue Aug 13, 2019 8:42 pm    Post subject: mqsicreatebar success But no META-INF/broker.xml generated Reply with quote

Novice

Joined: 03 Jul 2019
Posts: 15

Hi
Trying to use mqsicreatebar command to create bar file, which needs to be use in deployment automation of bar using ANT.
mqsicreatebar returns success But cannot generate the broker.xml in the META-INF folder of the generated bar.

Using following cmd :

mqsicreatebar -data C:\WorkSpace -b C:\TestTest.bar -cleanBuild -p test1.mf\com\test\f7\test\txn\test.msgflow common.mf\test_ExceptionReply.subflow -l common.msLIB common.tds.msLIB


Please suggest.

Thanks
SHubhP
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 14, 2019 4:53 am    Post subject: Re: mqsicreatebar success But no META-INF/broker.xml generat Reply with quote

Grand High Poobah

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

ShubhP wrote:
mqsicreatebar returns success But cannot generate the broker.xml in the META-INF folder of the generated bar.


Why not? You say it returns success but does it return any additional messages?

How do you know the broker.xml is missing? Do you look? If so, why? What happens when you try to deploy the resulting "incomplete" bar?

What happens if you run this command manually and not inside the environment Ant is using?

What version of the product are you using?

Better information, better advice.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ShubhP
PostPosted: Wed Aug 14, 2019 4:59 pm    Post subject: Re: mqsicreatebar success But no META-INF/broker.xml generat Reply with quote

Novice

Joined: 03 Jul 2019
Posts: 15

Vitor wrote:
ShubhP wrote:
mqsicreatebar returns success But cannot generate the broker.xml in the META-INF folder of the generated bar.


Why not? You say it returns success but does it return any additional messages?

How do you know the broker.xml is missing? Do you look? If so, why? What happens when you try to deploy the resulting "incomplete" bar?

What happens if you run this command manually and not inside the environment Ant is using?

What version of the product are you using?

Better information, better advice.


Thanks for your reply Vitor
Yes It returns some additinal warning messages.
Right now I am using IIB cmd console to run mqsicreatebar command which return the success, and bar file created in the corresponding directory. But when I check the generated bar file, broker.xml file is missing (not generated) in META-INF folder.
Fyi Below is logs

*C:\Program Files\IBM\IIB\10.0.0.16>mqsicreatebar -data C:\ShubhPWorkSpace -b C:\TestTest.bar -cleanBuild -a TestService.mf -p TestService.mf\com\TEST\TEST\TEST\Servicetx
n\TestService.msgflow TEST.TEST.common.mf\com\TEST\TEST\common\TestService_ErrReply.subflow TEST.TEST.common.mf\com\TEST\TEST\common\_errorhandle.subflow
-l TEST.TEST.common.msLIB TEST.TEST.common.arm.msLIB TestService.msLIB
Warning: NLS unused message: DFDLXSDResourceBuilder_errorSchemaInAppImportSchemaInSharedLib in: com.ibm.etools.msg.builder.messages
Warning: NLS unused message: DFDLXSDResourceBuilder_errorProjectReferenceIsMissing in: com.ibm.etools.msg.builder.messages
Warning: NLS missing message: Messages_EnumValue_testElement_empty in: com.ibm.etools.msg.coremodel.utilities.messages
BIP0986I Command completed successfully.*


Please suggest

Thank You
ShubhP
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 14, 2019 7:44 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

well you did not supply the -ignoreErrorsInWorkspace flag so indeed it does give a few errors and a few warnings.
You need to supply that flag so that errors in the workspace not concerning the flows you want to build will be ignored.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ShubhP
PostPosted: Wed Aug 14, 2019 8:05 pm    Post subject: Reply with quote

Novice

Joined: 03 Jul 2019
Posts: 15

fjb_saper wrote:
well you did not supply the -ignoreErrorsInWorkspace flag so indeed it does give a few errors and a few warnings.
You need to supply that flag so that errors in the workspace not concerning the flows you want to build will be ignored.

Have fun


STill the broker.xml is not generated in the the META-INF folder of created bar.
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Wed Aug 14, 2019 11:48 pm    Post subject: Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

ShubhP wrote:

STill the broker.xml is not generated in the the META-INF folder of created bar.



hi...where exactly in the Bar file are you checking for the broker.xml...for application bar file the broker.xml should come under the .appzip folder not directly under the root folder, eg:-

-- Application1.bar
-- META-INF (no broker.xml here)
-- Application1.appzip
-- META-INF (should be able to find the broker.xml) here
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 15, 2019 5:06 am    Post subject: Re: mqsicreatebar success But no META-INF/broker.xml generat Reply with quote

Grand High Poobah

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

ShubhP wrote:
But when I check the generated bar file, broker.xml file is missing (not generated) in META-INF folder.


Vitor wrote:
What happens when you try to deploy the resulting "incomplete" bar?


So what happens?

And I repeat my question - what has led you to look in the bar file in the first place? What happened that made you suddenly decide to look for this file?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ShubhP
PostPosted: Fri Aug 16, 2019 3:44 am    Post subject: Reply with quote

Novice

Joined: 03 Jul 2019
Posts: 15

abhi_thri wrote:
ShubhP wrote:

STill the broker.xml is not generated in the the META-INF folder of created bar.



hi...where exactly in the Bar file are you checking for the broker.xml...for application bar file the broker.xml should come under the .appzip folder not directly under the root folder, eg:-

-- Application1.bar
-- META-INF (no broker.xml here)
-- Application1.appzip
-- META-INF (should be able to find the broker.xml) here


Thanks A lot ABhi, i can see the broker xml there !!
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 » mqsicreatebar success But no META-INF/broker.xml generated
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.