| Author | Message | 
		
		  | EricL | 
			  
				|  Posted: Thu May 29, 2025 3:35 pm    Post subject: Bar files /MessageFlow Deletion from ACE Integration Server |   |  | 
		
		  | Centurion
 
 
 Joined: 10 Oct 2014Posts: 108
 
 
 | 
			  
				| Hi 
 May I know what is the best way to delete/remove an application(messageflow) or bar file from an ACE integration server by using command line?
 
 So far I've tried using:
 
 mqsideploy <Node> -e <Integrationserver> -d <bar file>
 
 But looks like it didn't work.
 
 Thanks in advance !
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mgk | 
			  
				|  Posted: Fri May 30, 2025 5:03 am    Post subject: |   |  | 
		
		  |  Padawan
 
 
 Joined: 31 Jul 2003Posts: 1647
 
 
 | 
			  
				| I just ran a quick test to remove an application from an Integration Server on ACE 13.0.3 - is this what you are looking for? 
 
 
   
	| Code: |  
	| mqsideploy -i localhost -p 7600 -d ExampleCollector BIP1062I: Removing the following objects from integration server 'TEST_SERVER':  ExampleCollector
 BIP9521I: Application 'ExampleCollector' has been deleted.
 BIP1092I: The deployment request was processed successfully.
 |  
 
 Kind regards.
 _________________
 MGK
 The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | EricL | 
			  
				|  Posted: Fri May 30, 2025 12:24 pm    Post subject: |   |  | 
		
		  | Centurion
 
 
 Joined: 10 Oct 2014Posts: 108
 
 
 | 
			  
				| Thanks for your reply MGK. 
 I just got some update on ACE bar file deployment.
 
 After bar file deployed on ACE integration server, its contents will be extracted and deployed to different folder structures based on the bar file buildup, e.g. there will not be a single bar file available after deployment, this is very different from a java jar file deployment.
 
 I'm thinking maybe can use curl -X "https://<host>:<port>/apiv2/token" -H "Content-Type: application/json" -d '{"username": "", "password": ""}'
 
 Still trying on it.
 
 Thanks and Regards
 Eric
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mgk | 
			  
				|  Posted: Mon Jun 02, 2025 5:44 am    Post subject: |   |  | 
		
		  |  Padawan
 
 
 Joined: 31 Jul 2003Posts: 1647
 
 
 | 
			  
				| Hi Eric. 
 It's not clear to me what you are trying to achieve here? Maybe if you could elaborate on why you are trying to do this I might be able to understand what the problem is that you are seeing?
 
 Kind regards,
 _________________
 MGK
 The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | EricL | 
			  
				|  Posted: Mon Jun 02, 2025 6:51 am    Post subject: |   |  | 
		
		  | Centurion
 
 
 Joined: 10 Oct 2014Posts: 108
 
 
 | 
			  
				| Hi MGK, 
 What I'm trying to do is to delete or remove a deployed application on a ACE(old version called IIB) integration server.
 
 Currently, I have to do this application removal by using ACE admin console UI, manually, I feel it is not an efficient way, and since the application is deployed by using command line like: mqsideploy <Node> -e <IntegrationServer> -a XXX.bar
 
 I was thinking I can do application deletion/removal by using some command lines to uninstall the bar file to make life easier, but after further investigation, I found out there is NO such way.
 
 The reason is as what we talked, after bar file deployed on an integration server, bar far is unzipped and distracted, it become a structure may consists of workflow(s) or a sub workflow(s), or a policy project, so there is no way to do an application uninstall by uninstall a bar file (I hope I'm not wrong here).
 
 So far what I have is there is a promising way to simulate manual application deletion from ACE admin Console by:
 
 curl -X "https://<host>:<port>/apiv2/token" -H "Content-Type: application/json" -d '{"username": "", "password": ""}'
 
 I'm still working on this, hope it works for me.
 
 Thanks
 Eric
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Tue Jun 03, 2025 3:29 pm    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| Hi Eric, 
 You can either delete everything under the integration server with a new deployment
 
 
  or selectively delete using 
	| Code: |  
	| mqsideploy -m -a ... |  
 However to know what to specify for the -d you will have to use
 to show you the resources deployed that you want to remove / delete
 
 Hope it helps
  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | missing_link | 
			  
				|  Posted: Thu Jun 05, 2025 5:41 am    Post subject: |   |  | 
		
		  |  Acolyte
 
 
 Joined: 08 Jan 2004Posts: 61
 
 
 | 
			  
				| Hi Eric 
 To elaborate on what fjb says above...
 
 As much as when you do a deployment by [code] mqsideploy ... -a BARFILE [/code]
 
 When you want to delete deployed resources by [code] mqsideploy ... -d [/code] you need to refer to the actual resource (i.e. Application) by name.
 
 So if your original deployed BAR file contained an Application called "MyApplication" then [code] mqsideploy ... -d MyApplication [/code] will remove it.
 
 cheers.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | EricL | 
			  
				|  Posted: Thu Jun 05, 2025 1:19 pm    Post subject: |   |  | 
		
		  | Centurion
 
 
 Joined: 10 Oct 2014Posts: 108
 
 
 | 
			  
				| Great ! 
 Thank you so much guys for the informative notes.
 
 I'll try "mqsideploy -d <AppName>", will let you know if it works for me or not.
 
 Thanks again.
 Eric
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | EricL | 
			  
				|  Posted: Mon Jun 09, 2025 10:15 am    Post subject: |   |  | 
		
		  | Centurion
 
 
 Joined: 10 Oct 2014Posts: 108
 
 
 | 
			  
				| Hi, 
 Please note an additional note.
 
 The command:
 
 mqsideploy -d <AppName>
 
 works fine for me to delete an application, verified it in Testing/Prod environments.
 
 the full command looks like:
 
 mqsideploy <iNodeName> -e <IntegrationName> -w 4800 -d <ApplicationName>
 
 Note: The application name is shown on ace admin console
 
 Thanks
 Eric
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |