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 » BarOverrideBarFile.loadBarFile() error in opening zip file.

Post new topic  Reply to topic
 BarOverrideBarFile.loadBarFile() error in opening zip file. « View previous topic :: View next topic » 
Author Message
anurag.munjal
PostPosted: Mon May 30, 2016 11:20 pm    Post subject: BarOverrideBarFile.loadBarFile() error in opening zip file. Reply with quote

Voyager

Joined: 08 Apr 2012
Posts: 97

Hello Champions!
We are struggling to override the ba file on our windows system, broker v8.

Command:
Code:
mqsiapplybaroverride -b "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Demo_UDP.bar" -p "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Deploy_D.properties" -v "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Trace.txt"


Output:
Code:

mqsiapplybaroverride -b "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Demo_UDP.bar" -p "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Deploy_D.properties" -v "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Trace.txt"


The contents of the DeploymentDiscriptor are:
Code:
MFLOW#UDP_PROP1=abc


The mqsireadbar gives this info:
Code:
 DemoUDP.appzip (5/31/16 12:34 PM):
   MFLOW.cmf (5/31/16 12:22 PM):
   MFLOW_Compute.esql (5/31/16 12:22 PM):
   Deployment descriptor:
     startMode
     MFLOW#additionalInstances
     MFLOW#commitCount
     MFLOW#commitInterval
     MFLOW#coordinatedTransaction
     MFLOW#consumerPolicySet
     MFLOW#providerPolicySet
     MFLOW#consumerPolicySetBindings
     MFLOW#providerPolicySetBindings
     MFLOW#securityProfileName
     MFLOW#monitoringProfile
     MFLOW#startMode
     MFLOW#startInstancesWhenFlowStarts
     MFLOW#Compute.connectDatasourceBeforeFlowStarts
     MFLOW#Compute.dataSource
     MFLOW#Compute.validateMaster
     MFLOW#MQ Input.additionalInstances
     MFLOW#MQ Input.componentLevel
     MFLOW#MQ Input.queueName = MQ_IN
     MFLOW#MQ Input.resetBrowseTimeout
     MFLOW#MQ Input.securityProfileName
     MFLOW#MQ Input.serializationToken
     MFLOW#MQ Input.topicProperty
     MFLOW#MQ Input.validateMaster
     MFLOW#MQ Output.queueManagerName
     MFLOW#MQ Output.queueName = MQ_OUT
     MFLOW#MQ Output.replyToQ
     MFLOW#MQ Output.replyToQMgr
     MFLOW#MQ Output.securityProfileName
     MFLOW#MQ Output.validateMaster
     MFLOW#UDP_PROP1 = DefaultValue


The error in the trace file is:
Code:
com.ibm.broker.config.proxy.BarFile.<init>(pathAndFileName=D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Deploy_D.properties)
2016-05-31 12:34:42.0440 main...........   } com.ibm.broker.config.proxy.BarFile.<init>()
2016-05-31 12:34:42.0440 main...........   com.ibm.broker.config.proxy.BarFile.loadBarFile() threw an exception: error in opening zip file. Stack trace follows.



Any suggestions please?
_________________
- Anurag
------------------------
Be Simple, Be Happy
Back to top
View user's profile Send private message
maurito
PostPosted: Tue May 31, 2016 12:07 am    Post subject: Re: BarOverrideBarFile.loadBarFile() error in opening zip fi Reply with quote

Partisan

Joined: 17 Apr 2014
Posts: 358

anurag.munjal wrote:
Hello Champions!
We are struggling to override the ba file on our windows system, broker v8.

Command:
Code:
mqsiapplybaroverride -b "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Demo_UDP.bar" -p "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Deploy_D.properties" -v "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Trace.txt"


Output:
Code:

mqsiapplybaroverride -b "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Demo_UDP.bar" -p "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Deploy_D.properties" -v "D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Trace.txt"


The contents of the DeploymentDiscriptor are:
Code:
MFLOW#UDP_PROP1=abc


The mqsireadbar gives this info:
Code:
 DemoUDP.appzip (5/31/16 12:34 PM):
   MFLOW.cmf (5/31/16 12:22 PM):
   MFLOW_Compute.esql (5/31/16 12:22 PM):
   Deployment descriptor:
     startMode
     MFLOW#additionalInstances
     MFLOW#commitCount
     MFLOW#commitInterval
     MFLOW#coordinatedTransaction
     MFLOW#consumerPolicySet
     MFLOW#providerPolicySet
     MFLOW#consumerPolicySetBindings
     MFLOW#providerPolicySetBindings
     MFLOW#securityProfileName
     MFLOW#monitoringProfile
     MFLOW#startMode
     MFLOW#startInstancesWhenFlowStarts
     MFLOW#Compute.connectDatasourceBeforeFlowStarts
     MFLOW#Compute.dataSource
     MFLOW#Compute.validateMaster
     MFLOW#MQ Input.additionalInstances
     MFLOW#MQ Input.componentLevel
     MFLOW#MQ Input.queueName = MQ_IN
     MFLOW#MQ Input.resetBrowseTimeout
     MFLOW#MQ Input.securityProfileName
     MFLOW#MQ Input.serializationToken
     MFLOW#MQ Input.topicProperty
     MFLOW#MQ Input.validateMaster
     MFLOW#MQ Output.queueManagerName
     MFLOW#MQ Output.queueName = MQ_OUT
     MFLOW#MQ Output.replyToQ
     MFLOW#MQ Output.replyToQMgr
     MFLOW#MQ Output.securityProfileName
     MFLOW#MQ Output.validateMaster
     MFLOW#UDP_PROP1 = DefaultValue


The error in the trace file is:
Code:
com.ibm.broker.config.proxy.BarFile.<init>(pathAndFileName=D:\Users\amunjal\IBM\wmbt80\workspace\BARfiles\Deploy_D.properties)
2016-05-31 12:34:42.0440 main...........   } com.ibm.broker.config.proxy.BarFile.<init>()
2016-05-31 12:34:42.0440 main...........   com.ibm.broker.config.proxy.BarFile.loadBarFile() threw an exception: error in opening zip file. Stack trace follows.



Any suggestions please?

Ensure you have write privileges to the directory where the bar file is.
Ensure the bar file is in the specified directory.
Ensure the overrides file is in the specified directory.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 31, 2016 4:23 am    Post subject: Reply with quote

Grand High Poobah

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

Ensure you have the right permissions (read, write) on the bar file...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » BarOverrideBarFile.loadBarFile() error in opening zip file.
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.