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 » [?] Remove deployed bar via cmd console?

Post new topic  Reply to topic
 [?] Remove deployed bar via cmd console? « View previous topic :: View next topic » 
Author Message
isaw
PostPosted: Thu Jun 07, 2007 1:16 am    Post subject: [?] Remove deployed bar via cmd console? Reply with quote

Apprentice

Joined: 09 May 2007
Posts: 45

Hey guys,

I've been tasked with creating some Ant scripts that our config/deploy team can use for *somewhat* generic source code retrieval, bar file build & deploy.

And for the most part that's all fine and works. However what I am stuck with, is how to get an already deployed bar file 'undeploy' via the command console.

I have tried using the "-m" option in my 'mqsideploy' command but I was told by the powers that be they'd rather have a single executable script that can clean down the exegroup in preparation for a bar deployment.

Does anyone have any suggestions? I did try a search on the forums but couldnt find anything related to "manual remove deployed bar file".

Thanks!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 07, 2007 1:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You could always delete and recreate the execution group.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
isaw
PostPosted: Thu Jun 07, 2007 2:04 am    Post subject: Reply with quote

Apprentice

Joined: 09 May 2007
Posts: 45

Yes, i think that's what it will be then. Can't see any mqsi* commands to cover a bar file removal.

Thanks Jeff.
Back to top
View user's profile Send private message
mqmatt
PostPosted: Thu Jun 07, 2007 3:54 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

No, there aren't any commands to do BAR file removal, as the execution groups deal with the deployed BAR file contents rather than the BAR files themselves.
An alternative to the suggestions already given is to use a Config Manager Proxy application: use ExecutionGroupProxy.deleteDeployedObjects() or ExecutionGroupProxy.deleteDeployedObjectsByName().
Back to top
View user's profile Send private message
Bill.Matthews
PostPosted: Thu Jun 07, 2007 7:19 am    Post subject: Reply with quote

Master

Joined: 23 Sep 2003
Posts: 232
Location: IBM (Retired)

Since the original requester is using ANT - there is a brand new developerworks article that may be of interest -

http://www.ibm.com/developerworks/websphere/library/techarticles/0706_spriet/0706_spriet.html

Title: WebSphere Message Broker deployment scripting using Ant

written by some good folks in Toronto.
_________________
Bill Matthews
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 » [?] Remove deployed bar via cmd console?
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.